shaka-packager/packager/mpd
KongQun Yang 772aa7c93f Do not force earliest_presentation_time to 0 for VOD
Instead, the actual earliest presentation time is used except for
the first segment if there is an offset between presentation time
(pts) and decoding time (dts).

Chrome (as of v66) reports dts instead of pts in buffered ranges in
MSE API. To avoid breaking Chrome, the earliest_presentation_time
of the first segment is set to its dts as Chrome does not like negative
values for
  adjusted dts = dts + Period@start (0 for the first period)
                 - presentationTimeOffset (earliest_presentation_time).

Fixes #303.

Change-Id: I5ca80e05d5570961400499436f2bcc01f06e69e0
2018-04-09 18:39:15 +00:00
..
base Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
public Support UTCTiming 2018-04-04 01:37:01 +00:00
test Moves AdaptationSet@id management out of Period class 2018-03-22 12:15:43 -07: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