Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera Permission for Jitsi Video Conference #1562

Closed
user1233445 opened this issue Mar 19, 2020 · 23 comments · Fixed by #1740
Closed

Camera Permission for Jitsi Video Conference #1562

user1233445 opened this issue Mar 19, 2020 · 23 comments · Fixed by #1740

Comments

@user1233445
Copy link

Hey,

we want to use the integrated video chat solution in RocketChat (macOS) via Jitsi. Unfortunately the sub program has no access to the internal camera. I don't know if this is a bug or if the program was distributed wrong from our side.

Screenshot 2020-03-19 at 15 43 40

Screenshot 2020-03-19 at 15 46 01

Information about the system:
macOS Version: 10.14.6
RocketChat Version: 2.17.9
RocketChat Server Version: 2.1.0

It seems that RocketChat does not get the Privacy Preference Policy Control for the Camera App. Do you have a tip for me on how to solve the problem?

@gabriellsh
Copy link
Member

Usually who asks for permission is jitsi. If you're using chrome, check your URL bar to the right and see if there isn't a camera symbol.

I found this tutorial too, it might help. Please, let us know if you can make it work.

If you can too, open Rocket.Chat in an anonymous window and see if it prompts for permission there. Thanks in advance.

@danielfariati
Copy link

It works on chrome, but it does not work inside the MacOS app.

@sysfu
Copy link

sysfu commented Mar 22, 2020

I can reproduce this problem on macOS 10.15.3 with Rocket.chat desktop app 2.17.9.

Going to try a PRAM reset as per this article and see if that resolves. https://discussions.apple.com/thread/251161369

@sysfu
Copy link

sysfu commented Mar 22, 2020

PRAM reset did not resolve. Right now I have Rocket.chat configured to launch Jitsi conference in a new window. I am able to get the camera working with Jitsi calls when using Rocket.chat in the Vivaldi browser, but not Safari.

@Pjirlip
Copy link

Pjirlip commented Mar 22, 2020

I can also reproduce this bug inside the MacOS app. (Current Version from AppStore / MacOS Mojave). Native Rocket.Chat WebRTC Audio/Video functions also doesn't work.

Rocket.Chat App is not listed in "System Settings > Security > camera/microphon" (Like it should) and doesn't ask for permission.

@borzaka
Copy link

borzaka commented Mar 24, 2020

I'am experiencing the same on Ubuntu with the native desktop app as well:
image
image

Client Setup Information

  • Desktop App: 2.17.9
  • Operating System: Ubuntu 18.04.4 LTS (5.3.0-42-generic)
  • Dell Latitude 5480 (webcam working in any other app)

@gabriellsh
Copy link
Member

This seems to be a Electron problem, I'll transfer this

@gabriellsh gabriellsh transferred this issue from RocketChat/Rocket.Chat Mar 25, 2020
@ramrami
Copy link

ramrami commented Mar 25, 2020

Also video messages are not working, so I don't think it's related to jitsi

@ramrami
Copy link

ramrami commented Mar 25, 2020

Trying to send a video message throws an error NotReadableError: Could not start video source. This error comes from the web app code in app/ui/client/lib/recorderjs/videoRecorder.js when calling navigator.mediaDevices.getUserMedia

@abhigyank
Copy link

@gabriellsh Would it better to open all Jitsi links in the browser instead?

@tobzsc
Copy link

tobzsc commented Apr 14, 2020

I do not think that this is the way to go. jitsi works best with chrome and firefox and safari seem to have issues. This way some users would still have issues. This is something which has to be fixed for the desktop app itself.

@gabriellsh
Copy link
Member

@gabriellsh Would it better to open all Jitsi links in the browser instead?

That's an admin option already.

I do not think that this is the way to go. jitsi works best with chrome and firefox and safari seem to have issues. This way some users would still have issues. This is something which has to be fixed for the desktop app itself.

You're right. Also because this is a shared feature, and makes way more sense for it to be used on the desktop app than in the web app (which works btw).

@autoize
Copy link

autoize commented Apr 14, 2020

@gabriellsh Would it better to open all Jitsi links in the browser instead?

That's an admin option already.

Unless mistaken the "open in new window" option only applies to users using Rocket Chat from a browser window. The Electron app does pop up a separate window for Jitsi, but using a WebView in Electron rather than a standard browser window.

Because the Electron app does not prompt for Camera or Microphone permission in Mac OS X Catalina, no audio or video is functioning. @abhigyank's suggestion was to open the Jitsi window in a standard Chrome window not within the Electron app.

@abhigyank
Copy link

abhigyank commented Apr 14, 2020

@gabriellsh Would it better to open all Jitsi links in the browser instead?

That's an admin option already.

But we do open it in an Electron Browser Window than in a browser? It is simpler for us to directly open in the browser rather than in electron window, this also ensures that it works all the time.
However, if we want to continue open in the electron window, that is also possible, we just have to prompt for camera and microphone permissions in the new window.

@gabriellsh
Copy link
Member

I actually assumed it opened in a new window. @tassoevan can we have your opinion here please?

@lightweight
Copy link

This is affecting me, too, in the desktop app, but for mike and video camera permissions for the BigBlueButton integration...

@sgrosse
Copy link

sgrosse commented May 8, 2020

@user1233445

It seems that RocketChat does not get the Privacy Preference Policy Control for the Camera App. Do you have a tip for me on how to solve the problem?

FYI: For me it was solved by installing the Rocket Chat app via App Store instead of using the dmg.

@autoize
Copy link

autoize commented May 8, 2020

Can confirm that installing RocketChat from the App Store makes camera and audio permissions work. Wondering if it can be resolved for the DMG if the developers sign the build with their key?

@tobzsc
Copy link

tobzsc commented May 8, 2020

Currently the Desktop app does not really seem to be maintained. There is no development going on since several weeks.

@bluealpha-dev
Copy link

bluealpha-dev commented May 29, 2020

We've the same problem with the webcam problem. Our Workaround is to use Rocket.Chat 2.17.7:
works under

  • Ubuntu 18.04 LTS
  • Ubuntu 20.04 LTS
  • Windows 10

@ankar84
Copy link

ankar84 commented Aug 17, 2020

We've the same problem with the webcam problem. Our Workaround is to use Rocket.Chat 2.17.7:
works under

  • Ubuntu 18.04 LTS
  • Ubuntu 20.04 LTS
  • Windows 10

Today one user come to me with mic issue on Windows 10 1709 and desktop version 2.17.7
image
In Chrome - all fine.
How can I fix that?

@ankar84
Copy link

ankar84 commented Aug 19, 2020

In Chrome - all fine.
How can I fix that?

It appeared to be some issue with antivirus software. When I unloaded antivirus - microphone was accessible to Rocket.Chat Electron application.

@tassoevan tassoevan added this to the 3.0.0 milestone Sep 2, 2020
@BenelliFurtado
Copy link

For me it worked under Ubuntu 20.04 (KDE Plasma 5) when installing it via Snap Store and then changing the permissions (Use camera) in snap store:

rocket_chat_permissions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.