/// <summary> /// 切换音频视频模式 /// </summary> /// <param name="call">呼叫处理器,为空时为当前呼叫</param> /// <param name="callMode">呼叫类型</param> public void ChangeCallType(CallMode callMode) { var errno = PlcmProxy.ChangeCallMode(this.CallHandle, callMode); if (ErrorNumber.OK != errno) { throw new Exception("切换音频视频模式失败,ErrorNo=" + errno); } log.Info(string.Format("呼叫{0}改变模式{1}", CallName, callMode)); }