The reader of a VideoStream. VERIFY against @livekit/rtc-node: VideoStream is a WHATWG ReadableStream that enqueues every decoded frame with no backpressure, so the reader must keep draining; cancel() releases the native stream.
VideoStream
ReadableStream
cancel()
Cancels the stream: a pending read() resolves done, and the native stream is released.
read()
done
Optional
Resolves with the next frame, or done once the stream ended or was cancelled.
The reader of a
VideoStream. VERIFY against @livekit/rtc-node:VideoStreamis a WHATWGReadableStreamthat enqueues every decoded frame with no backpressure, so the reader must keep draining;cancel()releases the native stream.