Пример #1
0
        public void AcceptVideoCall(ref STVideoWindow stLocalWnd, ref STVideoWindow stRemoteWnd)//接听视频呼叫
        {
            LogManager.SystemLog.Debug(string.Format("Start UC_SDK_AcceptVideoCall"));
            int iRet = UCInterface.UC_SDK_AcceptVideoCall(stLocalWnd.hWnd, stLocalWnd.left, stLocalWnd.top, stLocalWnd.width, stLocalWnd.height,
                                                          stRemoteWnd.hWnd, stRemoteWnd.left, stRemoteWnd.top, stRemoteWnd.width, stRemoteWnd.height);

            if (iRet != 0)
            {
                LogManager.SystemLog.Error(string.Format("UC_SDK_AcceptVideoCall = {0}", iRet));
            }
            LogManager.SystemLog.Debug(string.Format("End UC_SDK_AcceptVideoCall"));
        }