shaka-packager/packager/app/test
KongQun Yang f8a1cb66ad Calculate presentationTimeOffset and Period@duration from segments
Prefer timestamps from Video AdaptationSets if available - this avoids
possible video playback jitters due to gaps.

presentationTimeOffset is not applied to the first period as it may in
negative dts which Chrome does not like: https://crbug.com/398141.

It is safe to apply to subsequent periods as the actual offset applied
takes Period@start into consideration:

    offset = Period@start - presentationTimeOffset

The result timestamp with offset applied is close to Period@start, so
it is unlikely to result in a negative dts value.

Closes b/73899306.

Change-Id: If8361f5469610093b3aac6675754536ad7e83c4c
2018-03-01 22:25:55 -08:00
..
testdata Calculate presentationTimeOffset and Period@duration from segments 2018-03-01 22:25:55 -08:00
packager_app.py Include shared_library and mpd_generator in ci and releases 2017-12-12 23:11:01 +00:00
packager_test.py Make StreamDescriptor Object 2018-02-07 19:22:05 +00:00
test_env.py Include shared_library and mpd_generator in ci and releases 2017-12-12 23:11:01 +00:00