Quality definition of a media representation.

interface Quality {
    bitrate: number;
    codec?: string;
    id: string;
    label?: string;
    uid?: string;
}

Hierarchy (view full)

Properties

bitrate: number

The bitrate of the media representation.

codec?: string

The codec of the media representation.

id: string

The id of the media representation.

label?: string

The label of the media representation that should be exposed to the user (e.g. in the UI). Only set when requesting qualities through getAvailableAudioQualities and getAvailableVideoQualities.

uid?: string

The unique id of the current segment. Only set when requesting the video quality through getPlaybackVideoData.