Skip to content

Class: WebVttTransformStream ​

Defined in: libs/webvtt/src/WebVttTransformStream.ts:25

WebVTT transform stream.

Extends ​

Constructors ​

Constructor ​

ts
new WebVttTransformStream(writableStrategy?, readableStrategy?): WebVttTransformStream;

Defined in: libs/webvtt/src/WebVttTransformStream.ts:26

Parameters ​

writableStrategy? ​

QueuingStrategy<string>

readableStrategy? ​

QueuingStrategy<WebVttResult>

Returns ​

WebVttTransformStream

Overrides ​

TransformStreamBase<string, WebVttResult>.constructor

Properties ​

readable ​

ts
readonly readable: ReadableStream<WebVttResult>;

Defined in: node_modules/typescript/lib/lib.dom.d.ts:37109

The readable read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.

MDN Reference

Inherited from ​

TransformStreamBase.readable


writable ​

ts
readonly writable: WritableStream<string>;

Defined in: node_modules/typescript/lib/lib.dom.d.ts:37115

The writable read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream. This stream accepts input data that will be transformed and emitted to the readable stream.

MDN Reference

Inherited from ​

TransformStreamBase.writable

A Streaming Video Technology Alliance project.