By design, a regular user is only able to mute/unmute their own audio. This is because muting a user’s audio is session-wide, meaning that muting a user will result in them not being able to transmit audio to the entire session. If you would like a user to be able to perform this action, you would need to promote them to the manager role.
Thanks for your reply,
Sometimes user want mute other’s sound on user’s device to avoid disturbing.
Are there any ways to turn off other’s sound on user’s device only?
If you want to prevent a user from receiving all audio during a session, you could do so by calling ZoomVideoSDKAudioHelper#stopAudio. The only caveat here is that you would also no longer be able to send audio. In theory, you could circumvent that limitation by sending raw audio data, but that could be a little difficult to manage switching between the two modes each time you want to mute/unmute other users as it would require state changes on both the sending and receiving ends.
Depending on the amount of control you are looking for over user audio, it could be worth considering moving all of your audio to raw data. This would allow you to receive each individual user’s audio stream separately, allowing you to control what you are able to hear on a per-user basis.