RocketChat / Rocket.Chat.Electron

Official OSX, Windows, and Linux Desktop Clients for Rocket.Chat
https://rocket.chat/
MIT License
1.57k stars 696 forks source link

Screensharing via jitsi does not work via snap #2385

Open neurolabs opened 2 years ago

neurolabs commented 2 years ago

My Setup

Description

I can't share my screen in a jitsi video call.

I have taken a look at the snap permissions, can't identify an issue there (had to enable camera manually for video to work in jitsi):

$ snap connections rocketchat-desktop 
Interface                 Plug                                       Slot                             Notes
audio-playback            rocketchat-desktop:audio-playback          :audio-playback                  -
audio-record              rocketchat-desktop:audio-record            -                                -
browser-support           rocketchat-desktop:browser-support         :browser-support                 -
camera                    rocketchat-desktop:camera                  :camera                          manual
content[gnome-3-28-1804]  rocketchat-desktop:gnome-3-28-1804         gnome-3-28-1804:gnome-3-28-1804  -
content[gtk-3-themes]     rocketchat-desktop:gtk-3-themes            gtk-common-themes:gtk-3-themes   -
content[icon-themes]      rocketchat-desktop:icon-themes             gtk-common-themes:icon-themes    -
content[sound-themes]     rocketchat-desktop:sound-themes            gtk-common-themes:sound-themes   -
desktop                   rocketchat-desktop:desktop                 :desktop                         -
desktop-legacy            rocketchat-desktop:desktop-legacy          :desktop-legacy                  -
gsettings                 rocketchat-desktop:gsettings               :gsettings                       -
home                      rocketchat-desktop:home                    :home                            -
network                   rocketchat-desktop:network                 :network                         -
opengl                    rocketchat-desktop:opengl                  :opengl                          -
pulseaudio                rocketchat-desktop:pulseaudio              :pulseaudio                      -
screen-inhibit-control    rocketchat-desktop:screen-inhibit-control  :screen-inhibit-control          -
unity7                    rocketchat-desktop:unity7                  :unity7                          -
upower-observe            rocketchat-desktop:upower-observe          :upower-observe                  -
x11                       rocketchat-desktop:x11                     :x11                             -

Current Behavior

There's no desktop or window to select in the selection dialog for what to share.

Expected Behavior

It should behave as it does in a browser, showing windows and desktops to select for sharing.

jeanfbrito commented 2 years ago

You will need to enable the permission on the snap store. I don't know why but it doesn't enables by default.

neurolabs commented 2 years ago

@jeanfbrito thanks, but which one? They are all enabled AFAICS snap-store-permissions The one that is disabled (record audio) is not enablable. And recording audio works in jitsi video calls inside of Rocket.Chat.

meveric commented 2 years ago

This is a bug in Rocket Chat Server not Rocket Electron app. https://github.com/RocketChat/Rocket.Chat/issues/25112

Although using Rocket.Chat.Electron 3.6.0 or below, will also result in a working version (apparently permissions where not checked correctly in older versions).

helloworld466 commented 1 year ago

Facing issues in screen sharing using the desktop app.

It was initially working for me as expected. When I do the screen sharing for the first time using the desktop app from windows, a pop-up comes asking for the permission. But for other team members, there weren't any such pop-ups appeared. After I tried to uninstall and re-install the desktop app, it doesn't work for me either.

image