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

List:       helix-protocol-cvs
Subject:    [Protocol-cvs] transport/common/system rtsptran.cpp,1.39,1.40
From:       bobclark () helixcommunity ! org
Date:       2005-03-22 21:31:37
[Download RAW message or body]

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

Modified Files:
	rtsptran.cpp 
Log Message:
report filled buffer size as new stat; cr ping

Index: rtsptran.cpp
===================================================================
RCS file: /cvsroot/protocol/transport/common/system/rtsptran.cpp,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- rtsptran.cpp	10 Mar 2005 20:59:20 -0000	1.39
+++ rtsptran.cpp	22 Mar 2005 21:31:34 -0000	1.40
@@ -1680,6 +1680,21 @@
 	    pStreamStats->m_pAvgBandwidth->SetInt((INT32)ulAvgBandwidth);
 	    pStreamStats->m_pCurBandwidth->SetInt((INT32)ulCurBandwidth);
 
+            if (m_pSrcBufferStats)
+            {
+                INT64 llLowestTimeStamp;
+                INT64 llHighestTimeStamp;
+                UINT32 ulNumberOfBytes;
+                HXBOOL bDone;
+                HX_RESULT hxr = m_pSrcBufferStats->GetTotalBuffering(pStreamData->m_streamNumber,
+                        llLowestTimeStamp, llHighestTimeStamp, ulNumberOfBytes, bDone);
+
+                if (SUCCEEDED(hxr))
+                {
+                    pStreamStats->m_pFilledBufferSize->SetInt((INT32)ulNumberOfBytes);
+                }
+            }
+
 updateContinue:
 
 	    pStreamData = m_pStreamHandler->nextStreamData();



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

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