shaka-packager/packager/mpd/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
..
xml [Cleanup] Use int64_t for time for consistency 2018-06-29 22:53:06 +00:00
adaptation_set.cc [Cleanup] Use int64_t for time for consistency 2018-06-29 22:53:06 +00:00
adaptation_set.h Fix default_language not effective with 2-char code 2018-04-13 20:08:12 +00:00
adaptation_set_unittest.cc Add new URL fields in MediaInfo 2018-04-23 22:49:47 +00:00
bandwidth_estimator.cc Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
bandwidth_estimator.h Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
bandwidth_estimator_unittest.cc Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
content_protection_element.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
content_protection_element.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
media_info.proto Integrate PackedAudioWriter 2018-05-16 18:12:42 -07:00
mock_mpd_builder.cc Moves AdaptationSet@id management out of Period class 2018-03-22 12:15:43 -07:00
mock_mpd_builder.h [Cleanup] Use int64_t for time for consistency 2018-06-29 22:53:06 +00:00
mock_mpd_notifier.cc Part one of supporting live profile with static mpd 2017-01-13 19:59:49 +00:00
mock_mpd_notifier.h Update MuxerListeners to support multiple OnMediaStart/End 2018-05-25 20:43:34 +00:00
mpd_builder.cc Add new URL fields in MediaInfo 2018-04-23 22:49:47 +00:00
mpd_builder.h Support UTCTiming 2018-04-04 01:37:01 +00:00
mpd_builder_unittest.cc Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
mpd_notifier.h Update MuxerListeners to support multiple OnMediaStart/End 2018-05-25 20:43:34 +00:00
mpd_notifier_util.cc Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
mpd_notifier_util.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
mpd_options.h Support approximate SegmentTimeline 2018-04-30 17:15:47 -07:00
mpd_utils.cc Use new vp09 codec string for WebM by default 2018-06-12 23:31:28 +00:00
mpd_utils.h Fix default_language not effective with 2-char code 2018-04-13 20:08:12 +00:00
period.cc Fix MPD@duration not set with MpdGenerator 2018-05-30 13:19:45 -07:00
period.h Moves AdaptationSet@id management out of Period class 2018-03-22 12:15:43 -07:00
period_unittest.cc Moves AdaptationSet@id management out of Period class 2018-03-22 12:15:43 -07:00
representation.cc Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
representation.h [Cleanup] Use int64_t for time for consistency 2018-06-29 22:53:06 +00:00
representation_unittest.cc Do not use harmonic mean in bandwidth calculation 2018-07-12 10:46:47 -07:00
segment_info.h [Cleanup] Use int64_t for time for consistency 2018-06-29 22:53:06 +00:00
simple_mpd_notifier.cc Update MuxerListeners to support multiple OnMediaStart/End 2018-05-25 20:43:34 +00:00
simple_mpd_notifier.h Update MuxerListeners to support multiple OnMediaStart/End 2018-05-25 20:43:34 +00:00
simple_mpd_notifier_unittest.cc Moves AdaptationSet@id management out of Period class 2018-03-22 12:15:43 -07:00