Could not able to see zoom meeting screen in my Zoom SDK implemented ViewController in my own project

Description
I added the MobileRTCResources.bundle and MobileRTC.xframework in my existing project . also i have added the permission string in info.plist and also i have add the appdelegate code and the viewcontroller code below.
Appdelegate → didFinishLaunchingWithOptions →
mainSDK.domain = “zoom.us
MobileRTC.shared().initialize(mainSDK)
let authService = MobileRTC.shared().getAuthService()
print(MobileRTC.shared().mobileRTCVersion)
authService?.delegate = self
authService?.clientKey = “**"
authService?.clientSecret = "

authService?.sdkAuth()

func onMobileRTCAuthReturn(_ returnValue: MobileRTCAuthError) {
print(returnValue)
if (returnValue != MobileRTCAuthError.success)
{
let msg = “SDK authentication failed, error code: (returnValue)”
print(msg)
}
}

and in the ViewController →
import UIKit
import MobileRTC
class ViewController: UIViewController {
let meetingNo = “Your Meeting Number”
let kSDKUserName = “”
override func viewDidLoad() {
super.viewDidLoad()
if(self.meetingNo == “”) {
// If the meeting number is empty, return error.
print(“Please enter a meeting number”)
return
} else {
// If the meeting number is not empty.
let getservice = MobileRTC.shared().getMeetingService()
if let service = getservice {
service.delegate = self
let paramDict = [kMeetingParam_Username:kSDKUserName,kMeetingParam_MeetingNumber:meetingNo, kMeetingParam_MeetingPassword:"",kMeetingParam_WebinarToken:“Your Webinar Token”]
let response = service.joinMeeting(with: paramDict)
print(“onJoinMeeting, response: (response)”)
}
}
}
}
extension ViewController: MobileRTCMeetingServiceDelegate{
func onMeetingStateChange(_ state: MobileRTCMeetingState) {
print("(state)")
}
}
Which iOS Client SDK version?
v5.5.12511.0421

Additional context
I am getting the message that “SDK Authenticate success” and error code 0 . but zoom initial video page in not showing in the viewcontroller .

Hey @aparajita,

Thanks for using the dev forum!

Can you implement the callback onMeetingError:message: and let me know what it is reporting?

Thanks!
Michael

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.