Connected status cannot be received using inMeetingServiceListener

Description
In callback function from inMeetingServiceListener ‘onMeetingStatus’, I received meetingStatus=1 after ZoomMtg.join(), and received same value again.
After all, cannot received meetingStatus=2 after meeting started.

I think the second ‘meetingStatus=1’ might be ‘2’.
Is there anything needs to be fixed?

Which Endpoint/s or Web JS SDK?
ZoomMtg.inMeetingServiceListener(‘onMeetingStatus’)

Which version?
Web SDK 1.8.0

Screenshots

Device information
OS: Windows10 2004
Browser: Chrome 85.0.4183.83

Hey @dave.t,

Can you please provide steps to reproduce? Your Web SDK code snippets would be helpful for us to help debug.

Thanks,
Tommy

Hey @tommy,
Thanks for your reply.

The reproduction and code snippets are shown below.

To Reproduce
Steps to reproduce the behavior:

  1. Initialize using ZoomMtg.init().
  2. If successful, regist the callback function using ZoomMtg.inMeetingServiceListener(‘onMeetingStatus’).
  3. Zoom.join() to meeting.
  4. The callback function is called twice.

code snippets
Code snippets are as follows.

ZoomMtg.init({
    leaveUrl: meetingConfig.leaveUrl,
    webEndpoint: meetingConfig.webEndpoint,
    meetingInfo: ['topic', 'host'],
    isSupportAV: true,
    disableInvite: true,
    success: function () {
        $.i18n.reload(meetingConfig.lang);

        ZoomMtg.inMeetingServiceListener('onMeetingStatus', function (data) {
            Console.log("onMeetingStatus, status = ",data.meetingStatus);
        });

        ZoomMtg.join({
            meetingNumber: meetingConfig.meetingNumber,
            userName: meetingConfig.userName,
            signature: meetingConfig.signature,
            apiKey: meetingConfig.apiKey,
            userEmail: meetingConfig.userEmail,
            passWord: meetingConfig.passWord,
            success: function (res) {
                ZoomMtg.getCurrentUser({
                    success: function (res) {
                        Console.log("success getCurrentUser", res.result.currentUser);
                    },
                });
                ZoomMtg.inMeetingServiceListener('onUserLeave', function (data) {
                    Console.log("onUserLeave");
                });
            },
            error: function (res) {
                Console.log('failed join.', res);
            },
        });
    },
    error: function (res) {
        Console.log('failed initialized.', res);
    },
});

Thanks,
dave.t

Thanks @dave.t for the additional details!

Our engineers are looking into this issue. (CS-2269)

We will provide you with an update as soon as we can.

-Tommy

1 Like

Thanks @tommy !
I’m looking forward to update :wink:

1 Like

Hey @dave.t,

You are welcome! Once I have an update I will let you know! :slight_smile:

Thanks,
Tommy

Hey @dave.t,

This will be fixed in Web SDK version 1.8.1.

Thanks for your patience! :slight_smile:

-Tommy

1 Like

Hey @dave.t,

Version 1.8.1 has been released! :slight_smile: This issue is now fixed.

We will be updating our changelog shortly:

Thanks,
Tommy

1 Like

Hi @tommy,

I received a connected status and know this issue is fixed!
Thanks tommy and them.

Thanks,
dave.t

1 Like

Hey @dave.t,

You are welcome! :slight_smile:

Let us know if you need anything else!

Thanks,
Tommy