I integrate Web Client SDK with my laravel web application. when user join to the meeting. my web application checked wheather user is autorized persoon or not .
So I developed that functionality . it is working !
ZoomMtg.inMeetingServiceListener('onUserJoin', function (data) {
console.log("ON USER JOIN");
console.log('inMeetingServiceListener onUserJoin', data);
var userId = data.userId;
var userEmail = data.userName;
var isHost = data.isHost;
$.ajax({
type: "GET",
url: "{{ url('meeting/web/checkAuthorizedUser') }}/",
data: {
'userEmail': userEmail,
'_token': '{{csrf_token()}}',
},
dataType: 'json',
success: function (isAuthorizedUser) {
if (!isAuthorizedUser) {
ZoomMtg.expel({
userId: userId
});
}
}
});
});
Here is the problem.
- Student captured meeting ID & passcode via on URL
- Login in to the the Zoom Desktop Client & entered meeting ID and passcode
- Enter his personal email (it is not registered with my system)
- then my system rejected that request . that is OKAY . " ZoomMtg.expel" is working correctly .
- After that my student closed the Desktop Client and try to log into the meeting again with his authorized registered email .that should be accept by my application .because the student has authorized email .
- Unforuantely Zoom DESKTOP client will not allow for that . its failed.
- After that , I go to zoom web admin panel and click “End the Meeting”
- I Started my meeting again & recheck the Desktop Client .
- then it works without having any issues.