IBitrateRegulator

Interface to implement a bitrate regulator.

Inheritors

Types

Link copied to clipboard
interface Factory

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 update(stats: Any, currentVideoBitrate: Int, currentAudioBitrate: Int)

Calls regularly to get new stats