VideoEncoderWrapper

class VideoEncoderWrapper : VideoEncoder

Decorator around a VideoEncoder that intercepts all errors and forwards them through a single callback with the running error count.

Functions

Link copied to clipboard
fun createNative(webrtcEnvRef: Long): Long
Link copied to clipboard
fun encode(frame: VideoFrame, encodeInfo: VideoEncoder.EncodeInfo): VideoCodecStatus
Link copied to clipboard
fun getEncoderInfo(): VideoEncoder.EncoderInfo
Link copied to clipboard
Link copied to clipboard
fun getResolutionBitrateLimits(): Array<VideoEncoder.ResolutionBitrateLimits>
Link copied to clipboard
fun getScalingSettings(): VideoEncoder.ScalingSettings
Link copied to clipboard
fun initEncode(settings: VideoEncoder.Settings, callback: VideoEncoder.Callback): VideoCodecStatus
Link copied to clipboard
Link copied to clipboard
fun release(): VideoCodecStatus
Link copied to clipboard
fun setRateAllocation(allocation: VideoEncoder.BitrateAllocation, framerate: Int): VideoCodecStatus
Link copied to clipboard
fun setRates(rcParameters: VideoEncoder.RateControlParameters): VideoCodecStatus