# Why does directsharestatuscallback pop up to enter the meeting number?

**URL:** <https://devforum.zoom.us/t/why-does-directsharestatuscallback-pop-up-to-enter-the-meeting-number/76668>\
**Category:** Electron\
**Created:** [September 28, 2022, 10:21pm UTC](https://devforum.zoom.us/t/why-does-directsharestatuscallback-pop-up-to-enter-the-meeting-number/76668 "2022-09-28T22:21:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Atma](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/atma/32/38350_2.png) [@Atma](https://devforum.zoom.us/u/Atma)\
**Post date:** [September 28, 2022, 10:21pm UTC](https://devforum.zoom.us/t/why-does-directsharestatuscallback-pop-up-to-enter-the-meeting-number/76668/1 "2022-09-28T22:21:01Z")

</div>

**SDK info:**  
Electron Meeting SDK  
win32 native sdk version:win\_meetingsdk\_5.11.11.8475\_x86  
mac native sdk version:universal\_mac\_meetingsdk\_5.11.11.10564

**Problem：**  
When upgrading the SDK version, there is a problem with the calling process of the screen casting function, and the screen is shared in version 5.6

GetDirectShare → setDirectShareStatusUpdateCB → canStartDirectShare → startDirectShare

If in the callback DirectShare\_Need\_MeetingID\_Or\_PairingCode Then enter the screencast code, and then continue to call tryWithMeetingNumber,  
**But when DirectShare\_Need\_MeetingID\_Or\_PairingCode in version 5.11, the SDK pops up directly**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/7/57fcf45fa7a11229552bc43682cd04189b639dc6.png)

This pop-up window cannot be closed directly, and the tryWithMeetingNumber API has no meaning. Why does this pop-up window appear in the callback? Shouldn’t it be provided to the developer whether to continue calling? Is this a deliberate design or a bug (in version 5.6, the window will not pop up directly), if it is a bug, can you provide a fixed version, because there is not much time for the SDK upgrade

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [October 29, 2022, 8:21am UTC](https://devforum.zoom.us/t/why-does-directsharestatuscallback-pop-up-to-enter-the-meeting-number/76668/2 "2022-10-29T08:21:19Z")

</div>

Closed on October 29, 2022, 8:21am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
