Definition of a video track.

interface VideoTrack {
    id: string;
    label: string;
    role?: MediaTrackRole[];
    getQualities(): VideoQuality[];
}

Hierarchy (view full)

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