try “inMeetingServiceListener(event, callback)”
ZoomMtg.inMeetingServiceListener('onUserJoin', function (data) {
console.log(data);
});
ZoomMtg.inMeetingServiceListener('onUserLeave', function (data) {
console.log(data);
});
ZoomMtg.inMeetingServiceListener('onUserIsInWaitingRoom', function (data) {
console.log(data);
});
ZoomMtg.inMeetingServiceListener('onMeetingStatus', function (data) {
// {status: 1(connecting), 2(connected), 3(disconnected), 4(reconnecting)}
console.log(data);
});
ZoomMtg.inMeetingServiceListener('onPreviewPannel', function (data) {
console.log('onPreviewPannel', data);
});
ZoomMtg.inMeetingServiceListener('receiveSharingChannelReady', function (data) {
console.log('onShareStarted', data);
});
hint: “receiveSharingChannelReady” is the wrong name, “onSharingStatus” should be correct