IOS SDK Nothing happens after providing Meeting id and passwors

Description
IOS SDK is not working after providing meeting id and password

Which iOS Client SDK version?
IOS SDK version → v5.5.12511.0421

Steps to reproduce the behavior:
trying below steps for Demo code given in SDK

  1. Go to ‘Join meeting’
  2. provide meeting id & password (which we get from zoom meeting on web)
  3. click on ok
  4. Nothing happens just alert disappears

Smartphone (please complete the following information):

  • Device: [iPhone 7]
  • OS: [iOS 13.5.1 && 14]

Additional context
Looked into code base
Classname → SDKStartJoinMeetingPresenter

MobileRTCMeetingService *ms = [[MobileRTC sharedRTC] getMeetingService];

getting ms object nil that’s why not able to present video call UI

Hey @appdeveloper,

Thanks for using the dev forum!

Did you provide a valid JWT and domain in the appdelegate.h file?

Thanks!
Michael

Hi Michael,
I wasn’t giving the domain which was causing the issue.

Now we have another issue, after entering the Meeting ID and Password it opens a popup which says “Sample Waiting” and nothing happens.

What could be the reason for this?

Hey @appdeveloper,

Hmm, it shouldnt ever get stuck like that. Is this a meeting that is already ongoing on another device?

Thanks!
Michael

Hi,

I found the issue.
But I am able to join the meeting using the SDK Secret and Key.

Below is the code I am using to generate the token, please have a look and let me know what am I doing wrong.

time_now = dt.datetime.now().timestamp()
            exp_time = dt.datetime.now() + dt.timedelta(hours=3)
            exp_time = exp_time.timestamp()
            topic = "Teleconsultation with "+email

            header = {"alg" : "HS256","typ" : "JWT"}
            payload = {"app_key" : __key__, "version" : 1, "user_identity" : email, "iat" : time_now, "exp" : exp_time, "tpc" : topic}
            header_json = json.dumps(header)
            payload_json = json.dumps(payload, default=str)
            header_final = str(base64.b64encode(header_json.encode('utf-8')), 'utf-8')
            payload_final = str(base64.b64encode(payload_json.encode('utf-8')).strip(b'='), 'utf-8')
            

            signature_expression = header_final+"."+payload_final

            signature = hmac.new(bytes(__token__, 'utf-8'), signature_expression.encode('utf-8'), hashlib.sha256).hexdigest()

Hey @appdeveloper,

It looks like you are using the payload for the Video SDK instead of the payload for the Client SDK.
Try using the one here:

Thanks!
Michael

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