TimelineController
Extends:
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
Cues: * |
|
public |
captionsProperties: {"textTrack1": *, "textTrack2": *} |
|
public |
captionsTracks: {} |
|
public |
cea608Parser: * |
|
public |
config: * |
|
public |
|
|
public |
|
|
public |
hls: * |
|
public |
|
|
public |
|
|
public |
media: * |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
vttCCs: * |
Method Summary
Public Methods | ||
public |
addCues(trackName: string, startTime: number, endTime: number, screen: CaptionScreen) |
|
public |
createCaptionsTrack(trackName: string) |
|
public |
createTextTrack(kind: TextTrackKind, label: string, lang: string): * |
|
public |
destroy() |
|
public |
extractCea608Data(byteArray: Uint8Array): Array |
|
public |
getExistingTrack(trackName: string): * |
|
public |
onFragDecrypted(data: undefined) |
|
public |
onFragLoaded(data: undefined) |
|
public |
onFragParsingUserdata(data: undefined) |
|
public |
onInitPtsFound(data: undefined) |
|
public |
onManifestLoaded(data: undefined) |
|
public |
|
|
public |
onMediaAttaching(data: undefined) |
|
public |
|
Private Methods | ||
private |
|
|
private |
_parseVTTs(frag: Fragment, payload: undefined) |
Public Constructors
public constructor() source
Public Members
public Cues: * source
public captionsProperties: {"textTrack1": *, "textTrack2": *} source
public captionsTracks: {} source
public cea608Parser: * source
public config: * source
public hls: * source
public media: * source
public vttCCs: * source
Public Methods
public addCues(trackName: string, startTime: number, endTime: number, screen: CaptionScreen) source
Params:
Name | Type | Attribute | Description |
trackName | string | ||
startTime | number | ||
endTime | number | ||
screen | CaptionScreen |
public createCaptionsTrack(trackName: string) source
Params:
Name | Type | Attribute | Description |
trackName | string |
public destroy() source
public extractCea608Data(byteArray: Uint8Array): Array source
Params:
Name | Type | Attribute | Description |
byteArray | Uint8Array |
public getExistingTrack(trackName: string): * source
Params:
Name | Type | Attribute | Description |
trackName | string |
Return:
* |
public onFragParsingUserdata(data: undefined) source
Params:
Name | Type | Attribute | Description |
data | undefined |