[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-server-cvs
Subject: [Server-cvs] protocol/transport/common/pub transport.h,1.12,1.13
From: juanitomoore () helixcommunity ! org
Date: 2011-07-12 23:08:43
Message-ID: 201107122308.p6CN8mtA011451 () mailer ! progressive-comp ! com
[Download RAW message or body]
Update of /cvsroot/server/protocol/transport/common/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv10827/server/protocol/transport/common/pub
Modified Files:
transport.h
Log Message:
Synopsis
========
Add counter code for PPM vs MDP and counters for RDT vs RTP.
Branches: HEAD
Reviewer: Dean
Description
===========
Add counter code for each to server_info.cpp/.h.
In constructors and destructors of PPM::Session::Session()
and PushPacketFlow::PushPacketFlow(), put counters.
For RDT vs RTP, use the same mechanism as for UDP counters.
Show the result in _main.cpp as
RTSP Connections: n% MDP, n% RTP, n% RDT
Files Affected
==============
server/engine/core/_main.cpp
server/engine/core/server_info.cpp
server/engine/core/pub/server_info.h
server/protocol/rtsp/transportparams.cpp
server/protocol/transport/common/transport.cpp
server/protocol/transport/common/pub/transport.h
server/protocol/transport/rdt/rdt_base.cpp
server/include/hxservinfo.h
server/engine/core/_main.cpp
server/engine/dataflow/ppm.cpp
server/engine/dataflow/pushpacketflow.cpp
Testing Performed
=================
Unit Tests: - N/A
Integration Tests: Ran with helixsim showing MDP percentage.
In clientsession.cpp, I alternated the license for MDP off and on
and got 50% MDP. For RTP vs RDT, I showed that we use 100% RDT for
realvideo10.rm.
Leak Tests: - N/A
Performance Tests: -N/A
Platforms Tested: linux-rhel5-x86_64
Builds Verified: linux-rhel5-x86_64
QA Hints
========
To force some clients to use PPM instead of MDP, alter license.
Index: transport.h
===================================================================
RCS file: /cvsroot/server/protocol/transport/common/pub/transport.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- transport.h 5 Nov 2010 17:24:25 -0000 1.12
+++ transport.h 12 Jul 2011 23:08:40 -0000 1.13
@@ -403,6 +403,7 @@
protected:
HX_RESULT GetProtocolType(ServerInfoCounters *protType);
HX_RESULT DecrProtocolCount();
+ HX_RESULT GetRdtRtpProtocolType(ServerInfoCounters *protType);
void destroyABDPktInfo();
HX_RESULT handleABDPktInfo(TransportMode mode, UINT32 uSeq,
UINT32 uSendTime, UINT32 uRecvTime,
_______________________________________________
Server-cvs mailing list
Server-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/server-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic