calculate duration from the longest time range with PTS information
Instead of calculating the duration by accumulating spans with and without PTS info from left to right, find the largest continuous span that has PTS information and then add up EXT-INF based durations before and after those spans. To make this proces simpler, split the interval we are calculating into segment sequences with continuous timestamps. Add segment indices for discontinuities to the m3u8 parser to support splitting intervals.
Showing
47 changed files
with
429 additions
and
209 deletions
-
Please register or sign in to post a comment