#include <RTPInnerPacket.h>
Public Types | |
enum | RTP_INP_TYPE { RTP_INP_UNDEF, RTP_INP_INITIALIZE_PROFILE, RTP_INP_PROFILE_INITIALIZED, RTP_INP_INITIALIZE_RTCP, RTP_INP_RTCP_INITIALIZED, RTP_INP_CREATE_SENDER_MODULE, RTP_INP_SENDER_MODULE_CREATED, RTP_INP_DELETE_SENDER_MODULE, RTP_INP_SENDER_MODULE_DELETED, RTP_INP_INITIALIZE_SENDER_MODULE, RTP_INP_SENDER_MODULE_INITIALIZED, RTP_INP_SENDER_MODULE_CONTROL, RTP_INP_SENDER_MODULE_STATUS, RTP_INP_LEAVE_SESSION, RTP_INP_SESSION_LEFT, RTP_INP_DATA_OUT, RTP_INP_DATA_IN } |
Public Member Functions | |
RTPInnerPacket (const char *name=NULL) | |
RTPInnerPacket (const RTPInnerPacket &rinp) | |
virtual | ~RTPInnerPacket () |
RTPInnerPacket & | operator= (const RTPInnerPacket &rinp) |
virtual cObject * | dup () const |
virtual const char * | className () const |
virtual void | info (char *buf) const |
virtual void | writeContents (ostream &os) const |
virtual void | initializeProfile (int mtu) |
virtual void | profileInitialized (int rtcpPercentage, IN_Port port) |
virtual void | initializeRTCP (const char *commonName, int mtu, int bandwidth, int rtcpPercentage, IN_Addr address, IN_Port port) |
virtual void | rtcpInitialized (u_int32 ssrc) |
virtual void | createSenderModule (u_int32 ssrc, int payloadType, const char *fileName) |
virtual void | senderModuleCreated (u_int32 ssrc) |
virtual void | deleteSenderModule (u_int32 ssrc) |
virtual void | senderModuleDeleted (u_int32 ssrc) |
virtual void | initializeSenderModule (u_int32 ssrc, const char *fileName, int mtu) |
virtual void | senderModuleInitialized (u_int32 ssrc, int payloadType, int clockRate, int timeStampBase, int sequenceNumberBase) |
virtual void | senderModuleControl (u_int32 ssrc, RTPSenderControlMessage *msg) |
virtual void | senderModuleStatus (u_int32 ssrc, RTPSenderStatusMessage *msg) |
virtual void | leaveSession () |
virtual void | sessionLeft () |
virtual void | dataOut (RTPPacket *packet) |
virtual void | dataIn (RTPPacket *packet, IN_Addr address, IN_Port port) |
virtual RTP_INP_TYPE | type () |
virtual const char * | commonName () |
virtual int | mtu () |
virtual int | bandwidth () |
virtual int | rtcpPercentage () |
virtual IN_Addr | address () |
virtual IN_Port | port () |
virtual u_int32 | ssrc () |
virtual int | payloadType () |
virtual const char * | fileName () |
virtual int | clockRate () |
virtual int | timeStampBase () |
virtual int | sequenceNumberBase () |
|
|
Default constructor |
|
Copy constructor. |
|
Destructor. |
|
Returns the address stored in this RTPInnerPacket. |
|
Returns the available bandwitdth as stored in this RTPInnerPacket. |
|
Returns the class name "RTPInnerPacket". |
|
Returns the rtp clock rate stored in this RTPInnerPacket. |
|
Returns the CNAME stored in this RTPInnerPacket. |
|
|
|
Capsultes the incoming RTPPacket into this RTPInnerPacket to transport it within the rtp layer. |
|
Capsulates the outgoing RTPPacket into this RTPInnerPacket to transport it within the rtp layer. |
|
|
|
Duplicates the RTPInnerPacket by calling the copy constructor. |
|
Returns the file name stored in this RTPInnerPacket. |
|
Writes a short info about this RTPInnerPacket into the given string. |
|
Called by the rtp module after creating the profile module. It informes the profile about the maximum size an rtp packet can have. |
|
Called by the rtp module to inform the rtcp module about mandatory information for starting the rtp session. |
|
|
|
Called by the rtp module to inform the rtcp module that the session should be left. |
|
Returns the maximum transmission unit stored in this RTPInnerPacket. |
|
Assignment operator. |
|
Returns the payload type stored in this RTPInnerPacket. |
|
Returns the port stored in this RTPInnerPacket. |
|
Called by the profile module after it has received the initializeProfile() message. It informs the rtp module about the percentage of the available bandwidth to be used by rtcp and the preferred port for this profile. |
|
Called by the rtcp module after it has waited for half an rtcp interval for incoming messages from other session participants. It informs the rtp module which later informs the rtp application about the ssrc identifier this rtp endsystem uses. |
|
Returns the percentage of bandwidth for rtcp as stored in this RTPInnerPacket. |
|
|
|
|
|
|
|
|
|
|
|
Returns the rtp sequence number base stored in this RTPInnerPacket. |
|
Called by the rtcp module when the rtcp bye packet has been sent to the network. |
|
Returns the ssrc identifier stored in this RTPInnerPacket. |
|
Returns the rtp time stamp base stored in this RTPInnerPacket. |
|
Returns the type of this RTPInnerPacket. |
|
Writes a longer info about this RTPInnerPacket into the given output stream. |