Description
Using Fully customizable Windows SDK, not getting callback events of joinSession even though joinSession returns Success but not getting onSessionJoin callback.
I have tested the SDK with your payload and saw the app hang as well. When I changed the iat and exp values the app behaved normally. Try using the current timestamp at epochconverter.com for iat and a timestamp 24 hours in the future from epochconverter.com for exp.
Hi @Michael_Condon, I can confirm I am also seeing this Error
Error: Send error, 10051 Unknown error
Error: Send error, 10051 Unknown error
Error: Send error, 10051 Unknown error
To Reproduce
Create Console Application, but on Visual Studio 2019 with the Fully Customizable SDK.
Create ZoomInstantSDKInitParams based on the instructions, and call initialize. I did NOT attempt to even join any session yet.
Despite initialize returning success, I get the 10051 error also (also 3 times.)
Additional Debugging
I made sure that the built exe application had access through the firewall.
I tried the SDK NOT on a Console test application and it DID work (including the onSessionJoin callback), so I suspect it’s an SDK error with the Console.
IZoomInstantSDK->isInSession() == false even if joinSession() != NULL
The console application need a Message Loop so that messages can be delivered to the correct procedure. The application needs a loop to retrieve the messages and dispatch them to the correct windows.
So I have implement this Message Loop in my console application and my console application is also working now.
Use below message loop in main function of Console Application to make it work:
bool bRet = false;
MSG msg;
while ((bRet = GetMessage(&msg, nullptr, 0, 0)) != 0)
{
if (bRet == -1)
{
// handle the error and possibly exit
}
else
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}
Basically, Send error, 10051 Unknown error (x3) this error is somewhere from Zoom SDK. I am saying so because I can see that console error in Zoom FC-SDK Electron sample console also.