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