shaka-packager/packager/app/test/testdata/live-profile-and-key-rotati...
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
..
bear-640x360-audio-1.m4s Integrate CueAlignmentHandler 2018-03-26 17:58:30 +00:00
bear-640x360-audio-2.m4s Integrate CueAlignmentHandler 2018-03-26 17:58:30 +00:00
bear-640x360-audio-3.m4s Integrate CueAlignmentHandler 2018-03-26 17:58:30 +00:00
bear-640x360-audio-init.mp4 Remove Test File Index in packager_test.py 2018-03-06 21:38:04 +00:00
bear-640x360-video-1.m4s Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
bear-640x360-video-2.m4s Remove Test File Index in packager_test.py 2018-03-06 21:38:04 +00:00
bear-640x360-video-3.m4s Remove Test File Index in packager_test.py 2018-03-06 21:38:04 +00:00
bear-640x360-video-init.mp4 Remove Test File Index in packager_test.py 2018-03-06 21:38:04 +00:00
output.mpd Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00