Factory

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

Functions

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

Creates a RtmpBitrateRegulator object from given parameters