shaka-packager/packager
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
..
app Make packager_test.py work with python 3.5 2019-02-13 19:07:56 +00:00
buildtools/third_party Update DEPS to fix mac build failure 2016-08-19 13:49:41 -07:00
file Set output directory permission appropriately 2018-12-11 23:17:15 +00:00
hls Use segment duration in buffer depth calculation 2019-04-17 22:47:10 +00:00
media Add a flag --video_feature for Widevine 2019-04-16 07:55:08 -07:00
mpd Use segment duration in buffer depth calculation 2019-04-17 22:47:10 +00:00
testing Disable bundled_binutils and bundled_gold on Linux 2018-08-24 21:14:19 +00:00
third_party Update pssh-box.py to remove external dependencies 2019-01-31 00:49:12 +00:00
tools Update pssh-box.py to remove external dependencies 2019-01-31 00:49:12 +00:00
version Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00
common.gypi Add instructions to build on Alpine Linux 2018-08-17 20:46:11 +00:00
packager.cc Return an error when seeing duplicated outputs 2018-11-27 22:38:48 +00:00
packager.gyp Update pssh-box.py to remove external dependencies 2019-01-31 00:49:12 +00:00
packager.h Support HLS characteristics 2018-11-26 20:02:43 +00:00
packager_test.cc Return an error when seeing duplicated outputs 2018-11-27 22:38:48 +00:00
protoc.gypi Support generation of libpackager.so (shared_library) 2017-06-13 20:42:32 +00:00
status.cc Fix error code message for trick play error 2018-12-13 00:26:55 +00:00
status.h Cleans up Status class 2018-01-31 03:32:07 +00:00
status_macros.h Generate full segment after cue point 2018-03-27 19:14:26 +00:00
status_test_util.h Implement multi DRM support. (Part 1) 2018-03-03 01:39:16 +00:00
status_unittest.cc Cleans up Status class 2018-01-31 03:32:07 +00:00