hello. I installed rocketcat on my server. Configured according to the instructions. Configured my Jitsi server. I registered all the settings in the Rocket Chat Admin panel. But I’m having problems with this tandem. In particular: When a video call is made from a chat window (1-1 or by a team of people), the “screen sharing” does not work! The same thing is observed in Rocketcat applications on mobile platforms. The “Screen sharing” works only if you configure Rocket Chat to display the video conference “in a separate window”. Then a separate jitsi browser window opens on the PC and the “Screen sharing” works, and all participants see it. But from a mobile device, “Screen sharing” does not work from the RocketChat application - it only works from the browser. How to fix it?
In order to help, we’ll need to reproduce this on latest version, on a fresh install.
Also, you will need to provide those steps, so we can reproduce this behavior and hand it over to our team, IF when can reproduce and make sure this is a bug, not a configuration or deployment issue.
Opening Meeting in Browser works like a charm, but opening Meeting within Rocketchat leads to not loading Screens. From Dev Tools we can find missing Dependency obtainDesktopStreams :
2023-02-24T06:36:16.932Z [features/desktop-picker] Called JitsiMeetElectron.obtainDesktopStreams but it is not defined
Logger.js:154 2023-02-24T06:36:16.933Z [JitsiMeetJS.ts] <Object.getGlobalOnErrorHandler>: UnhandledError: Called JitsiMeetElectron.obtainDesktopStreams but it is not defined Script: null Line: null Column: null StackTrace: Error: Called JitsiMeetElectron.obtainDesktopStreams but it is not defined
at /libs/app.bundle.min.js?v=6943:178:638493
at new Promise ()
at e.length.thumbnailSize (/libs/app.bundle.min.js?v=6943:178:638280)
at Wce._updateSources (/libs/app.bundle.min.js?v=6943:178:638735)
Uncaught (in promise) Error: Called JitsiMeetElectron.obtainDesktopStreams but it is not defined
at functions.ts:31:35
at new Promise ()
at e.length.thumbnailSize (functions.ts:19:12)
at Wce._updateSources (DesktopPicker.tsx:280:13)
Just adding my voice to this as i seem to be having the same issue with the same error message.
“JitsiMeetElectron.obtainDesktopStreams but it is not defined”
From browser the desktop sharing works fine via Jitsi, but from within the Windows(10 or 11) Desktop application ver 3.8.16 it will just hang their repeating the error until the sharing dialog is closed.
(You can work around this by in inside the rocket.chat program, disabling the option to ‘open video chat using application window’)
disabling the option to ‘open video chat using application window’ is not a perfect workaround as every user needs to set it on its own but thanks for the hint.
To fix the issue with screen sharing in Rocket Chat when using the Jitsi integration, there are a few potential solutions to try. First, check that the Jitsi server is configured correctly and that the necessary modules for screen sharing are enabled. Double-check the settings in the Rocket Chat admin panel to ensure they are accurate and up-to-date. If the issue persists, try updating Rocket Chat to the latest version or using a different browser or device. If none of these solutions work, contact Rocket Chat support for further assistance.