VideoEncoderSelector

Functions

Link copied to clipboard
Called with the current available bitrate.
Link copied to clipboard
abstract fun onCurrentEncoder(info: VideoCodecInfo)
Called with the VideoCodecInfo of the currently used encoder.
Link copied to clipboard
Called when the currently used encoder signal itself as broken.
Link copied to clipboard
open fun onResolutionChange(widht: Int, height: Int): VideoCodecInfo
Called every time the encoder input resolution change.