Rocket.Chat.Electron icon indicating copy to clipboard operation
Rocket.Chat.Electron copied to clipboard

Screensharing via jitsi does not work via snap

Open neurolabs opened this issue 2 years ago • 4 comments

My Setup

  • Operating System: Debian bookworm

  • App Version: 3.8.1

  • Installation type: snap

  • Desktop Environment: i3

  • [x] I have tested with the latest version

  • [x] I can simulate the issue easily

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.

neurolabs avatar Apr 11 '22 08:04 neurolabs

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

jeanfbrito avatar Apr 14 '22 18:04 jeanfbrito

@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.

neurolabs avatar Apr 15 '22 06:04 neurolabs

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).

meveric avatar Apr 26 '22 14:04 meveric

Facing issues in screen sharing using the desktop app.

  • Version of Rocket.Chat Server: 5.4.2
  • Operating System: 22.04.1 LTS (Jammy Jellyfish)
  • Deployment Method: Snap
  • Desktop App: 3.8.16

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

helloworld466 avatar Feb 13 '23 13:02 helloworld466