import CapLevelController from 'hls.js/src/controller/cap-level-controller.ts'
CapLevelController
Static Member Summary
Static Public Members | ||
public static get |
|
Static Method Summary
Static Public Methods | ||
public static |
getMaxLevelByMediaSize(levels: Array, width: number, height: number): number |
|
public static |
isLevelAllowed(level: number, restrictedLevels: Array): boolean |
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
|
|
public |
clientRect: * |
|
public |
firstLevel: * |
|
public |
hls: * |
|
public |
levels: *[] |
|
public |
media: * |
|
public get |
|
|
public get |
|
|
public |
restrictedLevels: *[] |
|
public |
|
|
public |
timer: * |
Method Summary
Public Methods | ||
public |
destroy() |
|
public |
|
|
public |
getDimensions(): * |
|
public |
getMaxLevel(capLevelIndex: number): number |
|
public |
onBufferCodecs(event: undefined, data: BufferCodecsData) |
|
public |
onFpsDropLevelCapping(event: undefined, data: FPSDropLevelCappingData) |
|
public |
onLevelsUpdated(event: undefined, data: LevelsUpdatedData) |
|
public |
onManifestParsed(event: undefined, data: ManifestParsedData) |
|
public |
onMediaAttaching(event: undefined, data: MediaAttachingData) |
|
public |
|
|
public |
|
|
public |
setStreamController(streamController: StreamController) |
|
public |
|
|
public |
|
|
public |
|
Static Public Methods
Public Constructors
public constructor() source
Public Members
public autoLevelCapping: * source
public clientRect: * source
public firstLevel: * source
public hls: * source
public levels: *[] source
public media: * source
public restrictedLevels: *[] source
public streamController: * source
public timer: * source
Public Methods
public destroy() source
public detectPlayerSize() source
public getMaxLevel(capLevelIndex: number): number source
Params:
Name | Type | Attribute | Description |
capLevelIndex | number |
public onBufferCodecs(event: undefined, data: BufferCodecsData) source
Params:
Name | Type | Attribute | Description |
event | undefined | ||
data | BufferCodecsData |
public onFpsDropLevelCapping(event: undefined, data: FPSDropLevelCappingData) source
Params:
Name | Type | Attribute | Description |
event | undefined | ||
data | FPSDropLevelCappingData |
public onLevelsUpdated(event: undefined, data: LevelsUpdatedData) source
Params:
Name | Type | Attribute | Description |
event | undefined | ||
data | LevelsUpdatedData |
public onManifestParsed(event: undefined, data: ManifestParsedData) source
Params:
Name | Type | Attribute | Description |
event | undefined | ||
data | ManifestParsedData |
public onMediaAttaching(event: undefined, data: MediaAttachingData) source
Params:
Name | Type | Attribute | Description |
event | undefined | ||
data | MediaAttachingData |
public onMediaDetaching() source
public registerListeners() source
public setStreamController(streamController: StreamController) source
Params:
Name | Type | Attribute | Description |
streamController | StreamController |