Rocket.chat: Can't grant video and audio permissions to Rocket Chat when using Jitsi Videobridge

Created on 28 Nov 2017  路  15Comments  路  Source: RocketChat/Rocket.Chat

Description:

When using Jitsi Meet for conference calls in Rocket Chat, it does not work unless it is used in a new window. When the video chat is embedded in the Rocket Chat page, Jitsi opens with two errors: "Failed to access your microphone" and "Failed to access your camera". Jitsi is open, but with no video or audio. Furthermore, there is no way for me to grant the page permissions to use Camera or Microphone (tested in Chrome and Firefox).
However, if I choose the Admin option to have Jitsi open in a new window, the popup requests permissions for Jitsi and it works fine.
How do I use Jitsi embedded in the page?

Server Setup Information:

  • Version of Rocket.Chat Server: 1188
  • Operating System: Ubuntu 16.04
  • Deployment Method(snap/docker/tar/etc): snap
  • Number of Running Instances: 1

Steps to Reproduce:

  1. Enable Video Conference feature
  2. Use default setting of "False" for "Always open in new window"
  3. Join chat
  4. There is no way to grant browser camera and mic for embedded Jitsi chat

Expected behavior:

Browser should prompt user to allow Camera and Mic access on page for the embedded Jitsi app. On granting access Jitsi should function as normal.

Actual behavior:

Joining chat does not cause browser to prompt user. Jitsi opens with 2 errors saying it has failed to use camera and mic. It is not possible to grant permissions to Jitsi either through its own settings (options grayed out) or via browser settings (options either grayed out or not present)

video conferencing bug

Most helpful comment

Same problem here in the Rocket.Chat app for macos.
Maybe add an option to open the call in the default browser?

All 15 comments

I am having this same issue, it looks like its related to this

https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-permissions-in-cross-origin-iframes

Not sure how to take this any further, as it looks like an issue with how rocket chat requests permissions for certain things.

I have the same issue. I assumed it was a snap issue, as that is how I installed rocketchat. Version 2.7.0, linux mint. Works correctly within firefox.

Interesting. Removed the snap variant. Installed the newest debi from rocketchat main site (v2.10.5). Now have access to my mic and camera again.

Having the same problem. snap build.

Rocket.Chat
Version 0.66.3
Database Migration  129
Database Migration Date 
Installed at    Sun Jul 29 2018 14:27:25 GMT-0500 (Central Daylight Time)
Uptime  19 hours, 59 minutes, 40 seconds
Deployment ID   skE3mPkvYPoPni5eC
PID 5645
Running Instances   1
OpLog   Enabled
Commit
Hash    9c8265045c3c89ae3a32b49eeff0c612dab2cfad
Date    Mon Jul 9 22:13:55 2018 -0300
Branch  HEAD
Tag 0.66.3
Author  Diego Sampaio
Subject Merge pull request #11410 from RocketChat/release-0.66.3
Runtime Environment
OS Type Linux
OS Platform linux
OS Arch x64
OS Release  4.15.13-x86_64-linode106
Node Version    v8.11.3
OS Uptime   13 days, 21 hours, 14 minutes, 41 seconds
OS Load Average 0.30, 0.43, 0.36
OS Total Memory 7.78 GB
OS Free Memory  969.15 MB
OS CPU Count    4
Build Environment
OS Platform linux
OS Arch x64
OS Release  4.4.0-130-generic
Node Version    v8.11.3
Date    July 9, 2018 8:24 PM```

Browsers:

Chrome Version 67.0.3396.99 (Official Build) (64-bit)

and

Brave: 0.23.39
V8: 6.7.288.46
rev: a38be75ccb0f699f507b66c4d44b3b21d1677e25
Muon: 7.1.6
OS Release: 6.1.7601
Update Channel: Release
OS Architecture: x64
OS Platform: Microsoft Windows
Node.js: 7.9.0
Brave Sync: v1.4.2
libchromiumcontent: 67.0.3396.103```

Had the same issue, installed via Ubuntu Snap, was able to solve it. Setup Jitsi, no alert to ask for permissions to access microphone or camera (Chrome 68). Firefox asked for permissions however.

The Fix: I had to follow the instructions https://rocket.chat/docs/installation/manual-installation/ubuntu/snaps/autossl/ to enable Auto SSL with snaps. Once I had done this, Jitsi worked in Chrome and correctly asked for permissions.

RocketChat Version | 0.68.3
Ubuntu Version | 18.04 LTS

EDIT 5/20/19 - Fixed broken link.

hey,
i have the same problem, sadly the given link is dead..

Same problem and @rkanson that link is dead

same problem - does really nobody care?

Same problem here in the Rocket.Chat app for macos.
Maybe add an option to open the call in the default browser?

just use the .deb packages. The bug / problem is in snap.

just use the .deb packages. The bug / problem is in snap.

I'm using the macos client. Workaround for me is using the browser webapp.

I have the same problem, MacOS Catalina, from the App, in google chrome works ok

Same issue with mic not granted on MacOS Mojave using Rocket.Chat app.
Can you check please this issue and find a way for us to be able to grant access to mic and video.
Using Rocket.Chat server 3.0.12.

just use the .deb packages. The bug / problem is in snap.

Can someone point me towards the documentation for installing from .deb packages or to where the .deb packages are hosted

On MacOS Catalina I only cannot grant access to video for the RocketChat app. However in the system preferences I was able to activate the microphone for the RocketChat app (by granting access to RocketChat at Security - Privacy - Microphone).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Buzzele picture Buzzele  路  3Comments

karlprieb picture karlprieb  路  3Comments

sta-szek picture sta-szek  路  3Comments

mattlin picture mattlin  路  3Comments

Buzzele picture Buzzele  路  3Comments