WrappedNativeVideoEncoder
Wraps a native webrtc::VideoEncoder.
Inheritors
Functions
Link copied to clipboard
The encoder implementation backing this interface is either 1) a Java encoder (e.g., an Android platform encoder), or alternatively 2) a native encoder (e.g., a software encoder or a C++ encoder adapter).
Link copied to clipboard
Requests the encoder to encode a frame.
Link copied to clipboard
Should return a descriptive name for the implementation.
Link copied to clipboard
Any encoder that wants to use WebRTC provided quality scaler must implement this method.
Link copied to clipboard
fun initEncode(settings: VideoEncoder.Settings, encodeCallback: VideoEncoder.Callback): VideoCodecStatus
Initializes the encoding process.
Link copied to clipboard
Returns true if the encoder is backed by hardware.
Link copied to clipboard
Releases the encoder.
Link copied to clipboard
Sets the bitrate allocation and the target framerate for the encoder.