Reputation: 3626
Specs: Chrome version 44,45,46 both Win, Mac and Linux.
Actions made:
Symptoms:
Expected behavior:
Severity: often, but not always. Doesn't seem to be tied to particular user, it happens from day to day with any user.
(!) Can sometimes be temporary fixed by restarting Chrome completely.
(!) Can sometimes be temporary fixed on Mac (until restart):
(!) Happened even with the only one source requested.
This seems to be a massive issue addressed to Google a long time ago, but still not solved. Have anyone faced it? Is there any way to fix this in JavaScript or anyhow else?
It is also reproducible at https://apprtc.appspot.com/ and any other webrtc websites.
Seems like it is WebRTC bug:
Upvotes: 2
Views: 4952
Reputation: 10179
Here is a script I have in my .profile
that will resolve this issue:
alias fixcam="sudo kill -9 `pgrep VDCAssistant`; sudo killall coreaudiod"
Then I just run fixcam
from terminal. If you add the above command to your .profile
you'll need to open a new terminal window or run source ~/.profile
to reload the configuration.
It looks like the bug has been isolated to coreaudiod
getting in a bad state. I haven't tested ONLY restarting coreaudiod
but it's possible that will work also.
Upvotes: 1