Starting meeting showing: This meeting has been ended by host

#1

Hello,
I am trying to use Zoom SDK and Mobile RTC SDK in my project. Below is my code:

    StartMeetingParams4APIUser meetingParams = new StartMeetingParams4APIUser();
    meetingParams.userId = ZoomUserId;
    meetingParams.meetingNo = meetingNo;
    meetingParams.zoomToken = ZoomUserToken;
    meetingParams.displayName = DISPLAY_NAME;

    StartMeetingOptions meetingOptions = new StartMeetingOptions();
    meetingOptions.invite_options= InviteOptions.INVITE_VIA_SMS + InviteOptions.INVITE_VIA_EMAIL + InviteOptions.INVITE_COPY_URL;
    meetingService.startMeetingWithParams(activity, meetingParams, meetingOptions);

However, I got message on . dialog:

This meeting has been ended by host.

I am expecting that meeting would start.

Following are more details:
compileSdkVersion = 28
targetSdkVersion = 28
Zoom SDK version: 4.3.53571.0118

Please help.

#2

Hi malwinder,

Thank you very much for using Zoom SDK. It might not be the root cause, if you are starting a meeting with non-login user, you will need both zoomToken and zoomAccessToken(If you are just joining a meeting, you don’t need them). The method startMeetingWithParams is looking for a Context object for the first parameter(Even though the Activity is a child-class of Context, it’s better to pass a Context).

Here is a checklist to start a meeting as a non-login user:

  1. A meeting has been scheduled
  2. You have retrieved your Zoom Token and Zoom Access Token
  3. Pass the meeting number, zoom token, zoom access token, and display name to startMeetingWithParams to start a meeting.

You can refer to the doc: https://marketplace.zoom.us/docs/sdk/native-sdks/android/mastering-zoom-sdk/start-join-meeting/api-user/start-meeting

Let me know if you have any other questions. Thanks!

1 Like
#3

Hi Carson,
Can I use v1 APIs on Zoom SDK with version 4.3.53571.0118?

#4

Hi,

API calls are not related to SDK as they are individual HTTP requests. Please use the v2 APIs as specified here: https://marketplace.zoom.us/docs/api-reference/introduction

Let me know if you have any other questions, Thanks!

#5

Hi,
I have an unrelated question. can you please help me find where I can download Zoom SDK version: 4.3.53571.0118 ?. it’s funny that they are referring to 4.3.53571.0118 in their documentation but the latest version available in github is 4.3.1.47.

Thank you very much

#6

Hi Ali,
Thanks for the post. I have answered your questions in another thread: Android SDK version 4.3.53571.0118

Thanks!