Example #1
0
        public uint DIOStartRealPlayStrm(uint loginid, string pChannelId, IntPtr hWnd, out UInt64 pdwRealStrmId)
        {
            m_STATENOTECALLBACK = OnSTATENOTECALLBACK;
            if (pChannelId.Contains(" "))
            {
                pChannelId = pChannelId.Substring(pChannelId.LastIndexOf(' ') + 1);
            }
            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXStreamIOSDKProtocol StrmRealStartPlay loginid:" + loginid + ",pChannelId:" + pChannelId + ",hWnd:" + hWnd.ToInt64());
            UInt64 retVal = IVXStreamIOSDKProtocol.StrmRealStartPlay(loginid, hWnd, pChannelId, m_STATENOTECALLBACK, IntPtr.Zero, out pdwRealStrmId);

            if (retVal > 0)
            {
                DIO_GetError((uint)retVal);
            }

            MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, "IVXStreamIOSDKProtocol StrmRealStartPlay ret:" + retVal + ",pdwRealStrmId:" + pdwRealStrmId);
            return((uint)retVal);
        }