Audio in MS teams with firefox (128 ESR) on 14-STABLE.

I am struggling using audio (making phone calls to be exact) with MS teams and firefox.
In the teams device setup there is no device to select for mic and speaker. I spent hours of
searching and found posts that say:

- it works
- it can't work because of ...
- it works with pulseaudio
- it works if you spoof the useragent
- only chrome works
- ...

I have tried the useragent thing (spoofed to chrome and/or windows and/or linux). I even
installed pulseaudio (here I can at least select a microphone but no speaker).

So the question is: Does anyone have audio working in firefox and MS teams? I don't
need any screen sharing or video or whatever - just audio.

Needless to say that apart from teams audio works in firefox. When trying https://mic-test.com/
or https://mictests.com/ I can select a mic, record stuff and play it back.
 
In the teams device setup there is no device to select for mic and speaker.
Hello,
Unfortunately, I use MS Teams at work.
I used to think Skype was a nightmare, but Teams it's worse.
"Device setup" only available during a call.
In Setting you can't found "Device"
1746527319505.png


I confirm that the voice call is working in Firefox (138.0.1).
And you can see Device during your call.

Screenshot_2025-05-06_12-36-17.png
 
Unfortunately, I use MS Teams at work.
That's the only reason to use this crap for me as well...

"Device setup" only available during a call.
I know. I can get to the settings dialog where to select speaker and mic but there
are none selectable. When I click the testcall button, it asks me which mic to
use and I see both mics I have. I can select one of them and then it asks if
I am sure not to use any audio or video. After confirming it complains it didn't
find any speaker.
During the test call we can see the mic symbol turning red in the URL bar of firefox
for about a second (AFAIK an indication that this tab uses the mic).
 
I use FreeBSD 14.2-RELEASE and Firefox (138.0.1) from packages.
And MS Teams voice call and video work fine in Firefox for me.
 
I have MS Teams working using Chromium, BUT sometimes when I use Audio, Video and Screen Sharing all at the same time FreeBSDs crashs and reboots. Another issue is, that sometimes Chromium Audio/Video is not working, a workaround is to open Firefox first and play a youtube video just for a few seconds, and then launch Chromium, navigate to MS Teams and Audio/Video is working.

Anyone else experiencing the same issues ?

I'm on FreeBSD 14.2-RELEASE-p2, all packages should be up-to-date.

Edit: Firefox doesn't work for me at all.
 
Yes, it doesn't work very well in general.
Now I've noticed that when I use Chrome, I can't call my coworkers (the call starts, but the receiving part has no notification).
It used to work well in Chrome before.
 
I use FreeBSD 14.2-RELEASE and Firefox (138.0.1) from packages.
And MS Teams voice call and video work fine in Firefox for me.
Did you use an older version also and did it work there?
Which audio backend ist being used (about:support and then scroll down to "Media")?
I might consider trying 138 but I really want to avoid pulseaudio....
 
Which audio backend ist being used (about:support and then scroll down to "Media")?
Media
Audio Backend pulse-rust
Max Channels 2
Preferred Sample Rate 44100
Roundtrip latency (standard deviation) 195.06ms (9.72)

I might consider trying 138 but I really want to avoid pulseaudio....
Firefox have pulseaudio by default from pakages.
www/chromium doesn't depend on Pulseaudio by defaults.

In my Laptop almost all my software came from packages.

Did you use an older version also and did it work there?
I didn't use before, only try Firefox when you ask.
 
Audio Backend pulse-rust
I feared so... :-(

I didn't use before, only try Firefox when you ask.
Thanks a lot for checking. My I ask for another favour? Please switch to another
backend by creating media.cubeb.backend in firefox prefs (string value) and set
it to

- jack
- sndio
- alsa
- oss

respectively and see if MS teams audio calls still work? It would be very helpful if we
find a setting which works but is not based on pulseaudio.

And another question: Does it work if you disable dbus (deamon), reboot and
try again audio in MS teams?

Thanks a lot!
 
I tried all the 4 parameters and the test call in Teams works good with all the parameters.
Thanks a lot for testing! Did you verify that the corresponding backend was actually
active by checking the Media section in about:support? Especially oss would be
of great interest since this comes w/o any bloat (with pulseaudio being the worst).

If yes, it sounds promising that they did change something on the way to 138 that
makes it work.

I use XFCE and it depends on dbus.
I see. Anyway, thanks again...
 
I use FreeBSD 14.2-RELEASE and Firefox (138.0.1) from packages.
And MS Teams voice call and video work fine in Firefox for me.
I am glad for you but somehow I cannot believe that this is true :)
Especially, without any special settings o tweaks.

For starters, if I do not fake User Agent, then Teams simply refuse to load in Firefox saying "Unsupported Browser" or some such.
 
For starters, if I do not fake User Agent, then Teams simply refuse to load in Firefox saying "Unsupported Browser" or some such.
I've read somewhere that this limitation was removed by M$. And, beware:
At least my 128 ESR Version fakes the UA to Linux when privacy.resistFingerprinting
is on. This is even documented somewhere
 
So the only differences are:
- 138 (you) vs 128 ESR (me)
- pkg (you) vs port (me)
- ALC269 (you) vs ALC892 and ALC282 (me -- I have to check the 3rd machine)
- your ff says 138.0.1 (amd64) while mine says 128.10.0esr (64-bit). Probably the
"64-bit" was changed to "amd64" somewhere vom 128 to 138 and doesn't mean anything.
- the fact that I disabled stupid dbus during compilation of my ff
 
I've read somewhere that this limitation was removed by M$. And, beware:
At least my 128 ESR Version fakes the UA to Linux when privacy.resistFingerprinting
is on. This is even documented somewhere
Yeah, I tried in a fresh profile and I didn't have to tweak the user agent.

However, I still experience the following issues (ranked from just annoying to serious):
  1. There is a pop-up saying that a plugin is missing.
  2. Every time I join a call Teams ask me to give access to the microphone and camera and waits there for about a minute, even though the access has already been granted.
  3. In conference calls, I do not see video from other people or shared desktops, etc.
firefox-teams-missing-plugin-png.22582
 
I have also some news:

After setting media.peerconnection.ice.default_address_only from true to false I can
finally do a testcall which succeeds! Before doing the call (or a call somewhere else)
I see no devices (no speaker, no mic) but the call works (if I allow mic access).

The funny thing is the mic selection:

If privacy.resistFingerprinting is set to false I see only one mic (/dev/dsp0). If i select
this, and perform the call, I will see mic AND speaker and both are /dev/dsp0.

If resistFingerprinting is set to true (my default setting) I can select the mic but now I
have the choice between /dev/dsp0 and /dev/dsp1. In this case, after the call no
speaker is shown as selected but it still works...
 
Back
Top