import AudioTrackController from 'hls.js/src/controller/audio-track-controller.ts'
AudioTrackController
Extends:
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public get |
|
|
public set |
|
|
public get |
audioTracks: * |
|
public |
groupId: * |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
tracks: * |
|
public |
|
Method Summary
Public Methods | ||
public |
destroy() |
|
public |
findTrackId(name: string): number |
|
public |
loadPlaylist(hlsUrlParameters: HlsUrlParameters) |
|
public |
onAudioTrackLoaded(event: undefined, data: AudioTrackLoadedData) |
|
public |
|
|
public |
onLevelLoading(event: undefined, data: LevelLoadingData) |
|
public |
onLevelSwitching(event: undefined, data: LevelSwitchingData) |
|
public |
|
|
public |
onManifestParsed(event: undefined, data: ManifestParsedData) |
|
public |
|
|
public |
|
|
public |
setAudioTrack(newId: number) |
|
public |
switchLevel(levelIndex: number) |
|
public |
|
Public Constructors
public constructor() source
Public Members
public get audioTracks: * source
public groupId: * source
public tracks: * source
public tracksInGroup: * source
Public Methods
public destroy() source
public loadPlaylist(hlsUrlParameters: HlsUrlParameters) source
Params:
Name | Type | Attribute | Description |
hlsUrlParameters | HlsUrlParameters |
public onAudioTrackLoaded(event: undefined, data: AudioTrackLoadedData) source
Params:
Name | Type | Attribute | Description |
event | undefined | ||
data | AudioTrackLoadedData |
public onError(event: undefined, data: ErrorData) source
Params:
Name | Type | Attribute | Description |
event | undefined | ||
data | ErrorData |
public onLevelLoading(event: undefined, data: LevelLoadingData) source
Params:
Name | Type | Attribute | Description |
event | undefined | ||
data | LevelLoadingData |
public onLevelSwitching(event: undefined, data: LevelSwitchingData) source
Params:
Name | Type | Attribute | Description |
event | undefined | ||
data | LevelSwitchingData |
public onManifestLoading() source
public onManifestParsed(event: undefined, data: ManifestParsedData) source
Params:
Name | Type | Attribute | Description |
event | undefined | ||
data | ManifestParsedData |
public registerListeners() source
public selectInitialTrack() source
public switchLevel(levelIndex: number) source
Params:
Name | Type | Attribute | Description |
levelIndex | number |