Element-web: failure to get mic/camera permissions appears as (unknown failure: user_media_failed?

Created on 9 Nov 2017  ·  10Comments  ·  Source: vector-im/element-web

bug cannot-reproduce minor voip

Most helpful comment

I can confirm this using Firefox 57 on Linux. I can circumvent this by setting the firefox permissions for riot for Microphone and Camera from ”always ask” to ”allow“.

But another aspect of the problem is that I don't have a webcam, and it seems therefore video calls always return user_media_failed as Riot can't get a video stream. Would be nice if it worked with one-way video in that case, so the other person can show me something with their phone showing me their video stream while I sit in front of my desktop, together with two-way audio streams.

All 10 comments

I can confirm this using Firefox 57 on Linux. I can circumvent this by setting the firefox permissions for riot for Microphone and Camera from ”always ask” to ”allow“.

But another aspect of the problem is that I don't have a webcam, and it seems therefore video calls always return user_media_failed as Riot can't get a video stream. Would be nice if it worked with one-way video in that case, so the other person can show me something with their phone showing me their video stream while I sit in front of my desktop, together with two-way audio streams.

Same problem on Firefox 60 & Riot 0.15.3 - Riot don't ask for Microphone and Camera permissions, I only can force enable them via manual changing ”always ask” to ”allow“ in page permissions.

@florianjacob did you find any solution for your problem?

@MurzNN did you try pressing the Missing Media Permissions, click here to request. in Settings?

@t3chguy Yes, it shows the window:

No media permissions
You may need to manually permit Riot to access your microphone/webcam

with no permission popups in browser, same problem is with 0.15.4 version at https://riot.im/app/ and /develop.

which implies at an earlier point you pressed Deny do not ask again or your browser ignores the site requesting permissions. When you click that option riot fires a gUM (https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia) request for which the browser should prompt you. If it doesn't there is nothing riot can do further. The same call is used when making/answering a call to prompt you for permission.

In Riot webpage settings there are default "Always ask" instead of "Block" for riot.im website:

no actually its set to Use Default, which is a value specified elsewhere.
Specify it explicitly and try again

Discord on same browser asks permissions normally with same permission settings "Always ask": http://i.imgur.com/c6UKWTC.png

Same problem in Riot-web 0.15.4 on Kubuntu 18.04. In 0.13.5 everything works fine.

Was this page helpful?
0 / 5 - 0 ratings