/// <summary> /// 开启发送共享内容 /// </summary> /// <param name="imageFormat">图像格式</param> /// <param name="contentType">共享内容类型</param> /// <param name="contentHandle">句柄</param> public void StartSendContent(ImageFormat imageFormat, ContentType contentType, object contentHandle) { var errno = PlcmProxy.StartBFCPContent(this.CallHandle); if (ErrorNumber.OK != errno) { throw new Exception("内容共享失败,ErrorNo=" + errno); } log.Info(string.Format("呼叫{0}开始发送BFCP共享内容", CallName)); this.ContentImageFormat = imageFormat; this.ContentType = contentType; this.ContentHandle = contentHandle; }