Back to Content

VideoTrackGenerator: writable property

files/en-us/web/api/videotrackgenerator/writable/index.md

latest609 B
Original Source

{{APIRef("Insertable Streams for MediaStreamTrack API")}}{{SeeCompatTable}}

The writable property of the {{domxref("VideoTrackGenerator")}} interface returns a {{domxref("WritableStream")}}. This allows the writing of {{domxref("VideoFrame")}}s to the {{domxref("VideoTrackGenerator.track")}}.

Value

A {{domxref("WritableStream")}} of {{domxref("VideoFrame")}}s.

Examples

See the Insertable Streams for MediaStreamTrack API for an example.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}