Hello.
I’m following tutorial " Create a Video SDK app".
I generated JWT using the example videosdk-auth-endpoint-sample .
I’m getting a signature like that:
curl -L -X POST ‘http://localhost:4000’ \
And always get a response:
{“code”:124,“message”:“Invalid access token.”}
Also, I used this signature directly for Linux SDK initialization, and it looks the same as it didn’t work. I.e. after SDK initialization it receives - 0 users, and ZoomVideoSDKDelegate is always silent.
Also, I see that in all tutorials SDK key and secret is used, but in market place I have also API key and secret. Could you please explain In which cases API key\secret is used?
Would appreciate for any help.
For SDK Key and SDK Secret, this pair is used only for SDK Authentication.
For API Key and API Secret, this pair is used only for API Access, such as https://api.zoom.us/v2/videosdk/sessions
I managed to run videosdk-web-sample from Zoom repo, but I can’t make Linux SDK work. The received session is always “empty” - no user, no session name …
My output is:
Video SDK version: 1.8.10 (6932)
initializing SDK error code: 0
in session: 0, sessionID: , sessionNumber: 0, sessionPass: , sessionName: , sessionHostName:
number of users 0
I’m using the code below. Here I copy past the token that was generated with web-sample(I use it since I know that it works for sure).
The other problem with log absence, I put enableLog = true but SDK produces no log files.
Here is my code:
I see that you have sessionKey entered in your Web SDK. Could you try remove that and making sure it is empty, so that both SDK have similar parameters when joining/starting a VideoSession?
@chunsiong.zoom I apologize for the late response, I switched to Windows SDK for some time.
I guess the problem is that I’m trying to run a console application, and as mentioned here joinSession Event callbacks are not fired for Windows it’s required to run a message loop. I guess Linux SDK needs something similar. Could you please provide more details on how the event loop for SDK functions? I see that Linux SDK goes with a bunch of QT libs, I have to use qt_event_loop or something else from QT?
PS: I’m testing the same code for Zoom SDK on Windows and Linux. On Windows all works fine.