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

List:       helix-server-cvs
Subject:    [Server-cvs] protocol/rtsp/pub crtspbase.h,1.19,1.20
From:       jgordon () helixcommunity ! org
Date:       2009-09-22 21:44:43
Message-ID: 200909222254.n8MMs2Hu013101 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/server/protocol/rtsp/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv16438/server/protocol/rtsp/pub

Modified Files:
	crtspbase.h 
Log Message:
Synopsis
========
cleans up some protocol specific handling in Client/ClientSession
Branches: HEAD (SERVER_CURRENT)
Reviewer: jzeng


Description
===========
Moves a bunch of per-protocol stuff from Client and ClientSession into
the protocols. Also adds counters for RTMP clients. And allows the
protocol to specify the appropriate payload type to tell the file
format.

Long file list, but really it's not all that big! Just small changes to
lots of files.

Files Affected
==============
server/engine/core/hxprot.cpp
server/engine/core/server_info.cpp
server/engine/core/pub/hxprot.h
server/engine/core/pub/server_info.h
server/engine/session/client.cpp
server/engine/session/clientsession.cpp
server/engine/session/pub/client.h
server/engine/session/pub/clientsession.h
server/include/hxservinfo.h
server/protocol/cloaked/cloak_common.cpp
server/protocol/http/http_demux.cpp
server/protocol/http/httpbaseproto.cpp
server/protocol/http/pub/http_demux.h
server/protocol/http/pub/httpbaseproto.h
server/protocol/rtsp/crtspbase.cpp
server/protocol/rtsp/pub/crtspbase.h
server-restricted/proxy/rproxy/rtspprxy.cpp
server_rn/protocol/flash/rtmpserv/rtmpserv.cpp
server_rn/protocol/flash/rtmpserv/pub/rtmpserv.h
server_rn/protocol/wmt/http/wmt_httpprot.cpp
server_rn/protocol/wmt/http/pub/wmt_httpprot.h
server_rn/protocol/wmt/servermms/mmsserv.cpp
server_rn/protocol/wmt/servermms/pub/mmsserv.h
server_rn/proxy/core/mmsproxy.cpp
server_rn/proxy/core/mmsproxy.h


Testing Performed
=================
Unit Tests:

Integration Tests:
Verified protocol types in access logs
Verified rss counts

Leak Tests:
None

Performance Tests:
None

Platforms Tested: linux-rhel5-i686
Build verified: linux-rhel4-i686, win32-i386-vc7


QA Hints
===============

n/a



Index: crtspbase.h
===================================================================
RCS file: /cvsroot/server/protocol/rtsp/pub/crtspbase.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- crtspbase.h	3 Sep 2009 17:48:24 -0000	1.19
+++ crtspbase.h	22 Sep 2009 21:44:41 -0000	1.20
@@ -312,6 +312,11 @@
 
     UINT32 controlBytesSent             ();
     
+    void                                GetProtocolName(IHXBuffer*& pName, 
+                                                        IHXBuffer*& pVersion);
+
+    HXBOOL                              SupportsSSRA() { return TRUE; }
+
     HX_RESULT SendSetParam              (const char* url,
                                          const char* pSessionID,
                                          const char* pName,
@@ -556,6 +561,8 @@
     };
 
 protected:
+    void IncrProtocolStatsInfo          (void);
+    void DecrProtocolStatsInfo          (void);
     RTSPServerSession* GetSession       (const char* pSessionID,
                                          BOOL bCreate = FALSE);
 
@@ -1089,7 +1096,8 @@
     // Does the client need the old RTP timestamps?
     HXBOOL                              m_bOldRTPTS;
     HX_MUTEX                            m_pDoneLock;
-    BOOL                               m_bRealPlayer;
+    BOOL                                m_bRealPlayer;
+    HXBOOL                              m_bIsCloaked;
 
     IHXBuffer*                          m_pViaHeader;
     UINT32                              m_ulBCNGClientVersion;


_______________________________________________
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