RateControl Class

Class representing the video's rate control.

Inheritance
RateControl

Constructor

RateControl(*, bit_rate_limit: Optional[float] = None, encoding_interval: Optional[float] = None, frame_rate_limit: Optional[float] = None, guaranteed_frame_rate: Optional[bool] = None, **kwargs)

Variables

bit_rate_limit
float

the maximum output bitrate in kbps.

encoding_interval
float

Interval at which images are encoded and transmitted.

frame_rate_limit
float

Maximum output framerate in fps.

guaranteed_frame_rate
bool

A value of true indicates that frame rate is a fixed value rather than an upper limit, and that the video encoder shall prioritize frame rate over all other adaptable configuration values such as bitrate.