Interface CachingPreferredTrackSelection

The preferred track selection.

interface CachingPreferredTrackSelection {
    audioTrackSelection: string[];
    textTrackSelection?: string[];
}

Properties

audioTrackSelection: string[]

The list of language tags that indicates the preferred audio tracks to be cached.

An empty array will result to picking the first available track.

textTrackSelection?: string[]

The expiration date of the cached data.

Remarks


- Must be a date in the future.
- Data might be removed by the browser if it runs out of disk space.

Default Value

30 minutes after starting the caching task.

Generated using TypeDoc