Webcam not working properly in Teams PWA

Ubuntu Version:
24.04.4 LTS
KDE Plasma, Gnome

Hello,

I am experiencing a specific issue with webcams in the Microsoft Teams PWA on Ubuntu 24.04.4 LTS. Due to company conditional access settings, I am required to use Microsoft Edge (Version 145.0.3800.70).

The Problem: The cameras work perfectly in a Teams test call, as well as in other applications like Cheese, the native Teams client, or Firefox. However, in a real call, the cameras are detected but none of them provide a video stream.

Hardware:

  • Laptop: HP Powerbook (internal cam)

  • External: AUKEY webcam on USB

  • lsusb: Bus 001 Device 002: ID 0c45:6340 Microdia AUKEY PC-W1

Is this a known issue with Edge on Linux or specific to PWA permissions during active sessions? Changing version of Edge does not help.
Any help would be appreciated.

Thanks in advance!

Welcome to Ubuntu Discourse :slight_smile:

A quick search indicates this might be a specific issue with the PWA wrapper.

But, I am also confused: you say you are on KDE Plasma and GNOME?

Can we please check if you are on Wayland or X11:

echo $XDG_SESSION_TYPE

One possible troubleshooting step from the terminal:

microsoft-edge --disable-features=WebRtcPipeWireCapturer

Thanks,
yes, KDE and GNOME. Reason is that I installed Ubuntu and had some troubles with the Microsoft Intune app and then installed KDE to try.

echo $XDG_SESSION_TYPE
x11

microsoft-edge --disable-features=WebRtcPipeWireCapturer did not help :frowning:

Try switching to an X11 session to see if that makes a difference.

I am on X11.

echo $XDG_SESSION_TYPE
x11

Sorry, my bad. Not enough coffee.

And switching to Wayland?

Unfortunately exactly the same.

How did you install the Teams client?

Within Edge. When opening MS Teams there you may “install” the pwa right in the adress bar.

image

I would switch back to X11 and then try this:

Disable Hardware Acceleration.

edge://settings/system

Turn off:

Use graphics acceleration when available

Restart Edge fully.

Back to x11.
Hardware acceleration was switched of yesterday already. Sorry, forgotten to mention.

When you join a real meeting, what typically happens?

  1. Do others see a black box?
  2. Or does your camera indicator turn on but nobody sees video?
  3. Or does Teams immediately disable your camera?

For others it looks just as my cam is switched off.
Even in test calls, there sometimes comes a message (screenshot). Means, that the cam dows not perfect there. The same I get always during live meetings.

Just tested again with my colleague in a call. When I turn on the cam during the call, he sees my for half a second. Then off.