Base SDK versions:
win32 native sdk version:zoom-sdk.4.6.21666.0428
mac native sdk version:All_mac_sdk_4.6.21666.0427
To Reproduce
Download, build and run Zoom SDK Electron Demo in Mac.
Go with default domain, insert valid SDK key+secret, join a meeting without login.
Test zoomaudio.MeetingAudio_MuteAudio and zoomaudio.MeetingAudio_UnMuteAudio with different User IDs.
They only work on myself and only IF I’M HOST, but never work on other participants even if I’m the Host.
Note that muting / unmuting VIDEO actually works as expected on all participants when I’m the Host, so the problem only happens with Audio muting / unmuting actions.
Tested cases
As a participant
Cannot Mute / Unmute Audio myself, I should be able to.
Cannot Mute / Unmute Audio any other participant, this is ok since I’m no Host.
As the Host
Can Mute / Unmute Audio myself, this is expected.
Cannot Mute / Unmute Audio any other participant, I should be able to. Seems like function calls do nothing, nobody gets asked to unmute because of host request, nobody gets muted, etc.
Additional context
As the Host, I actually can mute / unmute audio of other users through the Zoom UI, so it’s definitely not a problem related with roles or the meeting itself.
Thank you so much for your help in advance as well as for the effort of providing a way for us to make useful features through SDKs!
Thanks for using Zoom SDK and providing the info. Really appreciate it. I will pass this to the engineering team for further investigation. Will back to you once I have any updates.
Looking forward to seeing the awesome integration . The engineering team was able to identify an issue based on your post and we will fix it in the next release.
Is the fix going to be part of an actual SDK Electron release? I understand that, in order to benefit from the fix, I’ll need to update the code in my Electron App once the new SDK Electron release is published. Is that so?
Yes, that’s correct. In most cases, once the new SDK release is published, you could simply replace the old SDK libraries with the new one and it will still work. You may follow our Github repo for any updates:https://github.com/zoom/zoom-sdk-electron
i also have this sdk version and i’m able to mute and unmute guest without problems (99% of time).
(i use a custom modified version of main.js on top of the plain sdk and libs)
@carson.zoom
sometimes i can say only 1% of our guest can “escape” the rule and unmute by herself, is this the bug in this version ?
where is the problem ?
can you give us file and line reference to try to fix before your release ?
is this bug affect only mac or win sdk ?
@f.barone The issue is happening on Mac for me. I’m not able to programmatically mute/unmute from the SDK, although I can do it from the adjacent Zoom UI which loads together with our Electron App.
I didn’t have the chance to try it on Windows so I don’t know if the issue also happens on it. Are you running on Windows? Maybe the issue only happens on Mac?
Thanks for the reply. I do not have the exact date for the next release yet. You may follow our Github repo https://github.com/zoom/zoom-sdk-electron for any updates.
i try to fuigure out but its only a presupposition.
the meeting is set to “allow participants to unmute themeself”
the app use the user-host priviledge.
my program manage an external list of user that change over time,
let’s say 2 people can talk the other stay mute,
the program call the getparticipant list and listen to the “onUserAudioStatusChange”
if an user try to open the mic the “app” call the : muteAudio(userId,false);
if an user try to mute the mic the “app” call the : unMuteAudio(userid);
sometimes if an user keep pushing the mic, it seeems that is invulnerable to the muteAudio(). and this user still invulnerable for all the meeting duration even if we close the host-app and reconnect.
the command if i remember say only error #2 on mute or unmute command
it’s like the situation when the meeting is set to “don’t allow participant to unmute…” and when you call the unmute the client ask the permission to unmute… so the host get the error for unMuteAudio.
Now in the next 4 days i hope to not have this problem, with the bad news on permission to unmute we must set to “don’t allow participant to unmute themeself” and the poor users must learn how to open and close the mic on zoom
The only alternative is to write and deploy a modified client in c++ but we don’t have time and resources to do it in this small time
PS: permission to unmute user is really good for plain system and privacy concern but is really bad for app who integrate with zoom where the user barely know what is a videoconference…
the other strange situation is that the sdk (who use the host-user to call the command) can’t mute the mic but the connected zoom client can mute the user from the zoom-ui !
So is like the sdk keep giving error on the mute command even if is work in the zoom-ui.
In the next meetings i try to log for you the userid and errors (y).
Please try to listen to the onUserJoin callback for the userID, and try not to use the userID in the onUserAudioStatusChange at the moment, we have identified an issue with this interface, will fix it in the next release.