I need a fast way to identify who have an open or “not open” mic and compare this state with a custom list that change over time.
Immagine doing this scan every 100msec
What whould you suggest as a best practice to get fast as possible a “mic open” user state ?
Thanks
Extra info
Until now i update an array lets say ZoomUserList
let zoomparticipantsctrl = remote.app.zoomparticipantsctrl;
if (zoomparticipantsctrl) {
let userList = zoomparticipantsctrl.GetParticipantsList();
zoomUserList = [];
userList.forEach(element => {
let userObj = zoomparticipantsctrl.GetUserInfoByUserID(element.userid);
zoomUserList.push(userObj);
});
}
and update when a user join/left
then i call the isAudioMuted
function to check if a user is mute and consider the not mute = talking
(i didn’t find a fast better way to do this)
and also use the audiochange call back to do the check
this method is good for meeting with 50 or less people, but when i have a large meeting with > 50 people i put under pressure my app!
So, if there is some faster way to identify who is talking, please, any suggest is welcome !
Thanks