Factory

Factory interface you must use to create a SrtBitrateRegulator object. If you want to create a custom SRT bitrate regulation implementation, create a factory that implements this interface.

Inheritors

Functions

Link copied to clipboard
abstract override fun newBitrateRegulator(bitrateRegulatorConfig: BitrateRegulatorConfig, onVideoTargetBitrateChange: (Int) -> Unit, onAudioTargetBitrateChange: (Int) -> Unit): SrtBitrateRegulator

Creates a SrtBitrateRegulator object from given parameters