Interface MKVideoTrack

Definition of a video track.

interface MKVideoTrack {
    id: string;
    label: string;
    role?: MKMediaTrackRole[];
    getQualities(): MKVideoQuality[];
}

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).

The optional roles of the track.

Methods