-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Event for maxAutoLevel change #4521
Comments
This would require a new event, as LEVELS_UPDATED should only fire when There is a FPS_DROP_LEVEL_CAPPING event so following that convention a PLAYER_SIZE_LEVEL_CAPPING event would make sense, and would also trigger right before setting |
There is also a |
Is your feature request related to a problem? Please describe.
When
capLevelToPlayerSize
is enabledmaxAutoLevel
is dynamically set based on the player's dimensions. There is currently no way to know when the values changes besides polling for changes toplayer.maxAutoLevel
. Knowing when the value changes is useful information when drawing a bitrate/level/quality selection menu.Describe the solution you'd like
Fire an event when
maxAutoLevel
changes.Additional context
The
LEVELS_UPDATED
event could be used for this use case, or a new event entirely.The text was updated successfully, but these errors were encountered: