shaka-packager/packager/mpd
KongQun Yang b85e5c9368 Use segment duration in buffer depth calculation
Segment start,end time was used previously, which could result in
problems if there are discontinuity in the streams. E.g. if the
stream has timestamp, 10000, 10001, 10002 and then next segment
comes in with timestamp 1. With the previous logic, all the segments
would remain in the time shift buffer until after 10000 segments
even with a small time shift buffer depth of 10.

This could also happen when timestamp wraps around, which could
happen during long time of live streaming.

This change will also be useful to support multi-period live DASH.

Fixes #563.

Change-Id: Ie078d76c6e4af13ade9ad46191c8e3529069ed4d
2019-04-17 22:47:10 +00:00
..
base Use segment duration in buffer depth calculation 2019-04-17 22:47:10 +00:00
public Add support for --default_text_language 2018-11-26 13:42:58 -08:00
test Fix MPD@duration not set with MpdGenerator 2018-05-30 13:19:45 -07:00
util Generate DASH IF IOP compliant mpd with mpd_generator by default 2018-07-23 22:11:00 +00:00
mpd.gyp Use lower-case for Marlin ContentId 2018-11-20 19:04:33 +00:00