# Initialize Zoom SDK and join session success, but have none sdk delegate call back

**URL:** <https://devforum.zoom.us/t/initialize-zoom-sdk-and-join-session-success-but-have-none-sdk-delegate-call-back/60525>\
**Category:** Windows\
**Created:** [November 22, 2021, 3:42am UTC](https://devforum.zoom.us/t/initialize-zoom-sdk-and-join-session-success-but-have-none-sdk-delegate-call-back/60525 "2021-11-22T03:42:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevin5](https://avatars.discourse-cdn.com/v4/letter/k/bbce88/32.png) [@kevin5](https://devforum.zoom.us/u/kevin5)\
**Post date:** [November 22, 2021, 3:42am UTC](https://devforum.zoom.us/t/initialize-zoom-sdk-and-join-session-success-but-have-none-sdk-delegate-call-back/60525/1 "2021-11-22T03:42:56Z")

</div>

**Description**  
In my project, electron app call our sdk(integrated zoom c ++ sdk) with nodejs.

Our SDK rely the c++ code of videosdk\_demo and calls zoomvideosdkmgr to initialize.  
I initialize Zoom SDK and join session success, but have none sdk delegate call back.

If i call the same code with demo, it will run success with no error.  
I think the main difference is electron may call sdk is not in the main ui thread.

So, What should I do to call zoom sdk from no main-ui thread, and has successful delegate callbacks?

Thanks,kevin

**Which Windows Video SDK version?**  
windows 1.1.1 / windows 1.1.2

**Device (please complete the following information):**

- Device: Lenovo Notebook
- OS: win 10

---

<div class="post-metadata">

**Author:** ![kevin5](https://avatars.discourse-cdn.com/v4/letter/k/bbce88/32.png) [@kevin5](https://devforum.zoom.us/u/kevin5)\
**Post date:** [November 25, 2021, 11:29am UTC](https://devforum.zoom.us/t/initialize-zoom-sdk-and-join-session-success-but-have-none-sdk-delegate-call-back/60525/2 "2021-11-25T11:29:29Z")

</div>

Hi，  
the zoom log can see in the url

As our deskapp is an electon app, and it depends on c++ framework(compile to node.js file)  
If possible, please tell us how to successfully call the zoom api

Thanks, kevin

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [November 30, 2021, 10:58pm UTC](https://devforum.zoom.us/t/initialize-zoom-sdk-and-join-session-success-but-have-none-sdk-delegate-call-back/60525/3 "2021-11-30T22:58:45Z")

</div>

Hi @kevin5, thanks for using our SDK.

The issues you are seeing are likely caused by accessing the SDK outside of the main thread. Please keep in mind that all SDK usages must be on the main thread.

> As our deskapp is an electon app, and it depends on c++ framework(compile to node.js file)  
> If possible, please tell us how to successfully call the zoom api

To clarify, are you referring to the REST API? If so, documentation for the Video SDK API can be found [here](https://marketplace.zoom.us/docs/api-reference/zoom-video-sdk-api) and any additional questions would be best asked in the #API and Webhooks category. 🙂

Thanks!

---

<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:** [December 31, 2021, 8:59am UTC](https://devforum.zoom.us/t/initialize-zoom-sdk-and-join-session-success-but-have-none-sdk-delegate-call-back/60525/4 "2021-12-31T08:59:15Z")

</div>

Closed on December 31, 2021, 8:59am UTC

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