We are facing some issues with the plugin flutter zoom VideoSdk 1.7.0. It’s still using JWT app-type token. Now we are unable to use the JWT token because that is deprecated. We are using the Server-to-Server OAuth token. What we did is simply replaced the JWT token with Server to server Oauth Token.
It’s showing an invalid param issue.(ZoomVideoSDKError_Session_Invalid_Param).
The code for reference where we are facing issues is:-
JoinSessionConfig joinSession = JoinSessionConfig(
sessionName: args.sessionName,
sessionPassword: args.sessionPwd,
token: token,
userName: args.displayName,
audioOptions: SDKaudioOptions,
videoOptions: SDKvideoOptions,
sessionIdleTimeoutMins: int.parse(args.sessionIdleTimeoutMins),
);
await zoom.joinSession(joinSession);
Also, we are not sure which token to use out of Server to server Oauth token or OAuth type token.
Also if there is any sample app for Flutter that is using the server-to-server Oauth token or OAuth type token or if there is any implementation doc please provide it will be very helpful.
We have generated a JWT token from the Meeting SDK client Id and client secret. (Meeting SDK Auth). Then we added Token in our flutter code. after that tried to start a meeting. but Got some errors like onError, error: ZoomVideoSDKError_JoinSession_Token_NoSessionName.
I am using Zoom vide SDK. And I am trying to switch the video myself to the remote user in full view using onSelectedUser(users.value[index]) this method. but in full view showing myself video view. can you please help me with this?