sipxmedialib
Version 3.3
|
The RTP writer. More...
#include <MprToNet.h>
Public Types | |
enum | { RESERVED_RTP_PACKET_HEADER_BYTES = 76 } |
enum | { MPRM_SET_SR_ADJUST_USECS = MpResourceMsg::MPRM_EXTERNAL_MESSAGE_START } |
Public Member Functions | |
Creators | |
MprToNet () | |
Constructor. More... | |
virtual | ~MprToNet () |
Destructor. More... | |
Accessors | |
OsStatus | setFlowGraph (MpFlowGraphBase *flowgraph) |
Set flowgraph in which this is used for debug purposes. More... | |
void | setSSRC (ssrc_t iSSRC) |
RtpSRC | getSSRC () const |
Private Member Functions | |
MprToNet (const MprToNet &rMprToNet) | |
Copy constructor (not implemented for this class) More... | |
MprToNet & | operator= (const MprToNet &rhs) |
Assignment operator (not implemented for this class) More... | |
Private Attributes | |
MprFromNet * | mpFromNetPal |
MpFlowGraphBase * | mpFlowGraph |
for debug purposes More... | |
int | mRtcpPackets |
int | mRtcpFrameCount |
int | mRtcpFrameLimit |
unsigned int | mTimestampDelta |
unsigned int | mSeqNum |
unsigned int | mSSRC |
OsSocket * | mpRtpSocket |
OsSocket * | mpRtcpSocket |
int | mNumRtpWriteErrors |
int | mNumRtcpWriteErrors |
int | mSRAdjustUSecs |
Manipulators | |
OsStatus | setSockets (OsSocket &rRtpSocket, OsSocket &rRtcpSocket) |
Set the outbound RTP and RTCP sockets. More... | |
OsStatus | resetSockets () |
Clear the outbound RTP and RTCP sockets. More... | |
OsStatus | setRtpPal (MprFromNet *pal) |
Connect us to our corresponding FromNet, for RTCP stats. More... | |
virtual int | writeRtp (int payloadType, UtlBoolean markerState, const unsigned char *payloadData, int payloadOctets, unsigned int timestamp, void *csrcList) |
void | setSRAdjustUSecs (int iUSecs) |
static OsStatus | setSRAdjustUSecs (const UtlString &namedResource, OsMsgQ &fgQ, int adjustUSecs) |
The RTP writer.
anonymous enum |
MprToNet | ( | ) |
Constructor.
|
virtual |
Destructor.
OsStatus setSockets | ( | OsSocket & | rRtpSocket, |
OsSocket & | rRtcpSocket | ||
) |
Set the outbound RTP and RTCP sockets.
OsStatus resetSockets | ( | void | ) |
Clear the outbound RTP and RTCP sockets.
OsStatus setRtpPal | ( | MprFromNet * | pal | ) |
Connect us to our corresponding FromNet, for RTCP stats.
|
virtual |
void setSRAdjustUSecs | ( | int | iUSecs | ) |
|
static |
OsStatus setFlowGraph | ( | MpFlowGraphBase * | flowgraph | ) |
Set flowgraph in which this is used for debug purposes.
void setSSRC | ( | ssrc_t | iSSRC | ) |
|
inline |
Assignment operator (not implemented for this class)
|
private |
|
private |
for debug purposes
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |