element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.13k stars 1.98k forks source link

No audio outputs detected in firefox #26235

Open razzeee opened 1 year ago

razzeee commented 1 year ago

Steps to reproduce

  1. Use firefox
  2. Settings -> Voice & Video

Left side chrome, right side firefox image

Outcome

What did you expect?

Being able to select the output device

What happened instead?

Not being able to select it

This might be an issue on the firefox side of things or maybe they separated incoming and outcoming permissions and element only requests one of those?

Operating system

Fedora Linux

Browser information

Firefox 117.0.1

URL for webapp

Using a server, I've just updated via https://github.com/spantaleev/matrix-docker-ansible-deploy/tree/dc595bf10ed9686664f1008129d4a860bdfc39fe

Application version

Element version: 1.11.43 Olm version: 3.2.14

Homeserver

Synapse

Will you send logs?

No

t3chguy commented 1 year ago

Will you send logs?

Please send logs.

razzeee commented 1 year ago

Will you send logs?

Please send logs.

Done

t3chguy commented 1 year ago

Does your firefox have media.setsinkid.enabled in about:config?

razzeee commented 1 year ago

I realized, that it works on element.io after a reload.

I then went into our setup, and removed the permissions I (presumably) set at some point. If I go to that tab again, it requests the permissions a new. If I then allow everything, it seems fine. So I guess there was an old permission blocking asking for newer ones.

I think the question here is, if this was changed, as I think originally, there was no output selection. Maybe it wasn't asked for in the old permission and thus element got confused.

Does your firefox have media.setsinkid.enabled in about:config?

yes

t3chguy commented 1 year ago

I think the question here is, if this was changed, as I think originally, there was no output selection. Maybe it wasn't asked for in the old permission and thus element got confused.

That isn't a thing - you ask for audio &/ video, not input vs output. https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia

razzeee commented 1 year ago

Feared that would be the case, no idea, how to get back to that broken state then. I've tried to remove the permissions and block them at various points, but no dice.