mattermost-plugin-jitsi icon indicating copy to clipboard operation
mattermost-plugin-jitsi copied to clipboard

Unable to to enable video camera on Mac desktop when Jitsi is embedded

Open DHaussermann opened this issue 5 years ago • 13 comments

When using Jitsi with Embed Jitsi video inside Mattermost I'm not able to turn on my camera when using Mattermost Mac OS desktop client v4.5.0 Running build https://github.com/mattermost/mattermost-plugin-jitsi/commit/013533b3f7a835e4cb279a8b3c6cf119b6625038

I see the follow error message Screen Shot 2020-06-24 at 2 32 13 PM

  • This does not occur in Chrome or when Embed Jitsi video inside Mattermost is disabled
  • Occurs for me on both hosted and cloud version of Jitsi
  • On a diffrent Windows machine I don't see the issue

Seems possible I have some OS level issue causing this. Please see if you can reproduce. Steps:

  • Setup Jisti
  • Enable Embed Jitsi video inside Mattermost
  • Connect to server from desktop
  • Join a meeting

Observed

  • Camera remains disabled (normally turns on after a couple seconds)
  • Attempting to enable it shows a error in the Jisti UI

DHaussermann avatar Jun 24 '20 19:06 DHaussermann

@DHaussermann yes, looks like permissions related like the share screen problem seen before.

jespino avatar Jun 24 '20 20:06 jespino

I can explicitly try to request permissions using https://www.electronjs.org/docs/api/system-preferences#systempreferencesaskformediaaccessmediatype-macos

jespino avatar Jun 24 '20 20:06 jespino

Camera is working for me in desktop app 4.4.0 in Arch Linux, maybe is mac thing

jespino avatar Jun 24 '20 20:06 jespino

Please see some additional details here https://github.com/mattermost/desktop/issues/1330#issuecomment-649377999.

amyblais avatar Jun 25 '20 12:06 amyblais

Camera is working for me in desktop app 4.4.0 in Arch Linux, maybe is mac thing

Yes it is MacOS thing...App needs to be signed with entitlements

https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_device_camera https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_device_microphone

dpanic avatar Nov 20 '20 14:11 dpanic

Any news on this? It's a bit confusing switching to the web version in order to use the jitsi plugin

alefattorini avatar Feb 16 '21 15:02 alefattorini

Unsure if it helps, but in desktop app v4.6.2 we fixed an issue where macOS entitlements had not been enabled for using camera and microphone on the Desktop App for third-party plugins such as Jitsi -- https://docs.mattermost.com/help/apps/desktop-changelog.html#release-v4-6

amyblais avatar Feb 16 '21 16:02 amyblais

QA in my company tested, and it still doesn't work unfortunately

On Tue, Feb 16, 2021 at 5:00 PM Amy Blais [email protected] wrote:

Unsure if it helps, but in desktop app v4.6.2 we fixed an issue where macOS entitlements had not been enabled for using camera and microphone on the Desktop App for third-party plugins such as Jitsi -- https://docs.mattermost.com/help/apps/desktop-changelog.html#release-v4-6

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mattermost/mattermost-plugin-jitsi/issues/120#issuecomment-779933020, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACUTPIZGPUCAY7GU7JQHXTS7KJC7ANCNFSM4OHD2SQQ .

dpanic avatar Feb 19 '21 21:02 dpanic

I confirm that updating to version 4.6.2 works. I needed to reinstall the app (delete it and add new version) so the permissions can work.

Edit: Tested in in Mac OS Catalina 10.15.7.

estebanz01 avatar Feb 23 '21 22:02 estebanz01

@dpanic Did you test after reinstalling the app?

hanzei avatar May 27 '21 11:05 hanzei

Will retest. It didn't worked than (around March this year)

Screenshot from 2021-05-28 09-39-59

dpanic avatar May 28 '21 07:05 dpanic

@Willyfrog Any thoughts on this?

larkox avatar Jun 01 '21 07:06 larkox

if you never got any permission request might be because you already especified those permissions in the OS settings? that happened to me on big sur, if I chose not to permit access, I'd have to go to system preferences -> security & privacy -> camera and allow mattermost to use it. On catalina the path might be different.

Willyfrog avatar Jun 04 '21 09:06 Willyfrog