IBitrateRegulatorFactory
interface IBitrateRegulatorFactory
Factory interface you must use to create a BitrateRegulator object. If you want to create a custom bitrate regulation implementation, create a factory that implements this interface.
Functions
Link copied to clipboard
abstract fun newBitrateRegulator(bitrateRegulatorConfig: BitrateRegulatorConfig, onVideoTargetBitrateChange: (Int) -> Unit, onAudioTargetBitrateChange: (Int) -> Unit): BitrateRegulator
Creates a BitrateRegulator object from given parameters