[Webkit-unassigned] [Bug 180748] Audio sometimes fail to capture in WebRTC
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 9 09:44:02 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=180748
--- Comment #16 from youenn fablet <youennf at gmail.com> ---
Two workarounds that seem to work when done from the inspector console on https://webrtc.github.io/samples/src/content/getusermedia/volume/ tab with a dead meter:
1.
location.reload()
2.
// Stop capturing
stream.getAudioTracks()[0].stop()
//At that point, tab should no longer show any capturing icon, let's redo getUserMedia then
navigator.mediaDevices.getUserMedia(constraints).then(handleSuccess).catch(handleError);
Calling stop+getUserMedia synchronously does not seem to work if called once.
Replaying it twice makes it on my setup.
We probably have a race condition issue.
Let me know the result of this workaround if some of you have time to try it.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180209/5d681ac7/attachment-0001.html>
More information about the webkit-unassigned
mailing list