AudioTrack Class
https://html.spec.whatwg.org/multipage/media.html#audiotrack
public sealed class AudioTrackProperties
| Name | Description |
|---|---|
| Enabled | 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. |
| Id | Gets the identifier of the track, or an empty string. |
| Kind | Gets the category of the track (e.g. main), or an empty string. |
| Label | Gets the label of the track, or an empty string. |
| Language | Gets the BCP 47 language tag of the track, or an empty string. |
| SourceBuffer | 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. |
Enabled
MediaTracks.csGets 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; }Kind
MediaTracks.csGets the category of the track (e.g. main), or an empty string.
public string Kind { get; }Label
MediaTracks.csGets the label of the track, or an empty string.
public string Label { get; }Language
MediaTracks.csGets the BCP 47 language tag of the track, or an empty string.
public string Language { get; }Property value
See also
SourceBuffer
MediaTracks.csGets 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; }