MacSDK: how a host muteAudio when a prticipant join a ongoing meeting

hi zoom,
in my condition: In an ongoing meeting ,the host wants force the participant mute audio when join the meeting.

is there the same api as the MobileRTC

thanks

Hi wangyx,

Thanks for the post. If you would like to mute the participants, you can use the following method:

- (ZoomSDKError)actionMeetingWithCmd:(ActionMeetingCmd)cmd userID:(unsigned int)userID onScreen:(ScreenType)screen;

In the parameter cmd, pass the following:

ActionMeetingCmd_MuteAll

This will help you to mute the participant’s audio.

Hope this helps. Thanks!

actionMeetingWithCmd return 6 ,What should I do?why no permission

What are your parameters?

parameter1: ActionMeetingCmd_MuteAll
parameter2: userId
SDK version:4.4.56853.1110

In meeting .Have you provided an API to mute yourself?

Hi chentkwg2019,

Thanks for the reply. If you would like to mute yourself, you can use the same interface and pass 0 as your userID, please see the comment in the interface description:

Hope this helps. Thanks!