I am using Zoom WebSDK 2.3.5 in a electron app to show meetings in client view. After meeting is started if I click in share screen button than nothing happens.
Device: [e.g. Apple MacBook Pro (13-inch, M1)]
OS: [e.g. macOS Monterey 12.1 ]
I am also taking user screen recording permission to access screens. If you can help me with the information how to pass User screen video stream to zoom SDK.
tommy
(Tommy Gaessler)
May 25, 2022, 12:40am
2
Hey @rtitvilasi ,
Thanks for bringing up this issue. For some history checkout these threads:
opened 06:24PM - 18 Sep 20 UTC
closed 04:45PM - 09 Mar 21 UTC
bug
platform/all
blocked/need-repro
9-x-y
11-x-y
<!-- As an open source project with a dedicated but small maintainer team, it c… an sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can.
-->
### Preflight Checklist
* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.
### Issue Details
* **Electron Version:**
* version 9.2.1
* **Operating System:**
* macOS 10.15.6 and Windows 10?
* **Last Known Working Electron version:**
* N/A
### Expected Behavior
If you open https://us02web.zoom.us/wc/join/6515709131 in browser and turn on screen sharing you will notice that it works with no issues.
I would expect that given the appropriate permissions, opening this same link and screensharing in an Electron BrowserWindow would work.
### Actual Behavior
In an Electron BrowserWindow screen sharing seems to be broken for this same link.
I have tried this even from an application that has the appropriate screen recording permission
![image](https://user-images.githubusercontent.com/11020939/93629700-b4266280-f9b6-11ea-88a8-1c935ead6fc0.png)
And with the following plist
```
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.device.audio-input</key>
<true/>
<key>com.apple.security.device.camera</key>
<true/>
</dict>
</plist>
```
### To Reproduce
I've created an electron fiddle where I can reproduce the issue:
https://gist.github.com/emaciel10/248364905a771222ba42d07c3f621b9d
I've also created a small reproduction repo with this issue here with steps to reproduce in the readme
https://github.com/emaciel10/zoom-websdk-reproduction
Description
We are attempting to use the zoom websdk in an electron app. Specifically we are attempting to open a new BrowserWindow in electron with the url pointing to our zoom websdk app. Right now in browser the audio, video, and screensharing functionalities are working as expected. In our electron app, we have had to request permissions for access to camera and microphone on ios but now audio and video are working properly. Screensharing still does not work even though we have also updated…
Description
I have an electron app and need to share my screen. Upon loading the app I prompt the user for audio, video, and screen recording permissions if they have not already done so.
I am trying to start sharing my screen via the following function:
async startScreenShare(canvas: HTMLCanvasElement) {
const client = await this.client();
const stream = await client.getMediaStream();
return stream?.startShareScreen(canvas);
}
I can get a stream in the elect…
The fix is on our roadmap. Please stay tuned here: https://marketplace.zoom.us/docs/changelog
-Tommy
Hey @tommy . Thanks for the reply. I have checked these links. You said that desktop capturer dialog is in zoom roadmap for electron. Can you give me any rough estimate when can we have this feature because I can’t use Electron Websdk as I am using the WebSDK for my desktop app as well as my WebAPP.
It would be great if we get any date from your side that when this feature will be released.
tommy
(Tommy Gaessler)
June 1, 2022, 3:49pm
5
Hey @rtitvilasi ,
We don’t have a date set in stone, but we are working to fit it in to one of our upcoming releases.
Thanks,
Tommy
Ok @tommy , We will wait for that , till then do we have any hack to do it. Cause our product relies on this.
Thanks,
Rishabh
tommy
(Tommy Gaessler)
June 8, 2022, 7:12pm
7
Hey @rtitvilasi ,
Apart from using the macOS or Windows SDK directly, there is no workaround.
Thanks,
Tommy
system
(system)
Closed
July 30, 2022, 12:35am
10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
tommy
(Tommy Gaessler)
December 1, 2022, 12:18am
11
Hey @rtitvilasi ,
Screenshare within Electron is now supported in Client View version 2.9.5:
Best,
Tommy