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: 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.

Type declaration

Optional subtitles

subtitles: function

A function that generates a label for a subtitle.

param

The subtitle for which the label should be generated.

Type declaration

Optional tracks

tracks: 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.

Type declaration

Generated using TypeDoc