Thanks for the reply. Here is the definition of the method
@brief Set to mute audio of all attendees.
@param allowSelfUnmute YES means that attendee can unmute the audio himself, otherwise not.
@return YES means that the method is called successfully, otherwise not.
@warning Only meeting host can run the function.
So the boolean value passes is for allowing the attendee to unmute themselves.
For Scenario 1, since
allowSelfUnmute = YES, then the attendee would be allowed to unmute themselves, what you observed is the expected result.
For Scenario 2, since
allowSelfUnmute = NO, then the attendee would not be allowed to unmute themselves, when you unmute the attendees, you don’t need to call
[meetingService muteAllUserAudio:YES], you can just call the
[meetingService unmuteAllUserAudio] method.
Seems like what you have observed for both scenarios are working as expected. Pardon the misleading interface name for the
muteAllUserAudio, I think the original confusion was because of the name comes with a boolean name, and it could be misleading to be treated as turning mute all audio on/off.
Hope this helps. Thanks!