# Varied results in Windows Zoom SDK when Joining meeting

**URL:** <https://devforum.zoom.us/t/varied-results-in-windows-zoom-sdk-when-joining-meeting/43482>\
**Category:** Windows\
**Created:** [February 16, 2021, 3:10pm UTC](https://devforum.zoom.us/t/varied-results-in-windows-zoom-sdk-when-joining-meeting/43482 "2021-02-16T15:10:39Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![lauren.olphert](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lauren.olphert/32/13525_2.png) [@lauren.olphert](https://devforum.zoom.us/u/lauren.olphert)\
**Post date:** [February 16, 2021, 3:10pm UTC](https://devforum.zoom.us/t/varied-results-in-windows-zoom-sdk-when-joining-meeting/43482/1 "2021-02-16T15:10:40Z")

</div>

Hi Everyone,

We are currently running Zoom SDK using the C# wrapper in Visual studio 2019.  
We have been creating meetings from our zoom account, authenticating using a JWT token and logging in with email and password. The SDK is able to login and join the meeting as an authenticated user, however the results are extremely varied when the visual studio program starts.

When we join the meeting, sometimes we see that the it can connect voip without ever calling the connect voip command, similar with mute and unmute sometimes the SDK will be muted and other times it will be unmuted automatically. I have took all the settings out of the join parameter e.g. isAudioOff, isVideoOff and they are still displaying different results when executing.  
Sometimes, it is able to join and unmutes by itself, others it cant even connect to voip?  
I am using the JoinParam4NormalUser to join the meeting and would like to have all audio and video settings off so that I can turn them on with the functions available through the zoom SDK… however I am receiving errors when I am trying to do this, as the program is sometimes launching with these features turned on.

Anyone any ideas on this ?

Thanks,  
Lauren

---

<div class="post-metadata">

**Author:** ![lauren.olphert](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lauren.olphert/32/13525_2.png) [@lauren.olphert](https://devforum.zoom.us/u/lauren.olphert)\
**Post date:** [February 16, 2021, 4:00pm UTC](https://devforum.zoom.us/t/varied-results-in-windows-zoom-sdk-when-joining-meeting/43482/2 "2021-02-16T16:00:28Z")

</div>

![ZOOMSDKOnUserJOIN.PNG](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/5/95a7610bc7a2f868e8b965a8fa76b3dfd7385b32.jpeg) ![SDKOnUserJoin](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/f/8fcf77b1818a7c66124ef42d6dc84198eda7e70a.png) ![ZoomSDKVoiceIPFail.PNG](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/4/042ea022e5aa855b15d6d7d5b7324228164db31f.jpeg)

As you can see from the images, this code has not had any changes between the two runs, yet one time when the sdk runs it can reconnect VOIP but not the second time?

I have included three images, from the code you can see when a user joins we have not took out the demo information of getting each user by user id… we then try and disconnect any audio settings that are automatically started and reconnect them… the code for disconnecting them is the following :

private void DisconnectAudioServices() {  
Trace.WriteLine(“Trying to disconnect any audio started with meeting join…”);  
ZOOM\_SDK\_DOTNET\_WRAP.SDKError checkVOIP = ZOOM\_SDK\_DOTNET\_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().GetMeetingAudioController().LeaveVoip();  
if (ZOOM\_SDK\_DOTNET\_WRAP.SDKError.SDKERR\_SUCCESS == checkVOIP)  
{  
Trace.WriteLine(“VOI Successfully disconnected”);  
}  
else  
{  
Trace.WriteLine("VOI could not be disconnected. Error code: " + checkVOIP);  
}  
ZOOM\_SDK\_DOTNET\_WRAP.SDKError checkAudio = ZOOM\_SDK\_DOTNET\_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().GetMeetingAudioController().EnableMuteOnEntry(true);  
if (ZOOM\_SDK\_DOTNET\_WRAP.SDKError.SDKERR\_SUCCESS == checkAudio)  
{  
Trace.WriteLine(“Audio Successfully muted”);  
}  
else  
{  
Trace.WriteLine("Audio could not be muted. Error code: " + checkAudio);  
}  
}

---

<div class="post-metadata">

**Author:** ![lauren.olphert](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lauren.olphert/32/13525_2.png) [@lauren.olphert](https://devforum.zoom.us/u/lauren.olphert)\
**Post date:** [February 17, 2021, 10:34am UTC](https://devforum.zoom.us/t/varied-results-in-windows-zoom-sdk-when-joining-meeting/43482/3 "2021-02-17T10:34:03Z")

</div>

The two errors we seem to be getting from the SDK when trying to unmute users is :  
Unable to unmute for user: 16778240  
Error: SDKERR\_WRONG\_USEAGE  
Unable to unmute for user: 16778240  
Error: SDKERR\_NO\_PERMISSION

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [February 17, 2021, 8:41pm UTC](https://devforum.zoom.us/t/varied-results-in-windows-zoom-sdk-when-joining-meeting/43482/4 "2021-02-17T20:41:34Z")

</div>

Hey @lauren.olphert,

Thanks for using the dev forum! It is good to see you again!

So between the first meeting and second meeting no other meeting settings were changed? Are you seeing the varying results across instances of the same meeting?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![lauren.olphert](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lauren.olphert/32/13525_2.png) [@lauren.olphert](https://devforum.zoom.us/u/lauren.olphert)\
**Post date:** [February 18, 2021, 12:19pm UTC](https://devforum.zoom.us/t/varied-results-in-windows-zoom-sdk-when-joining-meeting/43482/5 "2021-02-18T12:19:29Z")

</div>

Hi @Michael_Condon ! Yea so no other meeting settings are changed… no touches to the code at all… It seems to be when I want to disconnect the audio services at the start of the meeting, it works fine but then reconnecting is throwing me back with errors ☹

Thanks  
Lauren

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [February 18, 2021, 10:02pm UTC](https://devforum.zoom.us/t/varied-results-in-windows-zoom-sdk-when-joining-meeting/43482/6 "2021-02-18T22:02:47Z")

</div>

Hey @lauren.olphert,

Hmm that is strange. I think this will take some further investigation.  
Would you be able to create a copy of your project with everything stripped away except the code that produces this issue and email it to [developersupport@zoom.us](mailto:developersupport@zoom.us)? Please mention my name and a link to this forum thread and I will investigate. What version of the SDK are you using?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![lauren.olphert](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lauren.olphert/32/13525_2.png) [@lauren.olphert](https://devforum.zoom.us/u/lauren.olphert)\
**Post date:** [February 19, 2021, 9:57am UTC](https://devforum.zoom.us/t/varied-results-in-windows-zoom-sdk-when-joining-meeting/43482/7 "2021-02-19T09:57:13Z")

</div>

Hi @Michael_Condon ,

I’ve sent the main page email contents to that email !  
I am using version zoom-c-sharp-wrapper-5.4.54802.0124 on Visual Studio 2019.

Thanks,  
Lauren

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [February 19, 2021, 10:42pm UTC](https://devforum.zoom.us/t/varied-results-in-windows-zoom-sdk-when-joining-meeting/43482/8 "2021-02-19T22:42:02Z")

</div>

Hey @lauren.olphert,

Awesome thank you for sending those over. I will follow up with you there.

Thanks!  
Michael

---

<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:** [March 22, 2021, 8:42am UTC](https://devforum.zoom.us/t/varied-results-in-windows-zoom-sdk-when-joining-meeting/43482/9 "2021-03-22T08:42:45Z")

</div>

Closed on March 22, 2021, 8:42am UTC

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