BaseParse.setAverageBitrate

Optionally sets the average bitrate detected in media (if non-zero), e.g. based on metadata, as it will be posted to the application.

By default, announced average bitrate is estimated. The average bitrate is used to estimate the total duration of the stream and to estimate a seek position, if there's no index and the format is syncable (see gst_base_parse_set_syncable()).

class BaseParse
void
setAverageBitrate
(
uint bitrate
)

Parameters

bitrate uint

average bitrate in bits/second

Meta