# Sdk screencasting user login

**URL:** <https://devforum.zoom.us/t/sdk-screencasting-user-login/70487>\
**Category:** Meeting SDK\
**Created:** [June 14, 2022, 12:36pm UTC](https://devforum.zoom.us/t/sdk-screencasting-user-login/70487 "2022-06-14T12:36:45Z")\
**Posts on this page:** 3\
**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:** [June 14, 2022, 12:36pm UTC](https://devforum.zoom.us/t/sdk-screencasting-user-login/70487/1 "2022-06-14T12:36:45Z")

</div>

In the sdk, if it is only a conference room screencasting user, can I not log in (email or sso token)?

I removed the user login in the code and only used sdk auth, and the screen projection failed

SDKERR\_UNINITIALIZE: 7

But if you use the zoom client directly, even if the user is not logged in, you can directly cast the screen by right-clicking on the tray

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [June 16, 2022, 8:38pm UTC](https://devforum.zoom.us/t/sdk-screencasting-user-login/70487/2 "2022-06-16T20:38:17Z")

</div>

@Atma,

Thank you for posting in the Developer Forum. Your post does not provide enough details. Could you share steps to reproduce, SDK versions, and screenshots of the error you are seeing? This will help diagnose what may be happening.

Best,  
Donte

---

<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:** [June 17, 2022, 9:43am UTC](https://devforum.zoom.us/t/sdk-screencasting-user-login/70487/3 "2022-06-17T09:43:51Z")

</div>

The main use process of sdk is:

1. set Domain

2. jwt token auth  

3. user login(email or ssotoken)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/6/06f6a43e1fb9728e454fd9b3e2efd885c4f7f96c.png)

At this time, the user can go to the function interface, fill in the pairing code, and cast the screen.  
The question I want to ask is: **Does the screencast function user have to log in, i.e. step 3 above(Screencasting code screencasting, non-conference screencasting)**，  
I also tried to remove step 3 and then perform screencasting, but the screencasting failed,  
When the screencast code casts the screen, an error is returned SDKERR\_UNINITIALIZE: 7

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/4/5459881203dd23fcef87436dde7ed813f96ef680.png)

The zoom client user can also cast the screen without logging in  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/3/23d170a858e09042fbe5f8db0c00f5f322e015a5.png)

**Another question is, does the pairing code cast screen not support selecting the window to cast the screen on? There is no such setting item in the sdk, but in the zoom client**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/8/181a689b31d89ee0748d2be78993c12545172ce0.png)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/e/4e12e17da8f83f1e1f9f7b62b5f030d27c749ab8.png)

**use sdk information**  
**Electron sdk: v5.2.42037.1112**

\*\* Base SDK versions:\*\*  
\*\* win32 native sdk version:zoom-sdk.5.2.42037.1112\*\*  
\*\* mac native sdk version:All\_mac\_sdk\_5.2.42037.1112\*\*
