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

Level

audioTracks

MediaPlaylist[]

(Optional)

**Returns:**

Promise<MediaDecodingInfo>