WebIDLpedia

RTCEncodedVideoFrame interface

Definition

WebRTC Encoded Transform defines RTCEncodedVideoFrame



// New interfaces to define RTC specific encoded video and audio frames used by RTCRtpScriptTransform.
[Exposed=(Window,DedicatedWorker), Serializable]
interface RTCEncodedVideoFrame {
    constructor(RTCEncodedVideoFrame originalFrame, optional RTCEncodedVideoFrameOptions options = {});
    readonly attribute EncodedVideoChunkType type;
    attribute ArrayBuffer data;
    RTCEncodedVideoFrameMetadata getMetadata();
};

Methods and attributes that return objects implementing RTCEncodedVideoFrame

Referring IDL interfaces/dictionaries