[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-protocol-cvs
Subject:    [Protocol-cvs] transport/common/system/pub rtsptran.h,1.34,1.35
From:       acolwell () helixcommunity ! org
Date:       2004-12-16 19:10:07
[Download RAW message or body]

Update of /cvsroot/protocol/transport/common/system/pub
In directory cvs-new:/tmp/cvs-serv867/common/system/pub

Modified Files:
	rtsptran.h 
Log Message:
- Removed duplicate ABD code in RDT transports and moved it into the base
  class
- Fixed a potential memory corruption bug
- Added code to allow the rtsp code to notify the transport about how many
  ABD packets are being requested.


Index: rtsptran.h
===================================================================
RCS file: /cvsroot/protocol/transport/common/system/pub/rtsptran.h,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- rtsptran.h	5 Dec 2004 21:33:53 -0000	1.34
+++ rtsptran.h	16 Dec 2004 19:10:04 -0000	1.35
@@ -370,6 +370,8 @@
     UINT32 GetTotalFailedResends(void) { return m_ulTotalFailedResends; }
     UINT32 GetSendingTime(void) { return m_ulSendingTime; }
 
+    HX_RESULT SetProbingPacketsRequested(UINT8 nPacketsRequested);
+
 private:
     HX_RESULT handleNoTransBufList(RTSPTransportBuffer* pTransportBuffer);
     HX_RESULT storeClientPacket(RTSPTransportBuffer* pTransportBuffer,
@@ -377,6 +379,10 @@
     void destroyPktList(REF(CHXSimpleList*) pList);
 
 protected:
+    void destroyABDPktInfo();
+    HX_RESULT handleABDPktInfo(TransportMode mode, UINT32 uSeq, 
+                               UINT32 uSendTime, UINT32 uRecvTime, 
+                               UINT32 uPktSize);
 
     IUnknown*                           m_pContext;
     IHXCommonClassFactory*              m_pCommonClassFactory;
@@ -420,8 +426,9 @@
 
     BOOL                                m_bSkipTimeAdjustment;
 
+    UINT8                               m_nProbingPacketsRequested;
     UINT8                               m_nProbingPacketsReceived;
-    ABD_PROBPKT_INFO*                   m_pABDProbPktInfo[MAX_ABD_PROBPKT];
+    ABD_PROBPKT_INFO**                  m_pABDProbPktInfo;
 
 #ifdef RDT_MESSAGE_DEBUG
     BOOL      m_bRDTMessageDebug;



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic