How to get stream videoquality?

What’s your use case for the bot needing to know video quality? Not all users have the same video quality options so even if you were to have your bot render a page and check the quality, that would only tell you what options are available for the bot and not what may be the case for any other users.