Table of Contents

Class MediaStreamTrackProcessor

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll
WARNING
Browsers differ on which global context they expose this interface in (e.g., only window in some browsers and only dedicated worker in others), making them incompatible. Keep this in mind when comparing support.
[Value("MediaStreamTrackProcessor")]
public class MediaStreamTrackProcessor
Inheritance
MediaStreamTrackProcessor
Inherited Members

Remarks

The MediaStreamTrackProcessor interface of the Insertable Streams for MediaStreamTrack API consumes a video MediaStreamTrack object's source and generates a stream of VideoFrame objects.

-VideoTrackGenerator
-Insertable streams for MediaStreamTrack on developer.chrome.com

[!NOTE]
This article was written before the API was restricted to workers and video. Beware its use of the non-standard version of MediaStreamTrackProcessor which blocks on the main thread.

See also on MDN

Constructors

MediaStreamTrackProcessor()

public MediaStreamTrackProcessor()

MediaStreamTrackProcessor(MediaStreamTrackProcessorInit)

The MediaStreamTrackProcessor() constructor creates a new MediaStreamTrackProcessor object which consumes a video MediaStreamTrack object's source and generates a stream of VideoFrames.

public MediaStreamTrackProcessor(MediaStreamTrackProcessorInit init)

Parameters

init MediaStreamTrackProcessorInit

Remarks

Properties

Readable

The readable property of the MediaStreamTrackProcessor interface returns a ReadableStream of VideoFrames.

[Value("readable")]
public ReadableStream Readable { get; }

Property Value

ReadableStream

A ReadableStream.

Remarks