Description
I have a custom zoom call integration in swift. I’m trying to join a session by calling joinSession() the returned value is not nil but the client is not joining the session. I know this because the ZoomVideoSDKDelegate's callback - onSessionJoin() is not getting invoked. Also I have a web implementation with the same topic and I don’t get any event for user-added callback over there.
Not sure what is going wrong here.
Which iOS Video SDK version?
v1.1.0
To Reproduce(If applicable)
Steps to reproduce the behavior:
Go to ‘Download Video SDK for iOS v1.1.0’
Setup the SDK in your app
Initialize the SDK
Join session:
let sessionContext = ZoomVideoSDKSessionContext()
sessionContext.token = token
sessionContext.sessionName = name
sessionContext.userName = userName
let session = ZoomVideoSDK.shareInstance()?.joinSession(sessionContext)
if session != nil {
print("Joined seession")
} else {
print("Error in joining session")
}
.
.
.
func onSessionJoin() {
print("onSession join triggered")
}
“Joined seession” prints successfully but “onSession join triggered” is not printed
Smartphone (please complete the following information):
Device: iPhone 11
OS: iOS 14.5
Additional context
This is my payload to generate the JWT token:
Yeah the value of the sessionName and the “tpc” key in the payload is the same.
And yeah I’m initializing the SDK before attempting to join the session. I’m calling joinSession in the success block after SDK initialization.