#include <MNRTPPacket.h>
Inheritance diagram for MNRTPPacket:


Public Types | |
| enum | DataDirection { To = false, From = true } |
Public Member Functions | |
| MNRTPPacket (MNRope *&data, bool consume_data) | |
| MNRTPPacket (const MNRTPPacket &orig) | |
| MNRTPPacket (const rtp_hdr_t *pkt, const rtp_hdr_ext *xpkt, MNRope *&data, const struct sockaddr_in *addr, bool from_addr) | |
| MNRTPPacket (MNRope *data, const struct sockaddr_in *addr, bool from_addr, RTP_RC &retCode) | |
| MNRTPPacket & | operator= (const MNRTPPacket &orig) |
| virtual | ~MNRTPPacket () |
| virtual SH::DataPtr | clone () |
| virtual size_t | getByteSize () const |
| Required by SH::Data. | |
| virtual MNRTPHdrExt * | parseHeaderExt (const rtp_hdr_ext *xpkt) |
| bool | check_version () const |
| u_int32 | get_ssrc () const |
| int | get_payload_type () const |
| u_int16 | get_seq () const |
| int | rate () const |
| u_int32 | get_ts () const |
| size_t | payload_length () const |
| const uchar_t * | payload () |
| MNRope * | extract_payload () |
| bool | has_ext_hdr () const |
| u_int16 | get_ext_hdr_byte_len () const |
| u_int16 | get_ext_hdr_word_len () const |
| u_int16 | get_ext_hdr_type () const |
| const uchar_t * | get_ext_hdr_payload () |
| virtual void | set_data (MNRope *data) |
| virtual void | set_timestamp (u_int32 tstamp) |
| virtual void | set_markerbit (bool yesno=true) |
| virtual u_int32 | get_timestamp () |
| virtual bool | get_markerbit () |
| virtual void | set_ext_header (MNRTPHdrExt *exthdr) |
| virtual bool | isPlainData () const |
| virtual bool | isOrderedData () const |
| virtual bool | isRTPData () const |
| virtual bool | isDummyData () const |
| virtual bool | isSHRTPData () const |
|
|
|
|
||||||||||||
|
The default constructer for creating an MNRTP packet
|
|
|
The copy constructor. |
|
||||||||||||||||||||||||
|
A constructor that takes a partially parsed RTP packet as input values for the internal RTP packet.
|
|
||||||||||||||||||||
|
A constructor that takes an unparsed buffer as an input value and extracts RTP packet information from it.
|
|
|
The destructor. |
|
|
Determines whether the version of this RTP packet is version 2. |
|
|
The clone function creates an independant copy of this object and returns a pointer to it.
Implements SH::Data.
|
|
|
Extract the payload from the RTP packet for further processing. The RTP packet must be deleted immediately after this operation. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gets the value for the marker bit |
|
|
Returns the payload type for this packet. |
|
|
Returns the payload type for this packet. |
|
|
Returns the SSRC for this packet. |
|
|
Gets the value for the timestamp |
|
|
Return the timestamp (in host byte order). |
|
|
Required by SH::Data.
Implements SH::Data.
|
|
|
Indicates whether an extension header is present. |
|
|
Implements SH::Data.
|
|
|
Implements SH::Data.
|
|
|
Implements SH::Data.
|
|
|
Implements SH::Data.
|
|
|
Implements SH::Data.
|
|
|
The assignment operator. |
|
|
The default header extension processing function. A specific instance may overload this function and provide some sense to the extension header. |
|
|
Get an unmutable pointer to the content of this data packet. |
|
|
Return the length of the payload rope. |
|
|
Look up and return the rate that is defined for this payload type.
|
|
|
Sets the payload of the rtp packet |
|
|
|
|
|
marker bit must be set or not |
|
|
Sets the rtp header timestamp |
1.3.8