[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-server-cvs
Subject: [Server-cvs] common/struct/pub servpckts.h,1.9.112.1,1.9.112.1.6.1
From: svaidhya () helixcommunity ! org
Date: 2008-12-12 1:43:37
Message-ID: 200812120144.mBC1iXgA021735 () mailer ! progressive-comp ! com
[Download RAW message or body]
Update of /cvsroot/server/common/struct/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv19156
Modified Files:
Tag: SERVER_12_1
servpckts.h
Log Message:
ynopsis
========
Implementation of IHXRTPPacketInfo and related changed in QTStream::ReadDone
Branches: SERVER_CURRENT, SERVER_12_1
Reviewer(s): Jamie, Chytanya
Description
===========
- Implemented the IHXRTPPacketInfo (only required ones)
- Modified the Common Class Factory to include IHXRTPPacketInfo in the CreateInstance Method
It also sets the variable "m_bEnableIHXRTPPacketInfo" in ServerPacket to allow QI'ing
IHXRTPPacketInfo from either IHXPcket ot IHXRTPPacket.
- QTStream::ReadDone method
- RTPPacketBase::unpack method to extract the various field in the pkt
- Create Instance of IHXRTPPacketInfo and set the values using its Get/Set methods
- Finally create IHXPacket and add it to the Packet Queue of QTBCStreamsObject.
Chytanya's Review Comments
==========================
- Remove a AddRef to StreamHeader in ReadDone Method
Files Affected
==========
/server/common/struct/servpckt.cpp
/server/common/struct/pub/servpckt.h
/common/include/ihxpckts.h
/server/broadcast/transport/rtp/recv/qtstream.cpp
/server/broadcast/transport/rtp/recv/qtstream.h
Testing Performed
=================
Unit Tests:
None.
Integration Tests:
- Tested for single rate Streams
Leak Tests:
None.
Performance Tests:
None.
Platforms Tested: : win32-i386-vc7
Build verified: linux-rhel4-i686, win32-i386-vc7
Index: servpckts.h
===================================================================
RCS file: /cvsroot/server/common/struct/pub/servpckts.h,v
retrieving revision 1.9.112.1
retrieving revision 1.9.112.1.6.1
diff -u -d -r1.9.112.1 -r1.9.112.1.6.1
--- servpckts.h 24 Dec 2007 20:24:49 -0000 1.9.112.1
+++ servpckts.h 12 Dec 2008 01:43:34 -0000 1.9.112.1.6.1
@@ -236,6 +236,7 @@
UINT16 m_uRuleSeqNoArraySize;
UINT16* m_pRuleSeqNoArray;
+ UINT32 m_ulSSRC;
};
@@ -286,6 +287,33 @@
UINT16 unASMRuleNumber);
/*
+ * IHXRTPPacketInfo methods
+ */
+ STDMETHOD_(UINT8, GetVersion) (THIS);
+ STDMETHOD(GetPaddingBit) (THIS_ REF(BOOL)bPadding);
+ STDMETHOD(SetPaddingBit) (THIS_ BOOL bPadding);
+ STDMETHOD(GetExtensionBit) (THIS_ REF(BOOL)bExtension);
+ STDMETHOD(SetExtensionBit) (THIS_ BOOL bExtension);
+ STDMETHOD(GetCSRCCount) (THIS_ REF(UINT8)unCSRCCount);
+ STDMETHOD(SetCSRCCount) (THIS_ UINT8 unCSRCCount);
+ STDMETHOD(GetMarkerBit) (THIS_ REF(BOOL)bMarker);
+ STDMETHOD(SetMarkerBit) (THIS_ BOOL bMarker);
+ STDMETHOD(GetPayloadType) (THIS_ REF(UINT8)unPayloadType);
+ STDMETHOD(SetPayloadType) (THIS_ UINT8 unPayloadType);
+ STDMETHOD(GetSequenceNumber) (THIS_ REF(UINT16)unSeqNo);
+ STDMETHOD(SetSequenceNumber) (THIS_ UINT16 unSeqNo);
+ STDMETHOD(GetTimeStamp) (THIS_ REF(UINT32)ulTS);
+ STDMETHOD(SetTimeStamp) (THIS_ UINT32 ulTS);
+ STDMETHOD(GetSSRC) (THIS_ REF(UINT32)ulSSRC);
+ STDMETHOD(SetSSRC) (THIS_ UINT32 ulSSRC);
+ STDMETHOD(GetCSRCList) (THIS_ REF(const char*) pulCSRC);
+ STDMETHOD(SetCSRCList) (THIS_ const char* pCSRCList, UINT32 ulSize);
+ STDMETHOD(GetPadding) (THIS_ REF(const char*) pPadding);
+ STDMETHOD(SetPadding) (THIS_ const char* pPadding, UINT32 ulSize);
+ STDMETHOD(GetExtension) (THIS_ REF(const char*) pExtension);
+ STDMETHOD(SetExtension) (THIS_ const char* pExtension, UINT32 ulSize);
+
+ /*
* Misc. public methods
*/
ServerRTPPacket()
_______________________________________________
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