BitrateManager

open class BitrateManager(bitrateChecker: BitrateChecker)

Created by pedro on 8/04/21. Improved by perotom on 7/05/24.

Calculate video and audio bitrate per second based on an exponential moving average.

Constructors

Link copied to clipboard
constructor(bitrateChecker: BitrateChecker)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun calculateBitrate(size: Long)
Link copied to clipboard
fun reset()