shaka-packager/packager
KongQun Yang b74e511f29 Workaround for possible rounding errors in MSE
There could be rounding errors in MSE which could cut the first key
frame of the representation and thus cut all the frames until the next
key frame, which then leads to a big gap in presentation
timeline which stalls playback.

Adjusting presentationTimeOffset (PTO) by -1, i.e. backing off PTO by 1
to compensate for the possible rounding error. It should not cause any
playback issues as it is small enough. The workaround can be removed
once the problem is handled in all players.

The PTO adjustment is configurable with command line flag:
 --pto_adjustment, with value set to -1 by default.

b/71808910

Change-Id: I9c4d1e2ee84008b859a3638a8146c910cead1f15
2018-01-20 01:18:45 +00:00
..
app Move common manifest flags out of mpd_flags.cc 2018-01-19 21:02:54 +00:00
buildtools/third_party Update DEPS to fix mac build failure 2016-08-19 13:49:41 -07:00
file Change CharReader to FileReader 2018-01-04 14:36:52 -08:00
hls [HLS] Support AUTOSELECT and DEFAULT in EXT-X-MEDIA 2018-01-19 02:10:07 +00:00
media Use start_time from CueEvent in NotifyCueEvent 2018-01-20 01:18:38 +00:00
mpd Workaround for possible rounding errors in MSE 2018-01-20 01:18:45 +00:00
testing Add docker files for testing on various linux distros 2017-12-12 22:51:05 +00:00
third_party Fix build failures in MacOS 10.12.6 with XCode 9.0 2018-01-05 12:21:41 -08:00
tools [pssh-box] Support generating Widevine PSSH without content-id 2017-10-18 21:38:23 +00:00
version Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00
common.gypi Fix build failures in MacOS 10.12.6 with XCode 9.0 2018-01-05 12:21:41 -08:00
packager.cc [HLS] Support AUTOSELECT and DEFAULT in EXT-X-MEDIA 2018-01-19 02:10:07 +00:00
packager.gyp Move common manifest flags out of mpd_flags.cc 2018-01-19 21:02:54 +00:00
packager.h Parse ad_cues flag. 2017-11-20 16:39:16 -05:00
packager_test.cc Add support for callback file 2017-09-07 19:26:26 +00:00
protoc.gypi Support generation of libpackager.so (shared_library) 2017-06-13 20:42:32 +00:00
status.cc Move status.h under packager/ 2017-06-30 11:35:18 -07:00
status.h Move status.h under packager/ 2017-06-30 11:35:18 -07:00
status_test_util.h Move status.h under packager/ 2017-06-30 11:35:18 -07:00
status_unittest.cc Move status.h under packager/ 2017-06-30 11:35:18 -07:00