Represents an audio track for a video.

interface AudioTrack {
    identifier?: string;
    isDefault?: boolean;
    label?: string;
    language?: string;
    url?: string;
}

Properties

identifier?: string

The unique identifier for this track. If no value is provided, a random UUIDv4 will be generated for it.

isDefault?: boolean

If set to true, this track would be considered as default. Default is false.

label?: string

The label for this track.

language?: string

The IETF BCP 47 language tag associated with this track, e.g. pt, en, es etc.

url?: string

The URL to the timed file, e.g. WebVTT file.