writable property
WritableStream
get
writable
The writable
read-only property of the RTCRtpScriptTransformer
interface returns a WritableStream instance that can be used as a sink
for encoded media frames enqueued on the corresponding
RTCRtpScriptTransformer.readable.
When the corresponding RTCRtpScriptTransform is inserted into the WebRTC
sender and receiver pipelines, encoded media frames
(RTCEncodedVideoFrame or RTCEncodedAudioFrame) may be enqueued on the
RTCRtpScriptTransformer.readable.
A WebRTC encoded transform can read the frames from readable
, modify
them as needed, and then send them back into the WebRTC pipeline by
sending them to this writable
.
A common way to perform this operation is to pipe the frames through a
TransformStream.
Implementation
external WritableStream get writable;