setSinkId: Regression? Or have I just somehow missed this in 5 years of device handling?

70 views
Skip to first unread message

Mattie Ruth Backman

unread,
Sep 17, 2025, 3:07:39 PM (5 days ago) Sep 17
to discuss-webrtc
This isn't exactly a WebRTC question, but I figure this is the right group to ask...

Has it always been the case that if you use `setSinkId` to change the speaker device to a device other than the current system default, the system volume controls have no affect on the audio element?

It guess it makes sense, but I can't imagine that I haven't noticed this in all my time working with devices. I tested on mac and windows, on chrome/safari/edge/firefox. So it seems like it's just the way of the world, but still I'm having trouble thinking this is the first I've noticed.

Also: While looking into this, it appears `setSinkId` isn't working at all on Windows + Chromium. I'll probably file a bug shortly...

~mattie ruth

Philipp Hancke

unread,
Sep 17, 2025, 3:10:55 PM (5 days ago) Sep 17
to discuss...@googlegroups.com, Guido Urdaneta

+ Guido who might know

--
This list falls under the WebRTC Code of Conduct - https://webrtc.org/support/code-of-conduct.
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/discuss-webrtc/d7635e3c-47ea-4801-913b-6dba0b30751dn%40googlegroups.com.

Henrik Andreasson

unread,
Sep 18, 2025, 3:57:43 AM (5 days ago) Sep 18
to discuss...@googlegroups.com, Guido Urdaneta
setSinkId works for me on Windows as well using the same demo as Philipp suggested.

Mattie Ruth Backman

unread,
Sep 18, 2025, 7:54:05 AM (4 days ago) Sep 18
to discuss-webrtc
I see the same broken behavior with that link. In Chrome (140.0.7339.128), on Surface Pro 7 + Windows 11, with headphones plugged in and set as default, nothing happens when I try to switch to the speakers. Oddly, it does work in Edge (140.0.3485.66). I'll test on my other Window machine (but it will be a minute since it takes 30 minutes to boot 😅)

Still, I'd also love to know if i'm crazy about volume control expectations.

Henrik Andreasson

unread,
Sep 18, 2025, 8:11:22 AM (4 days ago) Sep 18
to discuss...@googlegroups.com
I would recommend that you file an issue at https://crbug.com/ adding as many details as possible.

Mattie Ruth Backman

unread,
Sep 18, 2025, 8:52:39 AM (4 days ago) Sep 18
to discuss-webrtc
I plan to file a bug today. I did test on my other windows machine and saw the same broken behavior. Meanwhile, any thoughts on my main question about system volume controls? ""

Thanks!! ~mattie ruth

Henrik Andreasson

unread,
Sep 18, 2025, 9:45:42 AM (4 days ago) Sep 18
to discuss...@googlegroups.com
I filed https://issues.chromium.org/u/2/issues/445771457. Please add yourself as CC and add details if I have missed anything.

Thanks for reporting!

Mattie Ruth Backman

unread,
Sep 19, 2025, 3:08:17 AM (4 days ago) Sep 19
to discuss-webrtc
Thanks for the push. I also filed https://issues.chromium.org/issues/445733635 for the Windows issue I was seeing.
Reply all
Reply to author
Forward
0 new messages