-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Audiocontext starts with suspended state #1028
Comments
@KaptenJansson Can you please take a look at this and drive it for a closure - at least 3 webrtc samples were failing due to this. |
This is is the root cause for other sample pages too. https://webrtc.github.io/samples/src/content/peerconnection/webaudio-input/ Same javascript error is shown. Solution: After refreshing the page two or three times fixes this issue. |
Regarding the solution I mentioned above:
P.S: Just refreshing the page will not resolve the issue. |
Checked that Its working in M66 beta / 66.0.3359.48, closing. |
Reproducible in 66.0.3359.46 /10452.19.0 Windows 7 (Thinkpad lenovo), Windows 10 (Asus UX430x) |
Reproducible in M66 Beta. Windows 7, windows 10 and one device from Gru family (Chromebook 66.0.3359.79 / 10452.42.0 |
This issue is reproducible in M67 Dev 67.0.3383.0 / 10539.0.0 Leon, Link, Lars, Peach |
Reproducible in 67.0.3383.0 / 10539.0.0 Glimmer, Kip, Swanky, Snappy |
@huibk this seems due to the autoplay policy changes. PTAL |
@rantonysamy do you typically test with a newly created profile (--user-data-dir=some-new-directory)? I'd bet on the MEI making it look like everything was ok: https://developers.google.com/web/updates/2017/09/autoplay-policy-changes#mei |
Sometimes I used to switch to another profile, but It was happening in a fresh installed Chrome OS / Chrome at the Chromebooks. I will check the same issue in the latest build and see Its still reproducible. |
Note that currently the autoplay policies are not enabled for all M66 users yet. Set chrome://flags/#autoplay-policy to manually for the new policy on. |
Thanks Huib! It is working fine when enabling the flag #autoplay-policy and set it to " User Gesture is required for cross-origin iframes. Tested in Quawks and Kip. |
Is this issue still relevant? I can't reproduce the problem when testing the different settings of autoplay policy. |
Its been fixed already. I am closing it. |
mind you that this will probably come up again when autoplay tries to reland... :-| |
Description
Audiocontext starts with suspended state, due to a policy ! So the I have to connect a headset / headphone to get the AudioContext state to be changed as "Running". In the test page there is no buttons, so I can't click on and show that the user Input had been available (as per the policy).
Steps to reproduce
Go to https://webrtc.github.io/samples/src/content/getusermedia/volume/
Check the sample works.
Actual Result:
Sample page not working
Expected:
It will be nice to have:
"Start AudioContext" "Check Status" (running or not running), "Suspend AudioContext" in this test page.
Browser affected
Chrome 66.0.3359.31
The text was updated successfully, but these errors were encountered: