# Mac SDK cannot share screen in electron。

**URL:** <https://devforum.zoom.us/t/mac-sdk-cannot-share-screen-in-electron/4077>\
**Category:** Electron\
**Created:** [April 29, 2019, 2:44am UTC](https://devforum.zoom.us/t/mac-sdk-cannot-share-screen-in-electron/4077 "2019-04-29T02:44:29Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![8889999i](https://avatars.discourse-cdn.com/v4/letter/8/90ced4/32.png) [@8889999i](https://devforum.zoom.us/u/8889999i)\
**Post date:** [April 29, 2019, 2:44am UTC](https://devforum.zoom.us/t/mac-sdk-cannot-share-screen-in-electron/4077/1 "2019-04-29T02:44:29Z")

</div>

**Description**  
Mac SDK cannot share screen in electron。

**Which version?**  
zoom-macsdk-electron-4.3.47193.0321

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

 ![QQ20190429-100218](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/aec6a0eb7cb0cf5a80781c067e1ec6e995cad222.png)  
 ![QQ20190429-100309](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/c4115928d99cd7d5bbebaa83e75417669120218a.png)  
 ![QQ20190429-100345](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/089e553789e8a9a6845c899d3dcb1a01132f41a2.png)  
**Screenshots**  
If applicable, add screenshots to help explain your problem.  
 ![errer](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/f959de52b8ad405a79f34f5280ef224e1e672f4d.png)

**Additional context**  
Add any other context about the problem here.![QQ20190429-100345|528x96]

 ![FD8A47F2-18E7-4AF2-BEC5-E86BD60E12A8](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/448cb544f030e19422adac167a76a1aab54570f3.jpeg)

The onMeetingStatus function is not called because the meetingService Delegate callback is not invoked.

---

<div class="post-metadata">

**Author:** ![Derain\_Yuan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/derain_yuan/32/558_2.png) [@Derain\_Yuan](https://devforum.zoom.us/u/Derain_Yuan)\
**Post date:** [April 29, 2019, 7:18am UTC](https://devforum.zoom.us/t/mac-sdk-cannot-share-screen-in-electron/4077/2 "2019-04-29T07:18:42Z")

</div>

You can’t share without being in the meeting. Please refer to our demo code, do meeting action in the correct sequence.

---

<div class="post-metadata">

**Author:** ![8889999i](https://avatars.discourse-cdn.com/v4/letter/8/90ced4/32.png) [@8889999i](https://devforum.zoom.us/u/8889999i)\
**Post date:** [April 29, 2019, 7:40am UTC](https://devforum.zoom.us/t/mac-sdk-cannot-share-screen-in-electron/4077/3 "2019-04-29T07:40:50Z")

</div>

I want to share on the electron screen like this  
Click and enter the meeting number to share directly

 ![sharesrc](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/e1de068fc7ef5768dc9eecd141814a031a1256d8.png)  
 ![nmb](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/96ad11b45a43b95e79dfa394cc004edfa8b437f3.jpeg)

---

<div class="post-metadata">

**Author:** ![8889999i](https://avatars.discourse-cdn.com/v4/letter/8/90ced4/32.png) [@8889999i](https://devforum.zoom.us/u/8889999i)\
**Post date:** [April 29, 2019, 7:41am UTC](https://devforum.zoom.us/t/mac-sdk-cannot-share-screen-in-electron/4077/4 "2019-04-29T07:41:43Z")

</div>

@Derain_Yuan Thank you

---

<div class="post-metadata">

**Author:** ![8889999i](https://avatars.discourse-cdn.com/v4/letter/8/90ced4/32.png) [@8889999i](https://devforum.zoom.us/u/8889999i)\
**Post date:** [April 29, 2019, 7:43am UTC](https://devforum.zoom.us/t/mac-sdk-cannot-share-screen-in-electron/4077/5 "2019-04-29T07:43:35Z")

</div>

![nmb](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/51985c43b186fe5d122470212960cac2a86cf122.png)

like this

---

<div class="post-metadata">

**Author:** ![Derain\_Yuan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/derain_yuan/32/558_2.png) [@Derain\_Yuan](https://devforum.zoom.us/u/Derain_Yuan)\
**Post date:** [April 29, 2019, 8:05am UTC](https://devforum.zoom.us/t/mac-sdk-cannot-share-screen-in-electron/4077/6 "2019-04-29T08:05:37Z")

</div>

This is direct share feature, not share screen feature.

Please refer to api ‘- (ZoomSDKDirectShareHelper\*)getDirectShareHelper’ and class ‘ZoomSDKDirectShareHelper’, ‘ZoomSDKDirectShareHandler’, call back delegate ‘ZoomSDKDirectShareHelperDelegate’ in ZoomSDKPremeetingService.h.

Electron SDK doesn’t have the demo code, you should write the js wrappper code by yourself.

---

<div class="post-metadata">

**Author:** ![8889999i](https://avatars.discourse-cdn.com/v4/letter/8/90ced4/32.png) [@8889999i](https://devforum.zoom.us/u/8889999i)\
**Post date:** [April 29, 2019, 8:08am UTC](https://devforum.zoom.us/t/mac-sdk-cannot-share-screen-in-electron/4077/7 "2019-04-29T08:08:00Z")

</div>

Thank you for your patient answer @Derain_Yuan

---

<div class="post-metadata">

**Author:** ![8889999i](https://avatars.discourse-cdn.com/v4/letter/8/90ced4/32.png) [@8889999i](https://devforum.zoom.us/u/8889999i)\
**Post date:** [April 29, 2019, 8:11am UTC](https://devforum.zoom.us/t/mac-sdk-cannot-share-screen-in-electron/4077/8 "2019-04-29T08:11:14Z")

</div>

Which API is invoked to invoke this window?

 ![anpai](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/6f6a5ecd6262c59e4421839db840c7f0d9d4e5f2.png)  
@Derain_Yuan

---

<div class="post-metadata">

**Author:** ![Derain\_Yuan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/derain_yuan/32/558_2.png) [@Derain\_Yuan](https://devforum.zoom.us/u/Derain_Yuan)\
**Post date:** [April 29, 2019, 9:05am UTC](https://devforum.zoom.us/t/mac-sdk-cannot-share-screen-in-electron/4077/9 "2019-04-29T09:05:45Z")

</div>

- (ZoomSDKError)showScheduleEditMeetingWindow:(BOOL)show Window:(NSWindow\*\*)window MeetingID:(long long)meetingUniqueID

Please refer to our api doc.

---

<div class="post-metadata">

**Author:** ![8889999i](https://avatars.discourse-cdn.com/v4/letter/8/90ced4/32.png) [@8889999i](https://devforum.zoom.us/u/8889999i)\
**Post date:** [April 29, 2019, 9:14am UTC](https://devforum.zoom.us/t/mac-sdk-cannot-share-screen-in-electron/4077/10 "2019-04-29T09:14:17Z")

</div>

Thank you for your patient answer @Derain_Yuan

---

<div class="post-metadata">

**Author:** ![wangh](https://avatars.discourse-cdn.com/v4/letter/w/e495f1/32.png) [@wangh](https://devforum.zoom.us/u/wangh)\
**Post date:** [July 18, 2019, 4:25am UTC](https://devforum.zoom.us/t/mac-sdk-cannot-share-screen-in-electron/4077/11 "2019-07-18T04:25:27Z")

</div>

can you help me about ZoomSDKDirectShareHelperDelegate

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [July 18, 2019, 6:33pm UTC](https://devforum.zoom.us/t/mac-sdk-cannot-share-screen-in-electron/4077/12 "2019-07-18T18:33:50Z")

</div>

Hi wangh,

What difficulties are you facing? The interface of the ZoomSDKDirectShareHelperDelegate can be found here: [https://github.com/zoom/zoom-sdk-electron/blob/8adcc6e349d05787c76c2edbe9e214afd072ac8f/sdk/mac/ZoomSDK/ZoomSDK.framework/Versions/A/Headers/ZoomSDKPremeetingService.h](https://github.com/zoom/zoom-sdk-electron/blob/8adcc6e349d05787c76c2edbe9e214afd072ac8f/sdk/mac/ZoomSDK/ZoomSDK.framework/Versions/A/Headers/ZoomSDKPremeetingService.h)

Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 6:28pm UTC](https://devforum.zoom.us/t/mac-sdk-cannot-share-screen-in-electron/4077/13 "2020-08-21T18:28:16Z")

</div>


