Bug 181588

Summary: [WebRTC Mac mini] getUserMedia does not produce any audio data when using a USB microphone.
Product: WebKit Reporter: ajsantos
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Blocker CC: adam, cosedi, emoonadev, eric.carlson, jonlee, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 11   
Hardware: Mac   
OS: macOS 10.13   

Description ajsantos 2018-01-12 04:46:34 PST
I have a videoconference app that uses SimpleWebRTC and Adapter, both latest versions. When I have multiple users connected, one in Safari and others in Chrome, the Safari user can hear the others but other can't hear the sound input from the Safari user. Video works fine. The mic used is connected to the Mac with USB and Camera and Microphone permissions in Safari are set as "allow". If I use Chrome in the same Mac, it works fine.
Comment 1 youenn fablet 2018-01-12 05:00:51 PST
Can you try with mock sources (Developer menu -> WebRTC sub menu)?
Which audio codec is being used? Is it Opus?
Is there a possibility for a repro case somewhere?
Comment 2 ajsantos 2018-01-12 05:19:37 PST
With mock sources it works. I suspect that Safari just cant access my microphone connected with USB. If I go to Sound Preferences, the audio input works fine, the same for Chrome in Mac. I can't use internal microphone because I'm using Mac Mini, which does not have one. https://www.webrtc-experiment.com/RecordRTC/simple-demos/audio-recording.html does not work either with USB mic.
Comment 3 youenn fablet 2018-01-12 05:22:51 PST
Can you confirm that https://webrtc.github.io/samples/src/content/getusermedia/volume/ is not working with your USB microphone?
Comment 4 Radar WebKit Bug Importer 2018-01-12 05:24:00 PST
<rdar://problem/36467744>
Comment 5 ajsantos 2018-01-12 05:27:12 PST
Yes, I confirm that it does not work with USB mic. The little red mic icon appears but nothing is captured. It does work with mock sources though.