Options
All
  • Public
  • Public/Protected
  • All
Menu

An extra layer of settings specific for the HlsPlayer

Hierarchy

  • AbrPlayerSettings
    • HlsPlayerSettings

Index

Properties

Optional billing

billing: string

defaultBandwidthEstimate

defaultBandwidthEstimate: number

Optional hlsConfig

hlsConfig: Partial<HlsConfig>

Optional seekStrategy

seekStrategy: SeekStrategyType

Controls how seeks are executed.

Optional updateSrc

updateSrc: (videoFile: VideoFile) => Promise<string>

Sets a callback function that resolves a new video url when the player encounters an error. The url provided by the callback replaces the current loaded video file url and is reloaded in the player. The main use-case for this is for updating pre-signed urls.

param

the current video file that failed

Type declaration

    • (videoFile: VideoFile): Promise<string>
    • Parameters

      • videoFile: VideoFile

      Returns Promise<string>

Optional verbose

verbose: boolean