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 |
|
|
public |
decrypter: * |
|
public |
fragCurrent: * |
|
public |
state: * |
|
public |
tracks: * |
|
public |
|
|
public |
|
Method Summary
Public Methods | ||
public |
|
|
public |
doTick() |
|
public |
nextFrag() |
|
public |
onError(data: *) |
|
public |
onFragLoaded(data: *) |
|
public |
|
|
public |
|
|
public |
|
|
public |
onSubtitleFragProcessed(data: *) |
|
public |
|
|
public |
onSubtitleTrackSwitch(data: *) |
|
public |
onSubtitleTracksUpdated(data: *) |
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 currentTrackId: * source
public currentlyProcessing: * source
public decrypter: * source
public fragCurrent: * source
public state: * source
public tracks: * source
public vttFragQueues: * source
public vttFragSNsProcessed: {} source
Public Methods
public clearVttFragQueues() source
public nextFrag() source
public onError(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onFragLoaded(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onKeyLoaded() source
public onMediaAttached() source
public onSubtitleFragProcessed(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onSubtitleTrackLoaded() source
public onSubtitleTrackSwitch(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onSubtitleTracksUpdated(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |