The major issue with stereo mics, chrome requires you turn off AEC when you set 2 channel constraint on mic., so headphones are required because of loss of echo cancellation.
Add 2channels in cdquality will get mod_conference in stereo is correct correct.
Try using firefox, stereo will work….
Chrome stereo requires you hack the local sdp, and send a remote SDP with stereo the stereo-prop set if I remember correctly.
Safari and IOS will not support any webrtc stereo.
I add a stereo prompt to dialplan. That plays sound in left and right channel, so you can clearly tell webrtc is getting stereo at the endpoint.
Regards,
Stephen
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/49d17442-499a-43bb-8ae7-aa73735565a4n%40googlegroups.com.
Hi Stephen,
Thanks, I've:
1. added channels=2 in the cdquality profile in the conference.xml file
2. modified compatibility/adapter.js by adding sprop-stereo=1 and
stereo=1 to "a=rtpmap:0 opus/48000/2\r\n" (in the definition of
mediaSectionsInOffer)
3. added "googEchoCancellation: false" and "echoCancellation: false" in my audio constraints for getUserMedia (mic)
but they don't t seem to make a difference. Do you remember if there were any other aspects that you had to tweak (particularly in sip.js) to get the stereo source to reach the viewers?
Thanks
Bren
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=opus@48000h@20i@2c,speex@16000h@20i,speex@8000h@20i,G7221@32000h,G7221@16000h,G722,PCMU,PCMA,GSM,VP8" />
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=opus@48000h@20i@2c,speex@16000h@20i,PCMU,PCMA,GSM,VP8" />
Try forcing in vars.xml
Also you can capture the audio in freeswitch, right as it is decoded and save to file, then look at a audio graphically to see if left/right channel are separated before it gets into md_conference.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/3c6fd860-8840-4efd-b75d-453118e46d15n%40googlegroups.com.