TimelineController
Extends:
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
Cues: * |
|
public |
captionsProperties: {"textTrack1": *, "textTrack2": *, "textTrack3": *, "textTrack4": *} |
|
public |
captionsTracks: Record |
|
public |
cea608Parser: * |
|
public |
config: * |
|
public |
|
|
public |
|
|
public |
hls: * |
|
public |
|
|
public |
|
|
public |
media: * |
|
public |
nonNativeCaptionsTracks: Record |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
vttCCs: VTTCCs |
Method Summary
Public Methods | ||
public |
addCues(trackName: string, startTime: number, endTime: number, screen: CaptionScreen) |
|
public |
createCaptionsTrack(trackName: string) |
|
public |
createNativeTrack(trackName: string) |
|
public |
createNonNativeTrack(trackName: string) |
|
public |
createTextTrack(kind: TextTrackKind, label: string, lang: string): * |
|
public |
destroy() |
|
public |
extractCea608Data(byteArray: Uint8Array): * |
|
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: ArrayBuffer) |
Public Constructors
public constructor() source
Public Members
public Cues: * source
public captionsProperties: {"textTrack1": *, "textTrack2": *, "textTrack3": *, "textTrack4": *} source
public captionsTracks: Record source
public cea608Parser: * source
public config: * source
public hls: * source
public media: * source
public nonNativeCaptionsTracks: Record source
public vttCCs: 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 createNativeTrack(trackName: string) source
Params:
Name | Type | Attribute | Description |
trackName | string |
public createNonNativeTrack(trackName: string) source
Params:
Name | Type | Attribute | Description |
trackName | string |
public destroy() source
public extractCea608Data(byteArray: Uint8Array): * source
Params:
Name | Type | Attribute | Description |
byteArray | Uint8Array |
Return:
* |
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 |
public onManifestLoading() source
public onMediaDetaching() source
Private Methods
private _cleanTracks() source
private _parseVTTs(frag: Fragment, payload: ArrayBuffer) source
Params:
Name | Type | Attribute | Description |
frag | Fragment | ||
payload | ArrayBuffer |