Table of Contents

Class RTCTransformEvent

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The RTCTransformEvent of the WebRTC API represent an event that is fired in a dedicated worker when an encoded frame has been queued for processing by a WebRTC Encoded Transform.

[Value("RTCTransformEvent")]
public class RTCTransformEvent : Event
Inheritance
RTCTransformEvent
Inherited Members

Remarks

The interface has a Transformer property that exposes a readable stream and a writable stream.
A worker should read encoded frames from transformer.readable, modify them as needed, and write them to transformer.writable in the same order and without any duplication.

At time of writing there is just one event based on RTCTransformEvent: DedicatedWorkerGlobalScope.Rtctransform.

See also on MDN

Constructors

RTCTransformEvent()

public RTCTransformEvent()

Properties

Transformer

The read-only transformer property of the RTCTransformEvent interface returns the RTCRtpScriptTransformer associated with the event.

[Value("transformer")]
public RTCRtpScriptTransformer Transformer { get; }

Property Value

RTCRtpScriptTransformer

A RTCRtpScriptTransformer.

Remarks

The property exposes the WebRTC sender or receiver pipeline as a readable and writable stream of encoded media frames, which a WebRTC Encoded Transform can insert itself into in order to modify frames.

-Using WebRTC Encoded Transforms

See also on MDN