Interface Quality

An interface describing a media rendition, which is a selection from video/audio tracks of the loaded media.

interface Quality {
    bitrate: number;
    codecs: string;
    height: number;
    name: string;
    width: number;
}

Properties

bitrate: number

The bitrate of the media in bits per second.

codecs: string

The codec string, both audio and video tracks. For example, "avc1.64002A,mp4a.40.2".

height: number

The video height, or zero if unknown or not applicable.

name: string

The name of the quality object.

width: number

The video width, or zero if unknown or not applicable.