I used flutter_zoom_videodk package for intigrate Zoom video meeting which version is 1.14.0.
Basically, my token came from backend service. After I used the token, I successfully joined the session, and the show camera display was viewed perfectly. But a remote user tried to join the meeting, and then my app was crushed. I share my console in log below:
D/ZoomVideoSdkDebug(11102): Join Session successfully
D/ZoomVideoSdkDebug(11102): onError, error: ZoomVideoSDKError_Session_Already_In_Progress
I/GED (11102): ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 2, oppidx_max 2, oppidx_min 0
W/.local_practice(11102): type=1400 audit(0.0:18413): avc: denied { ioctl } for path=“socket:[104193375]” dev=“sockfs” ino=104193375 ioctlcmd=0x8927 scontext=u:r:untrusted_app:s0:c229,c258,c512,c768 tcontext=u:r:untrusted_app:s0:c229,c258,c512,c768 tclass=udp_socket permissive=0 app=com.example.local_practice
W/.local_practice(11102): type=1400 audit(0.0:18414): avc: denied { ioctl } for path=“socket:[104193375]” dev=“sockfs” ino=104193375 ioctlcmd=0x8927 scontext=u:r:untrusted_app:s0:c229,c258,c512,c768 tcontext=u:r:untrusted_app:s0:c229,c258,c512,c768 tclass=udp_socket permissive=0 app=com.example.local_practice
W/Thread-36(11102): type=1400 audit(0.0:18415): avc: denied { ioctl } for path=“socket:[104192100]” dev=“sockfs” ino=104192100 ioctlcmd=0x8927 scontext=u:r:untrusted_app:s0:c229,c258,c512,c768 tcontext=u:r:untrusted_app:s0:c229,c258,c512,c768 tclass=udp_socket permissive=0 app=com.example.local_practice
I/flutter (11102): Session Joined: {sessionUser: {“isHost”:false,“customUserId”:“”,“isManager”:false,“userName”:“Test”,“userId”:“16778240”,“isVideoSpotLighted”:false}}
I/flutter (11102): Audio Status Changed: {changedUsers: [{“isHost”:false,“customUserId”:“”,“isManager”:false,“userName”:“Test”,“userId”:“16778240”,“isVideoSpotLighted”:false}]}
D/ZoomVideoSdkDebug(11102): onUserVideoStatusChanged, userList: [{“isHost”:false,“customUserId”:“”,“isManager”:false,“userName”:“Test”,“userId”:“16778240”,“isVideoSpotLighted”:false}]
D/ZoomVideoSdkDebug(11102): onUserActiveAudioChanged, changedUsers:
I/flutter (11102): Video Status Changed: {changedUsers: [{“isHost”:false,“customUserId”:“”,“isManager”:false,“userName”:“Test”,“userId”:“16778240”,“isVideoSpotLighted”:false}]}
D/ZoomVideoSdkDebug(11102): onUserVideoStatusChanged, userList: [{“isHost”:false,“customUserId”:“”,“isManager”:false,“userName”:“Test”,“userId”:“16778240”,“isVideoSpotLighted”:false}]
I/flutter (11102): Video Status Changed: {changedUsers: [{“isHost”:false,“customUserId”:“”,“isManager”:false,“userName”:“Test”,“userId”:“16778240”,“isVideoSpotLighted”:false}]}
D/ZoomVideoSdkDebug(11102): onCommandChannelConnectResult, success: true
D/ZoomVideoSdkDebug(11102): onUserActiveAudioChanged, changedUsers:
D/ZoomVideoSdkDebug(11102): onCloudRecordingStatus, status: ZoomVideoSDKRecordingStatus_Start
D/ZoomVideoSdkDebug(11102): onCloudRecordingStatus handler != null
E/ActivityThread(11102): Failed to find provider info for com.oplus.statistics.provider
E/OplusStatistics–(11102): IllegalArgumentException:java.lang.IllegalArgumentException: Unknown URL content://com.oplus.statistics.provider/track_event
D/AudioManagerExtImpl(11102): getStreamVolume packageName=com.example.local_practice, index=1, streamType=0
D/AudioManagerExtImpl(11102): getStreamVolume packageName=com.example.local_practice, index=1, streamType=0
D/ZoomVideoSdkDebug(11102): onUserJoin, userList: [{“isHost”:true,“customUserId”:“”,“isManager”:false,“userName”:“zawad”,“userId”:“16793600”,“isVideoSpotLighted”:false}]
D/ZoomVideoSdkDebug(11102): onUserHostChanged, changedUser: {“isHost”:true,“customUserId”:“”,“isManager”:false,“userName”:“zawad”,“userId”:“16793600”,“isVideoSpotLighted”:false}
I/flutter (11102): User Joined: {remoteUsers: [{“isHost”:true,“customUserId”:“”,“isManager”:false,“userName”:“zawad”,“userId”:“16793600”,“isVideoSpotLighted”:false}], joinedUsers: [{“isHost”:true,“customUserId”:“”,“isManager”:false,“userName”:“zawad”,“userId”:“16793600”,“isVideoSpotLighted”:false}]}
D/ZoomVideoSdkDebug(11102): onUserManagerChanged, changedUser: {“isHost”:true,“customUserId”:“”,“isManager”:false,“userName”:“zawad”,“userId”:“16793600”,“isVideoSpotLighted”:false}
D/ZoomVideoSdkDebug(11102): onUserVideoStatusChanged, userList: [{“isHost”:true,“customUserId”:“”,“isManager”:false,“userName”:“zawad”,“userId”:“16793600”,“isVideoSpotLighted”:false}]
I/flutter (11102): Video Status Changed: {changedUsers: [{“isHost”:true,“customUserId”:“”,“isManager”:false,“userName”:“zawad”,“userId”:“16793600”,“isVideoSpotLighted”:false}]}
D/ZoomVideoSdkDebug(11102): onUserAudioStatusChanged, userList: [{“isHost”:true,“customUserId”:“”,“isManager”:false,“userName”:“zawad”,“userId”:“16793600”,“isVideoSpotLighted”:false}]
I/flutter (11102): Audio Status Changed: {changedUsers: [{“isHost”:true,“customUserId”:“”,“isManager”:false,“userName”:“zawad”,“userId”:“16793600”,“isVideoSpotLighted”:false}]}
D/ZoomVideoSdkDebug(11102): onUserLeave, userList: [{“isHost”:false,“customUserId”:“”,“isManager”:false,“userName”:“zawad”,“userId”:“16793600”,“isVideoSpotLighted”:false}]
I/flutter (11102): User Left: {remoteUsers: , leftUsers: [{“isHost”:false,“customUserId”:“”,“isManager”:false,“userName”:“zawad”,“userId”:“16793600”,“isVideoSpotLighted”:false}]}
D/AndroidRuntime(11102): Shutting down VM
E/AndroidRuntime(11102): FATAL EXCEPTION: main
E/AndroidRuntime(11102): Process: com.example.local_practice, PID: 11102
E/AndroidRuntime(11102): java.lang.NullPointerException: Attempt to invoke interface method ‘java.lang.String us.zoom.sdk.ZoomVideoSDKUser.getUserID()’ on a null object reference
E/AndroidRuntime(11102): at com.flutterzoom.videosdk.FlutterZoomVideoSdkUser.jsonUser(FlutterZoomVideoSdkUser.java:54)
E/AndroidRuntime(11102): at com.flutterzoom.videosdk.FlutterZoomVideoSdkPlugin.onUserHostChanged(FlutterZoomVideoSdkPlugin.java:1085)
E/AndroidRuntime(11102): at us.zoom.internal.ZoomVideoSDKDelegateHelper$1$12.run(ZoomVideoSDKDelegateHelper.java:2)
E/AndroidRuntime(11102): at android.os.Handler.handleCallback(Handler.java:938)
E/AndroidRuntime(11102): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(11102): at android.os.Looper.loopOnce(Looper.java:233)
E/AndroidRuntime(11102): at android.os.Looper.loop(Looper.java:344)
E/AndroidRuntime(11102): at android.app.ActivityThread.main(ActivityThread.java:8249)
E/AndroidRuntime(11102): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(11102): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:589)
E/AndroidRuntime(11102): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1071)
I/Process (11102): Sending signal. PID: 11102 SIG: 9