shaka-packager/packager/mpd/base
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
..
xml [DASH] Support multiple period 2018-01-11 21:44:18 +00:00
adaptation_set.cc [DASH] Support multiple period 2018-01-11 21:44:18 +00:00
adaptation_set.h [DASH] Support multiple period 2018-01-11 21:44:18 +00:00
adaptation_set_unittest.cc [DASH] Support multiple period 2018-01-11 21:44:18 +00:00
bandwidth_estimator.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
bandwidth_estimator.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
bandwidth_estimator_unittest.cc Update DEPS to fix mac build failure 2016-08-19 13:49:41 -07:00
content_protection_element.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
content_protection_element.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
media_info.proto [DASH] Support multiple period 2018-01-11 21:44:18 +00:00
mock_mpd_builder.cc [DASH] Support multiple period 2018-01-11 21:44:18 +00:00
mock_mpd_builder.h [DASH] Support multiple period 2018-01-11 21:44:18 +00:00
mock_mpd_notifier.cc Part one of supporting live profile with static mpd 2017-01-13 19:59:49 +00:00
mock_mpd_notifier.h Propage CueEvent to MpdNotifier/HlsNotifier 2018-01-04 18:25:03 +00:00
mpd_builder.cc [DASH] Support multiple period 2018-01-11 21:44:18 +00:00
mpd_builder.h [DASH] Support multiple period 2018-01-11 21:44:18 +00:00
mpd_builder_unittest.cc [DASH] Support multiple period 2018-01-11 21:44:18 +00:00
mpd_notifier.h Propage CueEvent to MpdNotifier/HlsNotifier 2018-01-04 18:25:03 +00:00
mpd_notifier_util.cc Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
mpd_notifier_util.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
mpd_options.h Consolidate MpdParams into MpdOptions 2017-08-18 11:57:41 -07:00
mpd_utils.cc Move AdaptationSet, Representation out of mpd_builder.h 2017-12-14 21:28:06 +00:00
mpd_utils.h Move AdaptationSet, Representation out of mpd_builder.h 2017-12-14 21:28:06 +00:00
period.cc [DASH] Support multiple period 2018-01-11 21:44:18 +00:00
period.h [DASH] Support multiple period 2018-01-11 21:44:18 +00:00
period_unittest.cc [DASH] Support multiple period 2018-01-11 21:44:18 +00:00
representation.cc [DASH] Support multiple period 2018-01-11 21:44:18 +00:00
representation.h [DASH] Support multiple period 2018-01-11 21:44:18 +00:00
representation_unittest.cc [DASH] Support multiple period 2018-01-11 21:44:18 +00:00
segment_info.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
simple_mpd_notifier.cc Workaround for possible rounding errors in MSE 2018-01-20 01:18:45 +00:00
simple_mpd_notifier.h [DASH] Support multiple period 2018-01-11 21:44:18 +00:00
simple_mpd_notifier_unittest.cc Workaround for possible rounding errors in MSE 2018-01-20 01:18:45 +00:00