shaka-packager/packager/hls/base
KongQun Yang 5dd21179ec Do not use harmonic mean in bandwidth calculation
Instead, caclulating average bandwidth by dividing the sum of the
sizes of every segment by the sum of the durations of every segment.
This aligns with the requirement in HLS spec:
https://tools.ietf.org/html/draft-pantos-http-live-streaming-23 4.1.

BandwidthEstimator is also simplified to handle all blocks only.

Fixes #361

Change-Id: I89e7d415a841f4d4048f199de8dae7ffa250467b
2018-07-12 10:46:47 -07:00
..
hls_notifier.h Make MediaPlaylist accept HlsParams as contructor param 2018-04-23 18:29:38 -07:00
master_playlist.cc [HLS] Support AVERAGE-BANDWIDTH 2018-07-12 10:43:49 -07:00
master_playlist.h Refactor MasterPlaylist::WriteMasterPlaylist 2018-02-02 14:13:12 -08:00
master_playlist_unittest.cc [HLS] Support AVERAGE-BANDWIDTH 2018-07-12 10:43:49 -07:00
media_playlist.cc Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
media_playlist.h [HLS] Support AVERAGE-BANDWIDTH 2018-07-12 10:43:49 -07:00
media_playlist_unittest.cc Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
mock_media_playlist.cc Make MediaPlaylist accept HlsParams as contructor param 2018-04-23 18:29:38 -07:00
mock_media_playlist.h [HLS] Support AVERAGE-BANDWIDTH 2018-07-12 10:43:49 -07:00
simple_hls_notifier.cc Remove the usage of JsonWriter in SimpleHlsNotifier 2018-05-15 20:06:54 +00:00
simple_hls_notifier.h Make MediaPlaylist accept HlsParams as contructor param 2018-04-23 18:29:38 -07:00
simple_hls_notifier_unittest.cc Remove the usage of JsonWriter in SimpleHlsNotifier 2018-05-15 20:06:54 +00:00
tag.cc Use Tag in Media Playlist 2018-02-01 22:59:45 +00:00
tag.h Use Tag in Media Playlist 2018-02-01 22:59:45 +00:00