shaka-packager/packager
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
..
app Use max bitrate in Representation@bandwidth instead of average bitrate 2018-04-20 14:26:52 -07:00
buildtools/third_party Update DEPS to fix mac build failure 2016-08-19 13:49:41 -07:00
file Change CharReader to FileReader 2018-01-04 14:36:52 -08:00
hls Fix default_language not effective with 2-char code 2018-04-20 14:18:13 -07:00
media Set Widevine key request content-type to JSON 2018-04-20 14:21:04 -07:00
mpd Use max bitrate in Representation@bandwidth instead of average bitrate 2018-04-20 14:26:52 -07: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 Collect and generate license notice 2018-04-20 13:58:49 -07: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 Fix default_language not effective with 2-char code 2018-04-20 14:18:13 -07:00
packager.gyp Collect and generate license notice 2018-04-20 13:58:49 -07: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 16:54:48 -07:00
status_test_util.h Move status.h under packager/ 2017-06-30 11:35:18 -07:00
status_unittest.cc Cleans up Status class 2018-01-31 03:32:07 +00:00