提交工单
咨询集成、功能及报价等问题
This document describes how to mute/unmute the microphone.
To mute the microphone, call the muteMic method, and set the isMuted property to true. To unmute the microphone, set it to false.
// The switch to control the microphone.
boolean isMuted = true; // To mute the mircophone, set it to [true]. To unmute the microphone, set it to [false].
ZegoRoomManager.getInstance().speakerSeatService.muteMic(isMuted, new ZegoRoomCallback()
{
@Override
public void roomCallback(int errorCode) {
// This will be triggered when the microphone state changes.
}
});
