How to perform Zoom Integration for Flutter

So the screen I have to implement is to allow a user to join a zoom session onClick . For that I have tried to implement zoom video SDK using the guide that was mentioned by the team , however when I add the SDK key and secret in my config.dart file and then create a session the following error occurs :

ZoomVideoSDKError_JoinSession_Invalid_Session_Token

Kindly let me know what it is I am supposed to do for fixing this issue. I require this functionality at the very least to be working ASAP.

Thanks and Regards !

Hi @sidharth2 ,

This error points to an issue with your JWT for authorization. How are you generating your Video SDK JWT? I’ve also attached our documentation for more information on Video SDK authorization.

Thanks,
Rehema

Hi rehema ,

So the mistake I was making was that I was putting a invalid value for type of attendee. After putting that also the issue I am facing is that once I try to create the session , the entire app crashes within 15 seconds and there is no session.

Error I am facing is this :

D/ZoomVideoSdkDebug( 2818): Join Session successfully

W/ideosdk_example( 2818): type=1400 audit(0.0:44): avc: denied { ioctl } for path=“socket:[61503]” dev=“sockfs” ino=61503 ioctlcmd=0x8927 scontext=u:r:untrusted_app:s0:c123,c256,c512,c768 tcontext=u:r:untrusted_app:s0:c123,c256,c512,c768 tclass=udp_socket permissive=0 app=com.flutterzoom.videosdk_example

W/ideosdk_example( 2818): type=1400 audit(0.0:45): avc: denied { ioctl } for path=“socket:[61503]” dev=“sockfs” ino=61503 ioctlcmd=0x8927 scontext=u:r:untrusted_app:s0:c123,c256,c512,c768 tcontext=u:r:untrusted_app:s0:c123,c256,c512,c768 tclass=udp_socket permissive=0 app=com.flutterzoom.videosdk_example

W/AudioTrack( 2818): Use of stream types is deprecated for operations other than volume control

W/AudioTrack( 2818): See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case

W/ideosdk_example( 2818): type=1400 audit(0.0:46): avc: denied { ioctl } for path=“socket:[61503]” dev=“sockfs” ino=61503 ioctlcmd=0x8927 scontext=u:r:untrusted_app:s0:c123,c256,c512,c768 tcontext=u:r:untrusted_app:s0:c123,c256,c512,c768 tclass=udp_socket permissive=0 app=com.flutterzoom.videosdk_example

F/ideosdk_exampl( 2818): java_vm_ext.cc:577] JNI DETECTED ERROR IN APPLICATION: use of invalid jobject 0xa8c3423c

F/ideosdk_exampl( 2818): java_vm_ext.cc:577] from us.zoom.internal.RTCConfSessionInfo us.zoom.internal.RTCConference.getSessionInfoImpl()

JWT is being generated using the jwt.dart file that has been provided along with the starter files for the flutter app provided from zoom .