shaka-packager/packager/mpd
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
..
base Workaround for possible rounding errors in MSE 2018-01-20 01:18:45 +00:00
public Consolidate MpdParams into MpdOptions 2017-08-18 11:57:41 -07:00
test [DASH] Support multiple period 2018-01-11 21:44:18 +00:00
util Merge SimpleMpdNotifier and DashIopMpdNotifier 2017-12-22 15:56:14 -08:00
mpd.gyp Workaround for possible rounding errors in MSE 2018-01-20 01:18:45 +00:00