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

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: Changelog
-Tommy