shaka-packager/packager/app/test
KongQun Yang b31fc75eb6 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-20 14:26:52 -07:00
..
testdata Use max bitrate in Representation@bandwidth instead of average bitrate 2018-04-20 14:26:52 -07: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 Fix default_language not effective with 2-char code 2018-04-20 14:18:13 -07:00
test_env.py Include shared_library and mpd_generator in ci and releases 2017-12-12 23:11:01 +00:00