Hi There!,
I’m using zoom sdk on my phone,
When i try to start instant meeting, its not starting,
It keeps saying waiting for host to start meeting but account i’m using is already host account.
I’m using meeting web API to create instant meeting,
once meeting created, i’m starting meeting using android SDK
belwo is API call details to create instant meeting,
POST https://glass-api.mirobotic.tech/zoom/meetings/
Response:
{
"code": 200,
"data": {
"uuid": "***,
"id": ***,
"host_id": "***",
"host_email": "***",
"topic": "Instant meeting",
"type": 1,
"status": "waiting",
"timezone": "Asia/Singapore",
"agenda": "Instant meeting test",
"created_at": "2022-02-25T11:06:41Z",
"start_url": "***",
"join_url": "***",
"password": "123456",
"h323_password": "123456",
"pstn_password": "123456",
"encrypted_password": "s1EiWU17fL8n73lVj-blLl02l5jLtd.1",
"settings": {
"host_video": true,
"participant_video": false,
"cn_meeting": true,
"in_meeting": true,
"join_before_host": false,
"jbh_time": 0,
"mute_upon_entry": false,
"watermark": false,
"use_pmi": false,
"approval_type": 2,
"audio": "voip",
"auto_recording": "none",
"enforce_login": false,
"enforce_login_domains": "",
"alternative_hosts": "",
"close_registration": false,
"show_share_button": false,
"allow_multiple_devices": false,
"registrants_confirmation_email": true,
"waiting_room": false,
"request_permission_to_unmute_participants": false,
"registrants_email_notification": true,
"meeting_authentication": false,
"encryption_type": "enhanced_encryption",
"approved_or_denied_countries_or_regions": {
"enable": false
},
"breakout_room": {
"enable": false
},
"alternative_hosts_email_notification": true,
"device_testing": false,
"focus_mode": false,
"private_meeting": false,
"email_notification": true
},
"pre_schedule": false
}
}
and code to start meeting after its created
JoinMeetingHelper().joinMeeting(
context,
zoom,
meetingDetails.id.toString(),
meetingDetails.password,
meetingDetails.topic
)
fun joinMeeting(
context: Context,
instance: ZoomSDK,
id: String,
password: String,
displayName: String
): Int {
val meetingService: MeetingService = instance.meetingService ?: return 0
val jmo = JoinMeetingOptions()
jmp.displayName = displayName
jmp.meetingNo = id
jmp.password = password
// you can avoid returning anything too
return meetingService.joinMeetingWithParams(context, jmp, jmo)
}
Please help me on this