/// <summary> /// 打开/关闭本地视频 /// </summary> /// <param name="isMute">关闭:true, 打开:false</param> public void MuteLocalVideo(bool isMute) { var errno = PlcmProxy.MuteLocalVideo(isMute); if (errno != ErrorNumber.OK) { var errMsg = string.Format("打开/关闭本地视频设置{0}失败,errno={1}", isMute, errno); log.Error(errMsg); throw new Exception(errMsg); } MuteVideo = isMute; log.Info(string.Format("打开/关闭本地视频设置{0}成功", isMute)); }