Class VideoTrackGenerator
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalVideoTrackGenerator interface of the Insertable Streams for MediaStreamTrack API has a WritableStream property that acts as a MediaStreamTrack source, by consuming a stream of VideoFrames as input.
[Value("VideoTrackGenerator")]
public class VideoTrackGenerator
- Inheritance
-
VideoTrackGenerator
- Inherited Members
Remarks
Constructors
VideoTrackGenerator()
NOTE
ExperimentalVideoTrackGenerator() constructor creates a new VideoTrackGenerator object which consumes a stream of media frames and exposes a MediaStreamTrack.
public VideoTrackGenerator()
Remarks
Properties
Muted
NOTE
Experimentalmuted Boolean property of the VideoTrackGenerator interface can be used to temporarily halt or resume the generation of video frames in the output track.
[Value("muted")]
public bool Muted { get; set; }
Property Value
- bool
A boolean.
Remarks
Track
NOTE
Experimentaltrack property of the VideoTrackGenerator interface returns a MediaStreamTrack. VideoFrames written to Writable will be generated in this track.
[Value("track")]
public MediaStreamTrack Track { get; }
Property Value
- MediaStreamTrack
A video MediaStreamTrack.
Remarks
Writable
NOTE
Experimentalwritable property of the VideoTrackGenerator interface returns a WritableStream. This allows the writing of VideoFrames to the Track.
[Value("writable")]
public WritableStream Writable { get; }