sipxmedialib
Version 3.3
|
#include <MprnRtpStreamActivityMsg.h>
Public Member Functions | |
Manipulators | |
MprnRtpStreamActivityMsg & | operator= (const MprnRtpStreamActivityMsg &rhs) |
Assignment operator. More... | |
Accessors | |
StreamState | getState () const |
Get the stream state. More... | |
unsigned | getSsrc () const |
Get the stream SSRC. More... | |
unsigned | getAddress () const |
Get IP address of the stream source/destination. More... | |
int | getPort () const |
Get port of the stream source/destination. More... | |
Public Member Functions inherited from MpResNotificationMsg | |
MpResNotificationMsg (RNMsgType msgType, const UtlString &namedResOriginator, MpConnectionID connId=MP_INVALID_CONNECTION_ID, int streamId=-1) | |
Constructor. More... | |
MpResNotificationMsg (const MpResNotificationMsg &rMpResNotifyMsg) | |
Copy constructor. More... | |
virtual | ~MpResNotificationMsg () |
Destructor. More... | |
MpResNotificationMsg & | operator= (const MpResNotificationMsg &rhs) |
Assignment operator. More... | |
void | setOriginatingResourceName (const UtlString &resOriginator) |
Set the name of the resource this message applies to. More... | |
void | setConnectionId (MpConnectionID connId) |
Set the connection ID that this notification is associated with. More... | |
void | setStreamId (int streamId) |
Set the stream number inside the connection this notification is associated with. More... | |
int | getMsg () const |
Returns the type of the media resource notification message. More... | |
UtlString | getOriginatingResourceName () const |
Get the name of the resource that originated this message. More... | |
MpConnectionID | getConnectionId () const |
Get the connection ID that this message is associated with. More... | |
int | getStreamId () const |
Get the stream number inside the connection this notification is associated with. More... | |
Protected Attributes | |
StreamState | mState |
Stream state to be reported. More... | |
RtpSRC | mSsrc |
SSRC of the stream. More... | |
unsigned | mAddress |
IP of the stream source/destination. More... | |
int | mPort |
Port of the stream source/destination. More... | |
Creators | |
enum | StreamState { STREAM_START, STREAM_STOP, STREAM_CHANGE } |
MprnRtpStreamActivityMsg (const UtlString &namedResOriginator, StreamState state, RtpSRC ssrc, unsigned address, int port, MpConnectionID connId=MP_INVALID_CONNECTION_ID, int streamId=-1) | |
Constructor. More... | |
MprnRtpStreamActivityMsg (const MprnRtpStreamActivityMsg &rMsg) | |
Copy constructor. More... | |
virtual OsMsg * | createCopy () const |
Create a copy of this msg object (which may be of a derived type) More... | |
virtual | ~MprnRtpStreamActivityMsg () |
Destructor. More... | |
Notification used to communicate RTP stream activity.
enum StreamState |
MprnRtpStreamActivityMsg | ( | const UtlString & | namedResOriginator, |
StreamState | state, | ||
RtpSRC | ssrc, | ||
unsigned | address, | ||
int | port, | ||
MpConnectionID | connId = MP_INVALID_CONNECTION_ID , |
||
int | streamId = -1 |
||
) |
Constructor.
MprnRtpStreamActivityMsg | ( | const MprnRtpStreamActivityMsg & | rMsg | ) |
Copy constructor.
|
virtual |
Destructor.
|
virtual |
Create a copy of this msg object (which may be of a derived type)
Reimplemented from MpResNotificationMsg.
MprnRtpStreamActivityMsg & operator= | ( | const MprnRtpStreamActivityMsg & | rhs | ) |
Assignment operator.
MprnRtpStreamActivityMsg::StreamState getState | ( | void | ) | const |
Get the stream state.
unsigned getSsrc | ( | ) | const |
Get the stream SSRC.
unsigned getAddress | ( | ) | const |
Get IP address of the stream source/destination.
int getPort | ( | ) | const |
Get port of the stream source/destination.
|
protected |
Stream state to be reported.
|
protected |
SSRC of the stream.
|
protected |
IP of the stream source/destination.
|
protected |
Port of the stream source/destination.