Package-level declarations

Types

Link copied to clipboard
class DefaultSrtBitrateRegulator(bitrateRegulatorConfig: BitrateRegulatorConfig, onVideoTargetBitrateChange: (Int) -> Unit, onAudioTargetBitrateChange: (Int) -> Unit) : SrtBitrateRegulator

Example of bitrate regulation implementation without memory.

Link copied to clipboard
abstract class SrtBitrateRegulator(bitrateRegulatorConfig: BitrateRegulatorConfig, onVideoTargetBitrateChange: (Int) -> Unit, onAudioTargetBitrateChange: (Int) -> Unit) : BitrateRegulator

Base class of bitrate regulation implementation. If you want to implement your custom bitrate regulator, it must inherit from this class. The bitrate regulator object is created by streamers with the IBitrateRegulatorFactory.