React Native THEOplayer SDK
    Preparing search index...

    Interface MediaTrack

    Represents a media track (audio or video) of a media resource.

    interface MediaTrack {
        activeQuality: Quality | undefined;
        enabled: boolean;
        id: string;
        kind: string;
        label: string;
        language: string;
        qualities: Quality[];
        uid: number;
        unlocalizedLabel?: string;
    }

    Hierarchy (View Summary)

    Index
    activeQuality: Quality | undefined

    The active quality of the media track, i.e. the quality that is currently being played.

    enabled: boolean

    Marks the track to be the selected track for playout

    id: string

    The identifier of the media track.


    - This identifier can be used to distinguish between related tracks, e.g. tracks in the same list.

    kind: string

    The kind of the media track, as reported by the underlying player.

    See MediaTrackKind for typical values. Other string values are possible.

    label: string

    The label of the media track.

    language: string

    The language of the media track.

    qualities: Quality[]

    The qualities of the media track.

    uid: number

    A unique identifier of the media track.


    - This identifier is unique across tracks of a THEOplayer instance and can be used to distinguish between tracks.
    - This identifier is a randomly generated number.

    unlocalizedLabel?: string

    The unlocalized label of the media track, as extracted from the manifest.

    iOS