WebIDLpedia

RTCEncodedVideoFrame interface

Definition

WebRTC Encoded Transform defines RTCEncodedVideoFrame



// New interfaces to define encoded video and audio frames. Will eventually
// re-use or extend the equivalent defined in WebCodecs.
[Exposed=(Window,DedicatedWorker), Serializable]
interface RTCEncodedVideoFrame {
    constructor(RTCEncodedVideoFrame originalFrame, optional RTCEncodedVideoFrameOptions options = {});
    readonly attribute RTCEncodedVideoFrameType type;
    attribute ArrayBuffer data;
    RTCEncodedVideoFrameMetadata getMetadata();
};

Methods and attributes that return objects implementing RTCEncodedVideoFrame

Referring IDL interfaces/dictionaries