MediaStreamTrackProcessorInit Class

The options of a MediaStreamTrackProcessor (https://w3c.github.io/mediacapture-transform/#dictdef-mediastreamtrackprocessorinit).

public sealed class MediaStreamTrackProcessorInit

Constructors

NameDescription
MediaStreamTrackProcessorInit()

MediaStreamTrackProcessorInit()

  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public MediaStreamTrackProcessorInit()

No documentation is available.

Properties

NameDescription
MaxBufferSizeGets the number of frames buffered while no read is pending (1 by default): the oldest frame is discarded when a new one arrives.
TrackGets the track to read: a MediaStreamTrack or a MediaStreamTrackHandle.

Gets the number of frames buffered while no read is pending (1 by default): the oldest frame is discarded when a new one arrives.

public ushort? MaxBufferSize { get; init; }

Gets the track to read: a MediaStreamTrack or a MediaStreamTrackHandle.

public required object? Track { get; init; }