Skip to content
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

The AudioContext was not allowed to start. Chrome. #7

Open
madbeyk opened this issue May 14, 2020 · 2 comments
Open

The AudioContext was not allowed to start. Chrome. #7

madbeyk opened this issue May 14, 2020 · 2 comments

Comments

@madbeyk
Copy link

madbeyk commented May 14, 2020

Any quick workaround for this?

The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
eval @ audio.js?dd07:6

It seems that in new versions of Chrome there is a new policy to block automatic start of audio. It can be started just after some user action on page.

@madbeyk
Copy link
Author

madbeyk commented May 14, 2020

I've made dirty and quick workaround. Player is not starting (playing stream) automatically after load in Chrome. It needs user intent (select channel or press play button).
madbeyk@32d7f31
Maybe it needs further testing or improvements.

@rainner
Copy link
Owner

rainner commented May 21, 2020

Hey @madbeyk, thanks for pointing that out. I'll look into it and try to implement the fix you came up with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants