shaka-packager/packager/hls
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
hls.gyp Not generating Legacy Widevine HLS signaling by default 2018-08-14 23:00:04 +00:00