shaka-packager/packager
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
..
app Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
buildtools/third_party Update DEPS to fix mac build failure 2016-08-19 13:49:41 -07:00
file Add Source Specific Multicast (SSM) support 2018-03-06 10:09:28 -08:00
hls Implement multi DRM support. (Part 1) 2018-03-03 01:39:16 +00:00
media Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
mpd Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +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 Clean-up Connecting Handlers 2018-04-02 16:25:05 -07:00
packager.gyp Generate full segment after cue point 2018-03-27 19:14:26 +00:00
packager.h Support 'iframe_playlist_name' stream descriptor 2018-02-02 22:00:18 +00: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 Cleans up Status class 2018-01-31 03:32:07 +00:00
status.h Cleans up Status class 2018-01-31 03:32:07 +00:00
status_macros.h Generate full segment after cue point 2018-03-27 19:14:26 +00:00
status_test_util.h Implement multi DRM support. (Part 1) 2018-03-03 01:39:16 +00:00
status_unittest.cc Cleans up Status class 2018-01-31 03:32:07 +00:00