The short answer is:
player.tech_.vhs.currentLevel = 2; Before: The short answer is: player
const currentLevel = player.tech_.vhs.currentLevel; console.log(`Current bitrate level: ${currentLevel}`); Before: Before: const currentLevel = player.tech_.vhs.currentLevel
const levels = player.tech_.hls.levels; levels.forEach((level, idx) => { console.log(`Level ${idx}: ${level.height}p`); }); console.log(`Current bitrate level: ${currentLevel}`)