Constructor

HlsMediaInfo

new HlsMediaInfo(options)

Parameter

options

Optional

{isDefault: (boolean or undefined), url: (nullable string or undefined), characteristics: (nullable string or undefined), groupId: (nullable string or undefined), autoSelect: (boolean or undefined), channels: (nullable string or undefined), forced: (boolean or undefined), assocLanguage: (nullable string or undefined)}

isDefault: Indication of a default rendition. url: URL indicating the media playlist file. characteristics: Uniform Type Identifiers (UTI). Each UTI indicates an individual characteristic of the rendition. groupId: Group ID the rendition belongs to. autoSelect: Indication of whether rendition can be played without explicit user preference. channels: Maximum number of independent simultaneous audio channels present in any segment in the rendition. forced: Indication of a rendition containing content considered essential to play. assocLanguage: Associated language of a rendition.

Properties

assocLanguage

nullable string

Associated language of a rendition.

autoSelect

boolean

Indication of whether rendition can be played without explicit user preference.

channels

nullable string

Maximum number of independent simultaneous audio channels present in any segment in the rendition.

characteristics

nullable string

Uniform Type Identifiers (UTI). Each UTI indicates an individual characteristic of the rendition.

forced

boolean

Indication of a rendition containing content considered essential to play.

groupId

nullable string

Group ID the rendition belongs to.

isDefault

boolean

Indication of a default rendition.

url

nullable string

URL indicating the media playlist file.