{ “role_type”: 1,
“tpc”: “testinginbounddemopanthey1”,
“version”: 1,
“iat”: 1697624666,
“exp”: 1697628266,
“userName” : “Kuldeep”
}
making token online from jwt.io
Further i am using joining session method below this , but still showing issue 2014 and 5002
func joinSession() {
let sessionContext = ZoomVideoSDKSessionContext()
// Ensure that you do not hard code JWT or any other confidential credentials in your production app.
sessionContext.token = “eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBfa2V5IjoiU01KNnV1VjlTOEM4MGhuX0Nic2pCQSIsInJvbGVfdHlwZSI6MSwidHBjIjoidGVzdGluZ2luYm91bmRkZW1vcGFudGhleTEiLCJ2ZXJzaW9uIjoxLCJpYXQiOjE2OTc2MjQ2NjYsImV4cCI6MTY5NzYyODI2NiwidXNlck5hbWUiOiJLdWxkZWVwIn0.GDbRzJhYsmg4Cyd5EQo0GrE3wDDGM4elYoRZGBBeqnE”
sessionContext.sessionName = “testinginbounddemopanthey1”
sessionContext.userName = “Kuldeep”
// sessionContext.sessionPassword = "Hello123"
if let session = ZoomVideoSDK.shareInstance()?.joinSession(sessionContext) {
session.getHostName()
print("Session joined successfully.")
}
}
Kindly suggest me , what is problem here, why can’t showing further success any portal for call or video call in ios