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 |
|
|
public |
|
Private Members | ||
private |
_state: * |
Method Summary
Public Methods | ||
public |
|
|
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 |
onInitPtsFound(data: *) |
|
public |
|
|
public |
onMediaAttached(data: *) |
|
public |
|
|
public |
startLoad(startPosition: *) |
Private Methods | ||
private |
|
Inherited Summary
From class BaseStreamController | ||
public |
demuxer: * |
|
public |
fragCurrent: * |
|
public |
fragPrevious: * |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
state: * |
|
public |
computeLivePosition(sliding: *, levelDetails: *): * |
|
public |
doTick() |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
stopLoad() |
|
private |
_streamEnded(bufferInfo: *, levelDetails: *): boolean |
Public Constructors
public constructor() source
Public Members
public config: * source
public initPTS: *[] source
public media: * source
public mediaBuffer: * source
public onvended: * source
public onvseeking: * source
public retryDate: * source
public trackId: * source
public tracks: * source
public videoBuffer: * source
public videoTrackCC: * source
public waitingFragment: * source
public waitingVideoCC: * source
Private Members
private _state: * source
Public Methods
public clearWaitingFragment() source
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 startLoad(startPosition: *) source
Override:
BaseStreamController#startLoadParams:
Name | Type | Attribute | Description |
startPosition | * |