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 ofMediaStreamTrackProcessorwhich blocks on the main thread.
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
Remarks
Properties
Readable
The readable property of the MediaStreamTrackProcessor interface returns a ReadableStream of VideoFrames.
[Value("readable")]
public ReadableStream Readable { get; }