transform property
RTCRtpTransform?
get
transform
The transform
property of the RTCRtpSender object is used to
insert a transform stream (TransformStream) running in a worker thread
into the sender pipeline.
This allows stream transforms to be applied to encoded video and audio
frames after they are output by a codec, and before they are sent.
The transform that is to be added is defined using an
RTCRtpScriptTransform and its associated Worker.
If the transform is set synchronously immediately after creating the
RTCRtpSender
it will receive the first full frame generated by the
sender's encoder.
Value
A RTCRtpScriptTransform, or null
if the
sender has no associated transform stream.
Implementation
external RTCRtpTransform? get transform;
set
transform
(RTCRtpTransform? value)
Implementation
external set transform(RTCRtpTransform? value);