public static void MuteMic(bool isMute) { if (null != callManager.CurrentCall) { var errno = WrapperProxy.MuteMic(callManager.CurrentCall.CallHandle, isMute); if (ErrorNumber.OK != errno) { throw new Exception("麦克风静音设置失败,errno=" + errno); } } else { throw new Exception("当前呼叫为空,不能进行麦克风静音设置"); } }