Hello,
I updated the ZoomVideoSDK in my app to the latest available version through Swift Package Manager (v2.2.5(25466)), and I’m not able to join a session anymore.
The onError
callback is triggered when trying to join a session, with ErrorType
1 (Errors_Wrong_Usage
) and details
0.
Here is my code to join a session:
let sessionContext = ZoomVideoSDKSessionContext()
sessionContext.token = token
sessionContext.sessionName = sessionName
sessionContext.userName = userName
if let session = ZoomVideoSDK.shareInstance()?.joinSession(sessionContext) {
// Session joined successfully.
}
Am I doing something wrong?
I’ve been joining Zoom sessions like this for a long time with many Zoom SDK versions without any problems, and this only started happening after updating from v2.1.5(22850) to v2.2.5(25466).
Which iOS Video SDK version?
v2.2.5(25466)
To Reproduce
Steps to reproduce the behavior:
- Try to join a session
- Notice that the session is not joined and the onError callback is triggered with
Errors_Wrong_Usage
error.
Smartphone:
- Device: Reproduced on iPhone 12 mini (iOS 18.5) & iPhone 6s (iOS 15.8.4)