CgwMonitorManage.Common.RtpAdapter.ESDK_RTP_ProcessPacket C# (CSharp) Method

ESDK_RTP_ProcessPacket() public method

解析rtp包
public ESDK_RTP_ProcessPacket ( IntPtr pBuf, uint uiBufSize, uint uiChannel ) : void
pBuf System.IntPtr
uiBufSize uint
uiChannel uint
return void
        public void ESDK_RTP_ProcessPacket(IntPtr pBuf, uint uiBufSize, uint uiChannel)
        {
            NLogEx.LoggerEx logEx = new NLogEx.LoggerEx(log);

            try
            {
                int iRet = SdkRtpInterface.ESDK_RTP_ProcessPacket(pBuf, uiBufSize, uiChannel);

                if (iRet != 0)
                {
                    logEx.Error("RtpAdapter.ESDK_RTP_ProcessPacket failed. uiBufSize ={0},uiChannel ={1} ", uiBufSize, uiChannel);
                }
            }
            catch (System.Exception ex)
            {
                logEx.Error("RtpAdapter.ESDK_RTP_ProcessPacket ,Exception:{0},uiBufSize ={1},uiChannel ={2} ", ex.ToString(), uiBufSize, uiChannel);
            }
        }