set_average_bitrate


Description:

public void set_average_bitrate (uint bitrate)

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 set_syncable).

Parameters:

this

Parse.

bitrate

average bitrate in bits/second