AudioTrack Class

https://html.spec.whatwg.org/multipage/media.html#audiotrack

public sealed class AudioTrack

Properties

NameDescription
EnabledGets or sets a value indicating whether the track is enabled (https://html.spec.whatwg.org/multipage/media.html#dom-audiotrack-enabled). A change event is fired at the list of the track when the value changes.
IdGets the identifier of the track, or an empty string.
KindGets the category of the track (e.g. main), or an empty string.
LabelGets the label of the track, or an empty string.
LanguageGets the BCP 47 language tag of the track, or an empty string.
SourceBufferGets the source buffer that created the track (https://w3c.github.io/media-source/#dom-audiotrack-sourcebuffer), or null: the track was not created by a source buffer, the source buffer was removed from its media source, or the media source was constructed in a dedicated worker.

Gets or sets a value indicating whether the track is enabled (https://html.spec.whatwg.org/multipage/media.html#dom-audiotrack-enabled). A change event is fired at the list of the track when the value changes.

public bool Enabled { get; set; }

Gets the identifier of the track, or an empty string.

public string Id { get; }

Gets the category of the track (e.g. main), or an empty string.

public string Kind { get; }

Gets the label of the track, or an empty string.

public string Label { get; }

Gets the BCP 47 language tag of the track, or an empty string.

public string Language { get; }

SourceBuffer

MediaTracks.cs

Gets the source buffer that created the track (https://w3c.github.io/media-source/#dom-audiotrack-sourcebuffer), or null: the track was not created by a source buffer, the source buffer was removed from its media source, or the media source was constructed in a dedicated worker.

public SourceBuffer? SourceBuffer { get; }