News for hackers. Stuff that matters.
Re:WebRTC Samples by de_watcher on Tuesday September 15, 2020 @03:24AM (#24478708)
Still pretty bad. Firefox can't freely select audio devices per stream. Chrome has some kind of unbeatable adaptation that makes latency fluctuate.
Re:WebRTC Samples by mooss on Tuesday September 15, 2020 @06:06AM (#24479569)
Do you have more details on the Firefox problem? I have a WebRTC project that is currently in standby (priorities changed) and one issue that I have not been able to troubleshoot was an inability to send audio from Firefox while it somehow worked on Chrome.
Re:WebRTC Samples by de_watcher on Tuesday September 15, 2020 @08:09AM (#24480276)
It works fine in Firefox (send and receive) as long as you don't need to play on multiple output devices. Currently you can enable a feature flag, use enumerateDevices() and play audio files on specific devices, but you can't hook up WebRTC streams to the devices.

enumerateDevices() should enumerate audio output devices (feature behind pref): https://bugzilla.mozilla.org/show_bug.cgi?id=1152401

Enable by default setSinkId pref: https://bugzilla.mozilla.org/show_bug.cgi?id=1498512

Alex Chronopoulos: "We keep it off because it does not work for everything. It works when we playback a file but not for webaudio or WebRTC. We want to add those too and we keep it off till then."

Re:WebRTC Samples by mooss on Tuesday September 15, 2020 @09:06AM (#24480750)
Thanks for your answer, I only have two devices connected so my problem must be caused by an unrelated mistake. I'll find out eventually :).