import {SubtitleStreamController} from 'hls.js/src/controller/subtitle-stream-controller.ts'SubtitleStreamController
Extends:
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
fragCurrent: * |
|
| public |
fragPrevious: * |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
mainDetails: * |
|
| public |
mediaBuffer: * |
|
| public get |
mediaBufferTimeRanges: Bufferable |
|
| public |
|
|
| public |
|
|
| public |
state: * |
|
| public |
|
|
Method Summary
| Public Methods | ||
| public |
doTick() |
|
| public |
getMaxBufferLength(mainBufferLength: number): number |
|
| public |
loadFragment(frag: Fragment, levelDetails: LevelDetails, targetBufferTime: number) |
|
| public |
onBufferFlushing(event: undefined, data: BufferFlushingData) |
|
| public |
|
|
| public |
onFragBuffered(event: undefined, data: FragBufferedData) |
|
| public |
|
|
| public |
onLevelLoaded(event: undefined, data: LevelLoadedData) |
|
| public |
|
|
| public |
onSubtitleFragProcessed(event: undefined, data: SubtitleFragProcessed) |
|
| public |
onSubtitleTrackLoaded(event: undefined, data: TrackLoadedData) |
|
| public |
onSubtitleTrackSwitch(event: undefined, data: TrackSwitchedData) |
|
| public |
onSubtitleTracksUpdated(event: undefined, undefined: SubtitleTracksUpdatedData) |
|
| public |
|
|
| Private Methods | ||
| private |
_handleFragmentLoadComplete(fragLoadedData: FragLoadedData) |
|
| private |
|
|
| private |
|
|
Public Constructors
public constructor() source
Public Members
public fragCurrent: * source
public fragPrevious: * source
public levelLastLoaded: * source
public mainDetails: * source
public mediaBuffer: * source
public get mediaBufferTimeRanges: Bufferable source
public nextLoadPosition: * source
public state: * source
Public Methods
public doTick() source
public getMaxBufferLength(mainBufferLength: number): number source
Params:
| Name | Type | Attribute | Description |
| mainBufferLength | number |
public loadFragment(frag: Fragment, levelDetails: LevelDetails, targetBufferTime: number) source
Params:
| Name | Type | Attribute | Description |
| frag | Fragment | ||
| levelDetails | LevelDetails | ||
| targetBufferTime | number |
public onBufferFlushing(event: undefined, data: BufferFlushingData) source
Params:
| Name | Type | Attribute | Description |
| event | undefined | ||
| data | BufferFlushingData |
public onError(event: undefined, data: ErrorData) source
Params:
| Name | Type | Attribute | Description |
| event | undefined | ||
| data | ErrorData |
public onFragBuffered(event: undefined, data: FragBufferedData) source
Params:
| Name | Type | Attribute | Description |
| event | undefined | ||
| data | FragBufferedData |
public onHandlerDestroying() source
public onLevelLoaded(event: undefined, data: LevelLoadedData) source
Params:
| Name | Type | Attribute | Description |
| event | undefined | ||
| data | LevelLoadedData |
public onManifestLoading() source
public onSubtitleFragProcessed(event: undefined, data: SubtitleFragProcessed) source
Params:
| Name | Type | Attribute | Description |
| event | undefined | ||
| data | SubtitleFragProcessed |
public onSubtitleTrackLoaded(event: undefined, data: TrackLoadedData) source
Params:
| Name | Type | Attribute | Description |
| event | undefined | ||
| data | TrackLoadedData |
public onSubtitleTrackSwitch(event: undefined, data: TrackSwitchedData) source
Params:
| Name | Type | Attribute | Description |
| event | undefined | ||
| data | TrackSwitchedData |
public onSubtitleTracksUpdated(event: undefined, undefined: SubtitleTracksUpdatedData) source
Params:
| Name | Type | Attribute | Description |
| event | undefined | ||
| undefined | SubtitleTracksUpdatedData |
public startLoad(startPosition: number) source
Params:
| Name | Type | Attribute | Description |
| startPosition | number |
Private Methods
private _handleFragmentLoadComplete(fragLoadedData: FragLoadedData) source
Params:
| Name | Type | Attribute | Description |
| fragLoadedData | FragLoadedData |
