-
Notifications
You must be signed in to change notification settings - Fork 1.4k
feat: Handle audio focus events #8427
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
Conversation
avelad
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only a few minor changes :)
|
Incremental code coverage: 74.07% |
absidue
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As these seem to be non-standard events, it might be worth adding a code comment that explains on which platforms those events are available, so that people that look at the code in the future know why it is there, as the PR description currently only says "some platforms".
In some platforms custom audio focus events are emitted. This needs to be handled to avoid the stall detection.