VideoDecoder

interface VideoDecoder

Interface for a video decoder that can be used in WebRTC. All calls to the class will be made on a single decoding thread.

Inheritors

Types

Link copied to clipboard
interface Callback
Link copied to clipboard
open class DecodeInfo
Additional info for decoding.
Link copied to clipboard
open class Settings
Settings passed to the decoder by WebRTC.

Functions

Link copied to clipboard
open fun createNative(webrtcEnvRef: Long): Long
The decoder implementation backing this interface is either 1) a Java decoder (e.g., an Android platform decoder), or alternatively 2) a native decoder (e.g., a software decoder or a C++ decoder adapter).
Link copied to clipboard
Request the decoder to decode a frame.
Link copied to clipboard
Should return a descriptive name for the implementation.
Link copied to clipboard
Initializes the decoding process with specified settings.
Link copied to clipboard
abstract fun release(): VideoCodecStatus
Called when the decoder is no longer needed.