New issue
Advanced search Search tips

Issue 880077 link

Starred by 5 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

Wrong sound output device during WebRtc call with Chrome.

Reported by dimitrio...@gmail.com, Sep 3

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

Example URL:
https://webrtc.github.io/samples/src/content/devices/multi/

Steps to reproduce the problem:
The user is using webrtc call tools line https://eu.yourcircuit.com or https://appr.tc/
He have multiple audio output devices .  One Jabre PRO 9450 and  one USB Audio Device  
On both tools the audio goes to wrong audio device.

If the Jabra PRO 9450 in selected in WeRrtc tool, then the sound goes to the USB device.
If the USB is selected as output device in the WebRtc tool , the sound goes to the USB device.

the problem is reproducible with this test WebRtc Tool also
https://webrtc.github.io/samples/src/content/devices/multi/

The windows configuration  is OK, and during audio test  the sound goes to the correct device . (check the attached vide with the windows configuration)
With Firefox , the sound goes to the correct devices also.

What is the expected behavior?
The sound should go to the selected device within the WebRtc tool

What went wrong?
The sound goes to a wrong device.

Did this work before? N/A 

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? Yes

Chrome version: 68.0.3440.106  Channel: stable
OS Version: Windows 10 
Flash Version: 

Contents of chrome://gpu: 

It happens with specific hardware. NOT with Just 2 output audio devices
 
chrome_debug.log
234 KB View Download
chrome_net-log.json
2.2 MB View Download
windows audio configuration and test.mp4
187 KB View Download
Labels: Needs-Triage-M68
Cc: vamshi.kommuri@chromium.org
Components: Blink>WebRTC>Audio
Labels: Triaged-ET TE-Hardware-Dependency
Thanks for filing the issue!

As per Comment#0 the issue seems to happen with specific hardware, hence adding label "TE-Hardware-Dependency" and  component "Blink>WebRTC>Audio" for the respective team to investigate this further.
Cc: grunell@chromium.org ossu@chromium.org
Owner: guidou@chromium.org
Status: Assigned (was: Unconfirmed)
Labels: Needs-Feedback
I tried https://webrtc.github.io/samples/src/content/devices/multi/ and output goes to the selected output device, as expected.


I checked appr.tc and it did not have a way to select the output device, so the default one was used.

I did not try https://eu.yourcircuit.com because it required sign up.

The attached video shows Skype for business, so it doesn't depict any issue with Chrome.

dimitrios.toumpanos@: Can you clarify what the specific bug is here?
The problem happens ONLY with the very specific hardware. I also tested with other devices and it is working OK
Also with the attached video we can see that everything is Ok in Windows sound settings.
The videο is for Windows sound settings, not from S4B 
Labels: -Pri-2 Pri-3
If the exact hardware is essential, please add more details about names, driver version etc. Today, the report only states "one USB Audio Device".
I'm attaching the DxDiag from the affected system. 
Also see a comment from the affected user "This issue is independent of the USB loudspeaker, i.e. the issue is unchanged if there is no USB audio device respectively a loudspeaker connected to the stereo jack of the integrated soundcard. 
DxDiag.txt
88.0 KB View Download
Comment #8 is not inline with the original report which states:

"It happens with specific hardware. NOT with Just 2 output audio devices".
 
hence, I don't understand how #8 can be related to this issue. 
In comment #8 there is an attachment, which consist of the information for the specific hardware that the user is using. The problem it self is that when opening https://webrtc.github.io/samples/src/content/devices/multi/ and selecting the Jabra 9450 for output device the sound does not go Jabra.
So the problem is that trying to send output to the Jabra 9450 does not work when it is not the default device?

Can you provide the output you get from https://guidou.github.io/enumdemo.html?
Also, does the problem occur when you use https://guidou.github.io/setsinkid-demo.html?
Devices:1 - audioinput - default -
2 - audioinput - communications -
3 - audioinput - d1b0ee91b2fbee59bc5e6f84a2fb598a8ee66c55bf89f0fb9e01cd7a241bc91f -
4 - audiooutput - default -
5 - audiooutput - communications -
6 - audiooutput - 593f83fc9fcc3344c40a605a2500174ba2f5f01c5394b15f82828426cfa0c555 -
7 - audiooutput - eb3cd23fe596cb3091d5406d1f0bc886255f12c7d2752c483238676cdc851ede -
8 - audiooutput - 7eca91044a7fbce157602f149d6fd94be47d6fa654534f31b46d77fbb5b40d75 -
 
The problem is the same on https://guidou.github.io/setsinkid-demo.html.

If "communications" is selected, the audio output is on the Jabra Headset
If the Jabra Headset is selected, the audio output is on the systems default loudspeaker
 

Did you make sure to accept microphone permission when getUserMedia() asks for them?
At the moment, it's the only way to authorize output to nondefault devices (we have to fix the UI to make that clear).

The output you provide for enumdemo.html suggests that you didn't provide permission because device labels are not present. 
However, that might not be the case with setsinkid-demo. Can you confirm?

Answer from the user "Yes, I did. The page starts with no-permission error, then I authorized the microphone and repeated the test" 
Here the list with device names. Sorry!

Devices:1 - audioinput - default - Standardeinstellung - Mikrofon (Jabra PRO 9450) (0b0e:1021)
2 - audioinput - communications - Kommunikation - Mikrofon (Jabra PRO 9450) (0b0e:1021)
3 - audioinput - d1b0ee91b2fbee59bc5e6f84a2fb598a8ee66c55bf89f0fb9e01cd7a241bc91f - Mikrofon (Jabra PRO 9450) (0b0e:1021)
4 - audiooutput - default - Standardeinstellung - Lautsprecher (USB Audio Device) (0000:0201)
5 - audiooutput - communications - Kommunikation - Lautsprecher (Jabra PRO 9450) (0b0e:1021)
6 - audiooutput - 593f83fc9fcc3344c40a605a2500174ba2f5f01c5394b15f82828426cfa0c555 - Lautsprecher / Kopfhörer (Realtek High Definition Audio)
7 - audiooutput - eb3cd23fe596cb3091d5406d1f0bc886255f12c7d2752c483238676cdc851ede - Lautsprecher (USB Audio Device) (0000:0201)
8 - audiooutput - 7eca91044a7fbce157602f149d6fd94be47d6fa654534f31b46d77fbb5b40d75 - Lautsprecher (Jabra PRO 9450) (0b0e:1021)
 
So the system default is USB Audio Device.
In setsink-demo, if you select:
default -> output goes to USB Audio Device (correct)
communications -> output goes to Jabra PRO 9450 (correct)
Realtek High Definition Audio -> output goes to ?
USB Audio Device -> output goes to USB Audio Device (correct)
Jabra Pro 9450 -> output goes to USB Audio Device (incorrect)

This is accurate?
default -> output goes to USB Audio Device (correct)
communications -> output goes to Jabra PRO 9450 (correct)
Realtek High Definition Audio -> output goes to Realtek High Definition Audio (correct)
USB Audio Device -> output goes to USB Audio Device (correct)
Jabra Pro 9450 -> output goes to USB Audio Device (incorrect) 
Please see the last comment from the user:
"I just found a workaround for this problem. If I "Disable all enhancements" and restart Chrome, the audio output to Jabra works as expected.

The flag "Disable all enhancements" is not checked by default. "
image(4).png
61.5 KB View Download
Is there any update for this bug?
Not yet. We have been unable to reproduce.
I think the chances are slim that we will be able to resolve this issue in Chrome given that there seems to be some driver conflict here. Also, there is a workaround in this case which I assume does not have any major negative impact.

Sign in to add a comment