Currently, there is one listener per capture source.
<rdar://problem/37355283>
Created attachment 333385 [details] Patch
Attachment 333385 [details] did not pass style-queue: ERROR: Source/WebCore/platform/mediastream/ios/CoreAudioCaptureSourceIOS.mm:126: Missing spaces around : [whitespace/init] [4] Total errors found: 1 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 333385 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=333385&action=review > Source/WebCore/platform/mediastream/mac/CoreAudioCaptureSource.cpp:773 > + if (unit.isSuspended()) > + unit.reconfigureAudioUnit(); I'm not sure this is a good idea. What happens if a page that already has user permission calls getUserMedia({audio:true}) during an interruption?
Created attachment 333409 [details] Patch
Attachment 333409 [details] did not pass style-queue: ERROR: Source/WebCore/platform/mediastream/ios/CoreAudioCaptureSourceIOS.mm:126: Missing spaces around : [whitespace/init] [4] Total errors found: 1 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 333409 [details] Patch Clearing flags on attachment: 333409 Committed r228310: <https://trac.webkit.org/changeset/228310>
All reviewed patches have been landed. Closing bug.
*** Bug 179964 has been marked as a duplicate of this bug. ***