BufferController
Extends:
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
flushRange: *[] |
|
public |
media: * |
|
public |
mediaSource: * |
|
public |
onmsc: * |
|
public |
onmse: * |
|
public |
onmso: * |
|
public |
onsbe: * |
|
public |
onsbue: * |
|
public |
parent: * |
|
public |
pendingTracks: {} |
|
public |
segments: *[] |
|
public |
sourceBuffer: {} |
|
public |
|
|
public |
tracks: {} |
Private Members | ||
private |
|
|
private |
_live: * |
|
private |
_msDuration: * |
|
private |
|
|
private |
|
|
private |
_objectUrl: * |
Method Summary
Public Methods | ||
public |
checkEos() |
|
public |
|
|
public |
createSourceBuffers(tracks: *) |
|
public |
destroy() |
|
public |
|
|
public |
doFlush() |
|
public |
flushBuffer(startOffset: *, endOffset: *, typeIn: *): boolean |
|
public |
onBufferAppendFail(data: *) |
|
public |
onBufferAppending(data: *) |
|
public |
onBufferCodecs(tracks: *) |
|
public |
onBufferEos(data: *) |
|
public |
onBufferFlushing(data: *) |
|
public |
|
|
public |
onLevelPtsUpdated(data: *) |
|
public |
onLevelUpdated(objectPattern: {"details": *}) |
|
public |
onManifestParsed(data: *) |
|
public |
onMediaAttaching(data: *) |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
onSBUpdateError(event: *) |
|
public |
Update Media Source duration to current level duration or override to Infinity if configuration parameter
'liveDurationInfinity |
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 |
|
Public Constructors
Public Members
public audioTimestampOffset: * source
public flushRange: *[] source
public media: * source
public mediaSource: * source
public onmsc: * source
public onmse: * source
public onmso: * source
public onsbe: * source
public onsbue: * source
public parent: * source
public pendingTracks: {} source
public segments: *[] source
public sourceBuffer: {} source
public sourceBufferNb: * source
public tracks: {} source
Private Members
private _levelDuration: * source
private _live: * source
private _msDuration: * source
private _objectUrl: * source
Public Methods
public checkEos() source
public checkPendingTracks() source
public createSourceBuffers(tracks: *) source
Params:
Name | Type | Attribute | Description |
tracks | * |
public doAppending() source
public doFlush() source
public flushBuffer(startOffset: *, endOffset: *, typeIn: *): boolean source
Params:
Name | Type | Attribute | Description |
startOffset | * | ||
endOffset | * | ||
typeIn | * |
public onBufferAppendFail(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onBufferAppending(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onBufferCodecs(tracks: *) source
Params:
Name | Type | Attribute | Description |
tracks | * |
public onBufferEos(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onBufferFlushing(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onBufferReset() source
public onLevelPtsUpdated(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onLevelUpdated(objectPattern: {"details": *}) source
Params:
Name | Type | Attribute | Description |
objectPattern | {"details": *} |
|
public onManifestParsed(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onMediaAttaching(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onMediaDetaching() source
public onMediaSourceClose() source
public onMediaSourceEnded() source
public onMediaSourceOpen() source
public onSBUpdateEnd() source
public onSBUpdateError(event: *) source
Params:
Name | Type | Attribute | Description |
event | * |
public updateMediaElementDuration() source
Update Media Source duration to current level duration or override to Infinity if configuration parameter
'liveDurationInfinityis set to
true`
More details: https://github.com/video-dev/hls.js/issues/355