Commit be95968f by ojw28

Merge pull request #957 from Bastian35022/dev

 Check for valid periods in DASH MPD after parsing.
parents a0b52bc1 1f309f7e
......@@ -159,6 +159,11 @@ public class MediaPresentationDescriptionParser extends DefaultHandler
}
}
if (periods.isEmpty()) {
throw new ParserException(
"no valid periods present in media presentation description");
}
return buildMediaPresentationDescription(availabilityStartTime, durationMs, minBufferTimeMs,
dynamic, minUpdateTimeMs, timeShiftBufferDepthMs, utcTiming, location, periods);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment