My goal is to retrieve the Current Quality Label from JWPlayer 7 using JS, but instead of getting the defined labels like 360p, 480p, 720p, I'm only receiving numbers such as 1, 2, 3...
This is what I've tried:
playerInstance.getCurrentQuality();
//it returns: 1 or 2 or 3 stream number
I also attempted:
playerInstance.getQualityLevels();
//it returns: [object Object],[object Object],[object Object]
I even tried this:
playerInstance.getQualityLevels('label');
//unfortunately, it still returns: [object Object],[object Object],[object Object]
Is there another method or workaround to successfully obtain the Current Quality Label?