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

Black screen while screen sharing in version 3.9.11

Open brf153 opened this issue 1 year ago • 3 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

Operating System

  • [ ] macOS
  • [ ] Windows
  • [X] Linux

Operating System Version

Ubuntu 22.04

It happens on the web browser too?

No, it just happens on the Desktop app

Rocket.Chat Desktop App Version

3.9.11

Rocket.Chat Server Version

6.5

Describe the bug

Black screen while screen sharing(for entire screen). It works for application window.

As seen from my Desktop app: Screenshot from 2023-12-03 12-56-00

As seen from my mobile when I joined the meet: WhatsApp Image 2023-12-03 at 12 48 47

How to Reproduce

Just make a video call in any group and try to share screen (share the entire screen)

Describe your Expected behavior

It should share the entire screen and not display a black screen. It works in the browser; you can check it there for a sample.

Anything else

No response

Are you willing to submit a code contribution?

  • [X] Yes, I am willing to submit a Pull Request!

brf153 avatar Dec 03 '23 07:12 brf153

Hello Team Rocket.Chat, may I work on this issue? I would be delighted to contribute to it.

brf153 avatar Dec 03 '23 07:12 brf153

@jeanfbrito sir I'm experiencing an issue while debugging my Electron app during screen sharing. When I share the screen, two screens appear. I've opened the DevTools for both screens. While the console logs for the Rocket.Chat desktop app are working fine, the other screen, which displays the options "Your entire screen" and "Application window" after clicking "Share your screen," does not show my console.log statements.

I've added console.log("Hello world") in the files inside the "videoCallWindow" folder, including ipc.ts, screenSharePicker.ts, video-call-window.ts, and videoCallWindow.ts. Despite this, the console does not display 'Hello world.'

How can I resolve this issue?

brf153 avatar Dec 03 '23 10:12 brf153

@brf153 in settings view, please click on: image

Lets see if it asks for permission then.

jeanfbrito avatar Feb 09 '24 18:02 jeanfbrito