Getting meeting-ended state when user moves in-meeting from waiting room

Hi,

I am getting MobileRTCMeetingState_Ended when host let in user from waiting room to In-meeting.

How can we know that when meeting state is MobileRTCMeetingState_Ended due to waiting-room and when it is due to meeting end.

Hey @yadav.rajat,

It is intended behavior for MobileRTCMeetingState_Ended to be thrown when the user has be admitted from the waiting room because the SDK treats the waiting room as a special type of meeting.

There are a couple of useful callbacks that can help determine where exactly the user is in the waiting-room meeting flow.

onJBHWaitingWithCmd:
onMeetingEndedReason:
onWaitingRoomStatusChange:

The third one will be called with true as a parameter when the user has entered the waiting room, and will be called again with false when the user has been admitted from the waiting room.

Thanks!
Michael