Meeting SDK Type and Version Web MeetingSdk 2.9.7 also tried on 2.10.0
**Description: I want to implement in the Angular app redirect after the meeting ends or when the user left the meeting. From the newer version than 2.6.0 - hook ‘onMeetingStatus’ not returns for me status 3. For the previous versions it was working correctly, but now I had to update the library version because I need the view selector button.
I tried also ‘onUserLeave’ but it did not return anything, ‘leaveUrl’ field does not work as well.
Any ideas to workaround the missed status? **
How To Reproduce
1. Install library from @zoomus/websdk - npm
2. Implement the library with instruction
3. Add ‘onMeetingStatus’ listener to the code
4. Join, next leave the meeting and check if status 3 was returned. Do the same but enter as host, end the whole meeting, and check the status.
ZoomMtg.inMeetingServiceListener('onMeetingStatus', function (data) {
// {status: 1(connecting), 2(connected), 3(disconnected), 4(reconnecting)}
console.log('[ZOOM-MEET.COMPONENT-onMeetingStatus: ]', data.meetingStatus);
if (data.meetingStatus === 3) {
window.location.href = leaveUrlAddress;
}
});