TimelineController
Extends:
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
Cues: * |
|
public |
[trackVar]: * |
|
public |
cea608Parser: * |
|
public |
config: * |
|
public |
cueRanges: *[] |
|
public |
|
|
public |
hls: * |
|
public |
initPTS: * |
|
public |
lastSn: * |
|
public |
media: * |
|
public |
prevCC: * |
|
public |
textTracks: *[] |
|
public |
tracks: *[] |
|
public |
unparsedVttFrags: *[] |
|
public |
vttCCs: {"ccOffset": *, "presentationOffset": *} |
Method Summary
Public Methods | ||
public |
addCues(channel: *, startTime: *, endTime: *, screen: *) |
|
public |
createCaptionsTrack(track: *) |
|
public |
createTextTrack(kind: *, label: *, lang: *): * |
|
public |
destroy() |
|
public |
extractCea608Data(byteArray: *): * |
|
public |
getExistingTrack(channelNumber: *): * |
|
public |
onFragDecrypted(data: *) |
|
public |
onFragLoaded(data: *) |
|
public |
onFragParsingUserdata(data: *) |
|
public |
onInitPtsFound(data: *) |
|
public |
|
|
public |
onManifestLoaded(data: *) |
|
public |
|
|
public |
onMediaAttaching(data: *) |
|
public |
|
Private Methods | ||
private |
|
|
private |
_parseVTTs(frag: *, payload: *) |
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 Cues: * source
public [trackVar]: * source
public cea608Parser: * source
public config: * source
public cueRanges: *[] source
public initPTS: * source
public lastSn: * source
public media: * source
public prevCC: * source
public textTracks: *[] source
public tracks: *[] source
public unparsedVttFrags: *[] source
public vttCCs: {"ccOffset": *, "presentationOffset": *} source
Public Methods
public addCues(channel: *, startTime: *, endTime: *, screen: *) source
Params:
Name | Type | Attribute | Description |
channel | * | ||
startTime | * | ||
endTime | * | ||
screen | * |
public createCaptionsTrack(track: *) source
Params:
Name | Type | Attribute | Description |
track | * |
public createTextTrack(kind: *, label: *, lang: *): * source
Params:
Name | Type | Attribute | Description |
kind | * | ||
label | * | ||
lang | * |
Return:
* |
public extractCea608Data(byteArray: *): * source
Params:
Name | Type | Attribute | Description |
byteArray | * |
Return:
* |
public getExistingTrack(channelNumber: *): * source
Params:
Name | Type | Attribute | Description |
channelNumber | * |
Return:
* |
public onFragDecrypted(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onFragLoaded(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onFragParsingUserdata(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onInitPtsFound(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onLevelSwitching() source
public onManifestLoaded(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onManifestLoading() source
public onMediaAttaching(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |
public onMediaDetaching() source
Private Methods
private _cleanTracks() source
private _parseVTTs(frag: *, payload: *) source
Params:
Name | Type | Attribute | Description |
frag | * | ||
payload | * |