#include <rtppkt.h>
Inheritance diagram for OutgoingRTPPkt:

Public Member Functions | |
| OutgoingRTPPkt (const uint32 *const csrcs, uint16 numcsrc, const unsigned char *const hdrext, uint32 hdrextlen, const unsigned char *const data, size_t datalen, uint8 paddinglen) | |
| Construct a new packet to be sent, containing several contributing source identifiers, header extensions and payload. | |
| OutgoingRTPPkt (const uint32 *const csrcs, uint16 numcsrc, const unsigned char *const data, size_t datalen, uint8 paddinglen) | |
| Construct a new packet to be sent, containing several contributing source identifiers and payload. | |
| OutgoingRTPPkt (const unsigned char *const data, size_t datalen, uint8 paddinglen) | |
| Construct a new packet (fast variant, with no contributing sources and no header extension) to be sent. | |
| ~OutgoingRTPPkt () | |
| void | setPayloadType (PayloadType pt) |
| void | setSeqNum (uint16 seq) |
| void | setTimestamp (uint32 pts) |
| void | setSSRC (uint32 ssrc) const |
| Set synchronization source numeric identifier. | |
| void | setSSRCNetwork (uint32 ssrc) const |
| Set synchronization source numeric identifier. | |
| void | setMarker (bool mark) |
| Specify the value of the marker bit. | |
| bool | operator== (const OutgoingRTPPkt &p) const |
| Outgoing packets are equal if their sequence numbers match. | |
| bool | operator!= (const OutgoingRTPPkt &p) const |
| Outgoing packets are not equal if their sequence numbers differ. | |
This class is intented to construct packet objects just before they are inserted into the sending queue, so that they are processed in a understandable and format independent manner inside the stack.
|
||||||||||||||||||||||||||||||||
|
Construct a new packet to be sent, containing several contributing source identifiers, header extensions and payload. A new copy in memory (holding all this components along with the fixed header) is created.
|
|
||||||||||||||||||||||||
|
Construct a new packet to be sent, containing several contributing source identifiers and payload. A new copy in memory (holding all this components along with the fixed header) is created.
|
|
||||||||||||||||
|
Construct a new packet (fast variant, with no contributing sources and no header extension) to be sent. A new copy in memory (holding the whole packet) is created.
|
|
|
|
|
|
Outgoing packets are not equal if their sequence numbers differ.
|
|
|
Outgoing packets are equal if their sequence numbers match.
|
|
|
Specify the value of the marker bit. By default, the marker bit of outgoing packets is false/0. This method allows to explicity specify and change that value.
|
|
|
|
|
|
|
|
|
Set synchronization source numeric identifier.
|
|
|
Set synchronization source numeric identifier. Special version to save endianness conversion.
|
|
|
|
1.4.4