teams.microsoft.com - Microphone and camera not working despite permission being granted (missing openh264 in new profile)
Categories
(Web Compatibility :: Site Reports, defect, P1)
Tracking
(Webcompat Priority:P1, Webcompat Score:5)
People
(Reporter: ctanase, Unassigned)
References
(Blocks 1 open bug, )
Details
(Keywords: webcompat:site-report, webcompat:site-wait, Whiteboard: [webcompat-source:web-bugs][webcompat:sightline])
User Story
platform:windows,mac,linux impact:workflow-broken configuration:general affects:few branch:release diagnosis-team:video-conferencing user-impact-score:120
Attachments
(7 files)
Environment:
Operating system: Windows 10
Firefox version: Firefox 131.0/130/132
Steps to reproduce:
- Join any teams meeting (or access this link https://teams.microsoft.com/v2/?meetingjoin=true#/l/meetup-join/19:meeting_Zjg2ZGU5NzItNDM5My00YmJhLWFhN2QtMWM5OWJkYjZmYjcy@thread.v2/0?context=%7b%22Tid%22%3a%22bdeb2b64-b8d3-4633-bf4f-9bfd1e3e45d2%22%2c%22Oid%22%3a%2290adba6a-73d7-416b-8a34-f55f34a7a608%22%7d&anon=true&deeplinkId=8e87eb8e-bba4-4b17-87a0-6f39660864cc )
- Grant permission for Microphone/Camera when prompted.
- Attempt to enable Camera/Microphone.
Expected Behavior:
Camera/Microphone can be enabled and works.
Actual Behavior:
Camera/Microphone cannot be enabled, buttons are grayed out. (in some cases it can be enabled but the camera preview will be blank)
Notes:
- Reproduces regardless of the status of ETP
- Reproduces in Firefox Nightly, and Firefox Release
- Does not reproduce in Chrome
Created from https://github.com/webcompat/web-bugs/issues/141823
| Reporter | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Comment 2•1 year ago
•
|
||
Is this still happening? I am not able to reproduce it on mac or Windows 10 (Logitech BRIO camera). If you have an opportunity could you also try it in Firefox 132?
Comment 3•1 year ago
|
||
Working on a Mac as well in Firefox Nightly.
| Reporter | ||
Comment 4•1 year ago
|
||
It reproduces on and off for me and it seems to reproduce on first load every time on a clean profile. (on Windows on the latest Firefox Release, Beta and Nightly)
When only the permission for webcam is shown, it will be broken. Usually if I refresh the page it will appear to allow both microphone and webcam and it will work as expected.
Updated•1 year ago
|
Comment 5•1 year ago
|
||
I have experienced this as well over the last few months when joining a meeting as an online guest (using a browser rather than the Teams app). It is intermittent for me as well, and usually resolves when I refresh. The refresh acts triggers a fresh entry into the meeting, which makes the meeting host have to manually re-admit me.
I am on Windows 11 Pro build 22631.4317.
My Firefox browser says its up to date: build 131.0.3 (64-bit).
FYI: Unfortunately I won't be able to be provide fast turnaround on testing feedback since this is the only meeting I have on Teams, and it occurs monthly.
Updated•1 year ago
|
Comment 7•1 year ago
|
||
Can you retry this? @jib has been having troubles reproducing it
| Reporter | ||
Comment 8•1 year ago
•
|
||
With the steps to reproduce this is the behavior I'm experiencing on both latest Nightly and Release (check attachment).
On first load there's a pop-up asking "Are you sure you don't want audio or video?". I Click "OK" and then I'm prompted to allow microphone and video but the toggle is still OFF after allowing them, I have to manually turn them ON. This behavior does not reproduce on Chrome.
Comment 9•1 year ago
•
|
||
Hi Calin, do you have multiple cameras (even virtual ones) by any chance? To check, would you mind typing this into web console and pasting the result?
(await navigator.mediaDevices.getUserMedia({video: true}), await navigator.mediaDevices.enumerateDevices())
I'm not able to repro myself. But I did notice that teams prompts for a different camera in this lobby (a virtual LogiCapture device that somehow got into my camera list in Windows only) than in the actual meeting. In my case, this other camera works, but if it didn't it might be a part of the puzzle here and perhaps explain the symptom you're seeing.
This wouldn't be the first time a "not working" problem turns out to be a website selection problem (bug 1934341 comment 3).
| Reporter | ||
Comment 10•1 year ago
|
||
No, just using the integrated webcam at the time of testing. Tried with an external webcam as well, same behavior.
Comment 11•1 year ago
|
||
Raised with the teams folks, waiting until we have a chance to follow up with them.
Comment 12•1 year ago
|
||
I used to have a problem like this (mic not working in Teams) and at that moment (end of May 2024) it looked like Teams did not see my microphone if the microphone was muted when the page loaded. Does not reproduce with nightlies from around that time, so I think something has changed on the Teams side since then.
Gentoo Linux, Firefox Nightly, Pipewire.
Comment 14•1 year ago
•
|
||
This seems like an app logic bug.
I'm able to repro reliably on Windows 10 on first load with a clean profile. The webpage immediately shows the "Are you sure you don't want audio or video?" dialog above. The in-content camera toggle stays disabled, an end-state with no way out but to refresh the page.
I took a profile https://share.firefox.dev/3BPFBdb showing only enumerateDevices has been called (which appears successful). But the webpage has made no attempt to call getUserMedia at this point. This suggests an app logic bug.
Another way to enter this state reliably is to wait 80 seconds at the Firefox permission prompt (the app appears to implement some timeout logic).
In both cases it seems wrong to disable the button, as calling getUserMedia() would have worked fine (confirmed by typing await navigator.mediaDevices.getUserMedia({video: true, audio: true} into web console).
Comment 15•1 year ago
|
||
Side-note: the other case where blank video appears is something else: Windows limits camera access to one process at a time, so examples with Firefox and Chrome racing each other side-by-side will never show camera in both (whichever happens to load first wins).
This is expected on Windows. The losing browser/webpage gets an AbortError from getUserMedia in this case after the prompt. This is distinct from NotAllowedError ahead of prompt.
I mention this to illustrate that camera access can be fickle on certain platforms, so apps are encouraged to be resilient to such failures and not treat them as fatal end-states (even permission blocks can be transient if the user clears them from the url bar).
Comment 16•1 year ago
|
||
We've been working with the teams group to try and figure this out.
Updated•1 year ago
|
Comment 17•11 months ago
|
||
I might be seeing similar behavior with Jitsi. It looks like this started since I used an external webcam on my laptop. But even when I disconnect it, I cannot enable a camera anymore in Jitsi.
I also tested on teams.microsoft.com, and also on that website Firefox seems not to detect the webcam.
So, I experience this problem both in Jitsi and Teams.
Comment 18•11 months ago
|
||
Are you able to reproduce this in Chrome? If not, any idea why?
Comment 19•11 months ago
|
||
Hi Jan, sorry you're having issues in both Jitsi and Teams, but this sounds like a separate issue (device specific). Would you mind filing a separate bug with information about your system and camera, so we can track it separately? Also, does it work here?
Comment 20•11 months ago
|
||
I reported a separate bug: Bug 1945597.
Comment 21•11 months ago
|
||
Chatted with the Team team today. They are going to take a look. Key STR here -
- Windows specific
- Tends to happen in a clean profile (you can create these in Firefox through about:profiles)
- Happens in the main lobby prior to entering a meeting. The dialog you see is in comment 14.
Updated•11 months ago
|
Updated•10 months ago
|
Updated•8 months ago
|
Comment 23•8 months ago
|
||
Hey Jim and Jan-Ivar - Have we gotten any update from MS Teams? Or any other leads? (It's been 3 months since we flagged this to them.) This is currently our third top webcompat bug (across Firefox).
Comment 24•8 months ago
•
|
||
Since this is tied to a fresh profile, I wonder if this has something to do with a missing openh264 gmp at startup. We don't prompt during the install of the plugin, you just have to wait a bit and check the plugins sections to be sure. If this is the case than this bug is less severe that it might seem.
Comment 25•8 months ago
•
|
||
Calin, would you mind testing a bit more in a fresh profile and checking the about:addons plugin section for the openh264 plugin? For more robust info you can set 'media.gmp.log.level' set to 5 and check the console for plugin update information. I'm curious if we see this after we know openh264 has been downloaded and installed.
| Reporter | ||
Comment 26•8 months ago
|
||
Well, I've tested on a new profile and it showed "openh264" was getting installed and I tried reproducing the issue after the installation was finished.
Seems to work as expected now on both Release and Nightly with the old meeting link (provided in the STR) but it won't work when trying to join on new meeting links, on Chrome seems to work correctly.
| Reporter | ||
Comment 27•8 months ago
|
||
The console log when I tried to reproduce the issue with the new meeting link, as explained in my previous comment.
Comment 28•8 months ago
•
|
||
(In reply to Calin Tanase from comment #27)
Created attachment 9490968 [details]
Console log Nightly v141The console log when I tried to reproduce the issue with the new meeting link, as explained in my previous comment.
This is a live.com link, which is a separate service. Not working there is known, they keep saying they will migrate these services together but so far that hasn't happened. We'll check in with them next time we get together.
Updated•8 months ago
|
Updated•8 months ago
|
Comment 29•7 months ago
|
||
Resolving as Invalid since this is due to the short delay to install OpenH264 after installing and starting Firefox for the first time in a new profile. As per comment 28, live.com is a separate issue. Thanks for all the work and testing! Good catch Jim!
Comment 30•7 months ago
|
||
I'm not convinced this is INVALID. The user experience is still bad if you happen to run into this situation. I'll retriage as affects:few but I still think we could do better here.
Updated•7 months ago
|
Comment 31•5 months ago
•
|
||
I expect platform encoding and decoding support to mitigate this for the most part.
Updated•4 months ago
|
Description
•