Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SourceLabelingConfig

An object with callback functions to provide labels for audio tracks, qualities and subtitle tracks.

Hierarchy

  • SourceLabelingConfig

Index

Properties

Optional qualities

qualities: undefined | function

A function that generates a label for a quality, usually a video quality.

param

Object with metadata about the quality for which the label should be generated.

Optional subtitles

subtitles: undefined | function

A function that generates a label for a subtitle.

param

The subtitle for which the label should be generated.

Optional tracks

tracks: undefined | function

A function that generates a label for a track, usually an audio track.

param

Object with metadata about the track for which the label should be generated. The id field is populated when used for HLS, the mimeType when used for DASH.

Generated using TypeDoc