shaka-packager/packager/app/test/testdata/live-profile-and-key-rotati...
KongQun Yang 43be3c8e8b Use max bitrate in Representation@bandwidth instead of average bitrate
According to DASH spec (23009-1:2014):

Consider a hypothetical constant bitrate channel of
bandwidth with the value of this attribute in bits per second
(bps). Then, if the Representation is continuously delivered
at this bitrate, starting at any SAP that is indicated either by
@startwithsap or by any Segment Index box, a client can
be assured of having enough data for continuous playout
providing playout begins after @minbuffertime *
@bandwidth bits have been received (i.e. at time
@minbuffertime after the first bit is received).
For dependent Representations this value specifies the
bandwidth according to the above definition for the
aggregation of this Representation and all complementary
Representations.

This suggests that max bitrate should be used instead of average
bitrate.

Also cleaned up BandwidthEstimator code.

Fixes #376.

Change-Id: Ibf5896394c5c6bb820849771a2129c59202d2273
2018-04-17 22:39:58 +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 Use max bitrate in Representation@bandwidth instead of average bitrate 2018-04-17 22:39:58 +00:00