Home > hls.js > Level

Level class

Signature:

export declare class Level 

Constructors

Constructor Modifiers Description
(constructor)(data) Constructs a new instance of the Level class

Properties

Property Modifiers Type Description
attrs readonly LevelAttributes
audioCodec readonly string | undefined
audioGroupIds? string[] (Optional)
bitrate readonly number
codecSet readonly string
details? LevelDetails (Optional)
fragmentError number
height readonly number
id readonly number
loaded? { bytes: number; duration: number; } (Optional)
loadError number
maxBitrate readonly number
name readonly string | undefined
realBitrate number
textGroupIds? string[] (Optional)
unknownCodecs readonly string[] | undefined
uri readonly string
url string[]
urlId number
videoCodec readonly string | undefined
width readonly number