shaka-packager/packager/media/event
KongQun Yang b2932d5a33 Fix bitrate for DASH on-demand profile too
Removed the logic in MuxerListener to estimate bandwidth from file
size and duration, since it is not compliant to the spec.

MpdBuilder will estimate bandwidth from segment size and duration
if bandwidth is not specified in MediaInfo.

Here is the statement from 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.

Fixes #376.

Change-Id: I0fddce39e709d0cded0a4c9ae59adbbcc97ec5ea
2018-04-24 23:25:02 +00:00
..
combined_muxer_listener.cc Support key frame events in MuxerListener and HlsNotifier 2018-02-02 00:00:53 +00:00
combined_muxer_listener.h Support key frame events in MuxerListener and HlsNotifier 2018-02-02 00:00:53 +00:00
event_info.h Support KeyFrame events in TS and MP4 2018-02-02 14:05:50 -08:00
hls_notify_muxer_listener.cc Support KeyFrame events in TS and MP4 2018-02-02 14:05:50 -08:00
hls_notify_muxer_listener.h Support key frame events in MuxerListener and HlsNotifier 2018-02-02 00:00:53 +00:00
hls_notify_muxer_listener_unittest.cc Make MediaPlaylist accept HlsParams as contructor param 2018-04-23 18:29:38 -07:00
media_event.gyp Use start_time from CueEvent in NotifyCueEvent 2018-01-20 01:18:38 +00:00
mock_muxer_listener.cc Remove size parameter in OnMediaEnd 2017-07-21 20:42:44 +00:00
mock_muxer_listener.h Support key frame events in MuxerListener and HlsNotifier 2018-02-02 00:00:53 +00:00
mpd_notify_muxer_listener.cc Support key frame events in MuxerListener and HlsNotifier 2018-02-02 00:00:53 +00:00
mpd_notify_muxer_listener.h Support key frame events in MuxerListener and HlsNotifier 2018-02-02 00:00:53 +00:00
mpd_notify_muxer_listener_unittest.cc Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
muxer_listener.h Support key frame events in MuxerListener and HlsNotifier 2018-02-02 00:00:53 +00:00
muxer_listener_factory.cc Support 'iframe_playlist_name' stream descriptor 2018-02-02 22:00:18 +00:00
muxer_listener_factory.h Support 'iframe_playlist_name' stream descriptor 2018-02-02 22:00:18 +00:00
muxer_listener_internal.cc Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
muxer_listener_internal.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
muxer_listener_test_helper.cc Consolidate Mp4OutputParams into MuxerOptions 2017-08-18 11:57:34 -07:00
muxer_listener_test_helper.h Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
progress_listener.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
vod_media_info_dump_muxer_listener.cc Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
vod_media_info_dump_muxer_listener.h Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
vod_media_info_dump_muxer_listener_unittest.cc Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00