Home > hls.js > Hls > getMediaDecodingInfo
Hls.getMediaDecodingInfo() method
returns mediaCapabilities.decodingInfo for a variant/rendition
Signature:
getMediaDecodingInfo(level: Level, audioTracks?: MediaPlaylist[]): Promise<MediaDecodingInfo>;
Parameters
Parameter |
Type |
Description |
---|---|---|
level | ||
audioTracks |
(Optional) |
Promise<MediaDecodingInfo>