shaka-packager/packager/mpd
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
..
base Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
public Enable segment auto removal for live packaging 2018-05-02 00:18:42 +00:00
test Fix MPD@duration not set with MpdGenerator 2018-05-30 13:19:45 -07:00
util Add new URL fields in MediaInfo 2018-04-23 22:49:47 +00:00
mpd.gyp Changed to use BandwidthEstimator in MediaPlaylist 2018-06-22 11:12:23 -07:00