import {SubtitleStreamController} from 'hls.js/src/controller/subtitle-stream-controller.js'
SubtitleStreamController
Extends:
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
config: * |
|
public |
|
|
public |
decrypter: * |
|
public |
fragCurrent: * |
|
public |
fragPrevious: * |
|
public |
|
|
public |
|
|
public |
media: * |
|
public |
state: * |
|
public |
tracks: *[] |
|
public |
tracksBuffered: *[] |
Private Members | ||
private |
|
Method Summary
Public Methods | ||
public |
doTick() |
|
public |
onError(data: *) |
|
public |
onFragLoaded(data: *) |
|
public |
|
|
public |
onLevelUpdated(objectPattern: {"details": *}) |
|
public |
onMediaAttached(objectPattern: {"media": *}) |
|
public |
|
|
public |
|
|
public |
onSubtitleFragProcessed(data: *) |
|
public |
onSubtitleTrackLoaded(data: *) |
|
public |
onSubtitleTrackSwitch(data: *) |
|
public |
onSubtitleTracksUpdated(data: *) |
|
public |
|
|
public |
stopLoad() |
Private Methods | ||
private |
_getBuffered(): * |
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 currentTrackId: * source
public decrypter: * source
public media: * source
public tracks: *[] source
public tracksBuffered: *[] source
Private Members
private _onMediaSeeking: * source
Public Methods
public onError(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onFragLoaded(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onKeyLoaded() source
public onLevelUpdated(objectPattern: {"details": *}) source
Params:
Name | Type | Attribute | Description |
objectPattern | {"details": *} |
|
public onMediaAttached(objectPattern: {"media": *}) source
Params:
Name | Type | Attribute | Description |
objectPattern | {"media": *} |
|
public onMediaDetaching() source
public onSubtitleFragProcessed(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onSubtitleTrackLoaded(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onSubtitleTrackSwitch(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onSubtitleTracksUpdated(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |