WebIDLpedia

RTCRtpScriptTransformer interface

Definition

WebRTC Encoded Transform defines RTCRtpScriptTransformer



[Exposed=DedicatedWorker]
interface RTCRtpScriptTransformer : EventTarget {
    // Attributes and methods related to the transformer source
    readonly attribute ReadableStream readable;
    Promise<unsigned long long> generateKeyFrame(optional DOMString rid);
    Promise<undefined> sendKeyFrameRequest();
    // Attributes and methods related to the transformer sink
    readonly attribute WritableStream writable;
    attribute EventHandler onkeyframerequest;
    // Attributes for configuring the Javascript code
    readonly attribute any options;
};

Methods and attributes that return objects implementing RTCRtpScriptTransformer

Referring IDL interfaces/dictionaries