Distinguish between auto and constant quality using player api

I’m making plugin to control twitch player by Elgato Stream Deck, and one of the function is button that displays current quality. I can still read the value from the menu I guess.