import AudioStreamController from 'hls.js/src/controller/audio-stream-controller.js'
AudioStreamController
Extends:
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
|
|
public |
config: * |
|
public |
demuxer: * |
|
public |
fragCurrent: * |
|
public |
|
|
public |
fragPrevious: * |
|
public |
|
|
public |
initPTS: *[] |
|
public |
|
|
public |
|
|
public |
media: * |
|
public |
mediaBuffer: * |
|
public |
|
|
public |
onvended: * |
|
public |
onvseeking: * |
|
public |
|
|
public |
|
|
public |
retryDate: * |
|
public |
|
|
public |
|
|
public set |
|
|
public get |
state: * |
|
public |
trackId: * |
|
public |
tracks: * |
|
public |
videoBuffer: * |
|
public |
videoTrackCC: * |
|
public |
|
Private Members | ||
private |
_state: * |
Method Summary
Public Methods | ||
public |
doTick() |
|
public |
onAudioTrackLoaded(data: *) |
|
public |
onAudioTrackSwitching(data: *) |
|
public |
onAudioTracksUpdated(data: *) |
|
public |
onBufferAppended(data: *) |
|
public |
onBufferCreated(data: *) |
|
public |
|
|
public |
|
|
public |
onError(data: *) |
|
public |
onFragLoaded(data: *) |
|
public |
onFragParsed(data: *) |
|
public |
onFragParsingData(data: *) |
|
public |
onFragParsingInitSegment(data: *) |
|
public |
|
|
public |
|
|
public |
onInitPtsFound(data: *) |
|
public |
|
|
public |
onMediaAttached(data: *) |
|
public |
|
|
public |
|
|
public |
|
|
public |
startLoad(startPosition: *) |
|
public |
stopLoad() |
Private Methods | ||
private |
|
Inherited Summary
From class EventHandler | ||
public |
|
|
public |
hls: * |
|
public |
|
|
public |
destroy() |
|
public |
isEventHandler(): * |
|
public |
onEvent(event: *, data: *) arguments: event (string), data (any) |
|
public |
onEventGeneric(event: *, data: *) |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
From class TaskLoop | ||
private |
|
|
private |
|
|
public |
|
|
public |
destroy() |
|
public abstract |
doTick() For subclass to implement task logic |
|
public |
|
|
public |
setInterval(millis: number): boolean |
|
public |
|
Public Constructors
Public Members
public config: * source
public demuxer: * source
public fragCurrent: * source
public fragPrevious: * source
public fragmentTracker: * source
public initPTS: *[] source
public lastCurrentTime: * source
public media: * source
public mediaBuffer: * source
public nextLoadPosition: * source
public onvended: * source
public onvseeking: * source
public retryDate: * source
public startPosition: * source
public set state source
public get state: * source
public trackId: * source
public tracks: * source
public videoBuffer: * source
public videoTrackCC: * source
public waitingFragment: * source
Private Members
private _state: * source
Public Methods
public onAudioTrackLoaded(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onAudioTrackSwitching(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onAudioTracksUpdated(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onBufferAppended(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onBufferCreated(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onBufferFlushed() source
public onBufferReset() source
public onError(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onFragLoaded(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onFragParsed(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onFragParsingData(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onFragParsingInitSegment(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onInitPtsFound(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onKeyLoaded() source
public onMediaAttached(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onMediaDetaching() source
public onMediaEnded() source
public onMediaSeeking() source
public startLoad(startPosition: *) source
Params:
Name | Type | Attribute | Description |
startPosition | * |