Zoom Video Call Issue

Im developing android with zoom sdk actually my issues is first time when i trigger video call the error code is -1 and then once again trigger video call it will working so what is the issue im facing can u assist me

Hi aasaikeyan08,

Thanks for using Zoom SDK. Are you getting this error code from our demo app(https://github.com/zoom/zoom-sdk-android)? If so, then the error code -1 is actually defined in the code(Not from our SDK), if you look at the following code snippet in the demo:

        int ret = -1;
        MeetingService meetingService = mZoomSDK.getMeetingService();
        if(meetingService == null) {
            return ret;
        }

If the getMeetingService returns null, then you will get error code -1; Please double check whether you have successfully initialized our Zoom SDK. Here is the doc for SDK initialization: https://marketplace.zoom.us/docs/sdk/native-sdks/android/mastering-zoom-sdk/sdk-initialization

Hope this helps. Thanks!

It getting first time only next time it will working fine so only im asking about it

Hi,
If you got any error codes, you can refer to the error code dictionary in our doc: https://marketplace.zoom.us/docs/sdk/native-sdks/android/resource/error-codes. We don’t have the error code -1 besides the Pre-Meeting method, so it is highly possible the error code is caused by the mZoomSDK.getMeetingService() is getting null. If you have successfully initialized the SDK, and everything else works fine besides this one, please provide any logs or code snippets so we can further investigate into this issue.

Thanks!

Hi,
Great its working for me thanks and one more thing is when we finish/leave meeting the response is giving the meeting id not available so may i know that issues

Hi,
May I ask which method are you referring to? onMeetingLeaveComplete?

Thanks!

Hi,
Yes i’m using the method onMeetingLeaveComplete interface method

Advance Thanks

Hi,

We have received your request and will be responding to you shortly.

Thanks,

Hi,

The method onMeetingLeaveComplete(long ret)(https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/InMeetingServiceListener.html#onMeetingLeaveComplete-long-) will provide a long ret variable, which is the end meeting reason that is defined in MeetingEndReason(https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/MeetingEndReason.html).

There is no “Meeting ID not available” in the MeetingEndReason, could you provide more info on this? Can you provide the exact error message and location when you get the “Meeting ID not available” error message? Can you provide some code snippet regarding this?

Help this helps. Thanks!

Hi Team,
FYI we have process that i will explain for the above we had facing the issue
When we process video call on zoom sdk it will goes smoothly nothing wrong when we leave/end meeting from the video call .After that we trigger the one api call for getting the response for the particular meeting id like call summary,start date and end date etc.,After triggering the api call it show null start time and end time in some time so that im thinking about there is some fraction of second to get the data from zoom call. For that we are confusing about that shall you please support for us team.

Hi aasaikeyan08,

Thanks for the info. We are here to help but it is really hard for us to find the root cause and provide further assistance with the info you provided. May I ask:

  1. Which API call did you call when leaving/ending the meeting(In onMeetingLeaveComplete)? Which API call are you referring to?
  2. Can you provide some code snippets regarding this issue so that we can further look into this?

Looking forward to hearing from you. Thanks!

Hi Team,
In our backend this is a url to get the details of the zoom details (/meetings/{meetingId})

Hi,
Thanks for the reply. I see. You are calling our Zoom API(https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting) to retrieve the meeting info after the meeting ends. At the time you trigger the onMeetingLeaveComplete interface, the end meeting request is just sent to our backend to end the meeting. The meeting info is not ready yet. If you would like to receive meeting information after leaving the meeting, you can:

  1. Set a 2-3 second timeout after you ends the meeting, and before you call the API to retrieve meeting info.
  2. Or subscribe to our Webhook service(https://marketplace.zoom.us/docs/guides/webhooks/event-subscriptions), there is an event for “end meeting”, once you leave the meeting, the webhook will send you the meeting info when the info data is ready.

Hope this helps. Thanks!

Hi Team,
Thanks for the solution and one more clarification in our app there is in audio call so can we do audio call by using both participant_id and host_video boolean value from our sdk side with meeting id

Hi,

Thanks for the info. Hope the solutions can help you to resolve your issue. If you are still experiencing any errors or issues, please feel free to post the error message or the steps to reproduce the issue here.

Thanks!

Hi Team,
There is possible for handling video call and audio call default using meeting id
By using meeting id can we differentiate the video call or audio call from our zoom api

Hi,
Thanks for the reply. Are you saying that you would like to distinguish the meetings that has both video and audio on and the meeting that has only audio on(Like call-me, dial-in)?

Hi Team,
Thank your kind response for all above . In our sdk is there any option to hide leave meeting button alone we just want to display the end meeting alone See the attached image file

on the popup when the end meeting through sdk

Hi Team,
Thank your kind response for all above . In our sdk is there any option to hide leave meeting button alone we just want to display the end meeting alone See the attached image file

Hi,
Thanks for the reply. Yes, we have a setting for this in the MeetingSettingsHelper called setNoLeaveMeetingButtonForHostEnabled (https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/MeetingSettingsHelper.html#setNoLeaveMeetingButtonForHostEnabled-boolean-), you can also check whether this is enable or not by calling isNoLeaveMeetingButtonForHostEnabled(https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/MeetingSettingsHelper.html#isNoLeaveMeetingButtonForHostEnabled--) we have this in our demo (https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/sample/src/main/java/us/zoom/sdksample/ui/MeetingSettingActivity.java#L184)

Hope this helps. Thanks!