Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Shaka

Index

Constructors

constructor

Methods

addEventListener

  • addEventListener(type: string, listener: (event: Event, data: any) => void, options?: any): void
  • Parameters

    • type: string
    • listener: (event: Event, data: any) => void
        • (event: Event, data: any): void
        • Parameters

          • event: Event
          • data: any

          Returns void

    • Optional options: any

    Returns void

cancelTrickPlay

  • cancelTrickPlay(): void
  • Returns void

configure

  • configure(config: string | object): boolean
  • Parameters

    • config: string | object

    Returns boolean

destroy

  • destroy(): Promise<any>
  • Returns Promise<any>

getAudioLanguagesAndRoles

getConfiguration

  • getConfiguration(): any
  • Returns any

getNetworkingEngine

getPlaybackRate

  • getPlaybackRate(): number
  • Returns number

getTextTracks

getVariantTracks

isTextTrackVisible

  • isTextTrackVisible(): boolean
  • Returns boolean

load

  • load(manifestUri: string, optStartTime?: number, optManifestParserFactoryopt?: any): Promise<any>
  • Parameters

    • manifestUri: string
    • Optional optStartTime: number
    • Optional optManifestParserFactoryopt: any

    Returns Promise<any>

removeEventListener

  • removeEventListener(type: string, listener: (event: Event, data: any) => void, options?: any): void
  • Parameters

    • type: string
    • listener: (event: Event, data: any) => void
        • (event: Event, data: any): void
        • Parameters

          • event: Event
          • data: any

          Returns void

    • Optional options: any

    Returns void

selectAudioLanguage

  • selectAudioLanguage(language: string, optRole: string): void
  • Parameters

    • language: string
    • optRole: string

    Returns void

selectTextTrack

  • Parameters

    Returns void

selectVariantTrack

  • Parameters

    Returns void

setTextTrackVisibility

  • setTextTrackVisibility(on: boolean): void
  • Parameters

    • on: boolean

    Returns void

trickPlay

  • trickPlay(rate: number): void
  • Parameters

    • rate: number

    Returns void