element-hq / element-web

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

Unable to get permissions for camera and microphone when using custom widget with UTL to jitsi conference room. #14915

Open erikderzweite opened 4 years ago

erikderzweite commented 4 years ago

Description

I'm trying to integrate a widget to my own jitsi server into a room. Creating a custom widget works, but I am unable to use camera and microphone, I get "Error obtainig microphone/camera permission" message. This is true for web client as well as desktop client.

riot.im's Jitsi widget does not have the permissions problem and works. But if I add same jitsi.riot.im URL via custom widget then I cannot set permissions as well.

Steps to reproduce

Logs being sent: no

Version information

For the web app:

For the desktop app:

jryans commented 4 years ago

@turt2live Any guess what might be happening here?

MaximumSU commented 3 years ago

The same on Windows desktop/Chrome/Firefox. Error message in Console is: s {gum: {…}, name: "gum.permission_denied", message: "User denied permission to use device(s): audio", stack: "Error↵ at new s (https://jitsi_domain/libs/lib-jitsi-meet.min.js?v=4428:1:93352"} but it not asked for permissions.

t3chguy commented 3 years ago

Sounds like you denied the permissions directly on the jitsi_domain at some point in the past. Check your browser settings

MaximumSU commented 3 years ago

@t3chguy No. If i open the widget link directly in the browser's window - no problem, all works, as expected.

ghost commented 3 years ago

having the same problem on the desktop client with my jitsi meet instance

erikderzweite commented 3 years ago

As my client is self-hosted a workaround has been to switch to Dimension integration server. Works for Element-Desktop as well.

ngaumont commented 2 years ago

Hi,

I face the same problem with another videoconference platform (https://whereby.com/). I don't know how to get the widget to access my microphone and camera.

Does someone have an idea to workaround this ?