Interface MKAudioTrack

Definition of an audio track.

interface MKAudioTrack {
    id: string;
    label: string;
    lang: string;
    role?: MKMediaTrackRole[];
    getQualities(): MKAudioQuality[];
}

Hierarchy (View Summary)

Properties

Methods

Properties

id: string

The id of the media track that is used to identify and set the track.

label: string

The text used to represent this track to the user (e.g. in the UI).

lang: string

The language of the audio track.

The optional roles of the track.

Methods