sipxmedialib  Version 3.3
Protected Attributes | List of all members
MprnRtpStreamActivityMsg Class Reference

#include <MprnRtpStreamActivityMsg.h>

Inheritance diagram for MprnRtpStreamActivityMsg:
Inheritance graph
[legend]
Collaboration diagram for MprnRtpStreamActivityMsg:
Collaboration graph
[legend]

Public Member Functions

Manipulators
MprnRtpStreamActivityMsgoperator= (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...
 
MpResNotificationMsgoperator= (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...
 

Additional Inherited Members

- Public Types inherited from MpResNotificationMsg
enum  RNMsgType {
  MPRNM_MESSAGE_INVALID, MPRNM_MESSAGE_ALL = MPRNM_MESSAGE_INVALID, MPRNM_FROMFILE_STARTED, MPRNM_FROMFILE_PAUSED,
  MPRNM_FROMFILE_RESUMED, MPRNM_FROMFILE_STOPPED, MPRNM_FROMFILE_FINISHED, MPRNM_FROMFILE_ERROR,
  MPRNM_FROMFILE_PROGRESS, MPRNM_RECORDER_STARTED, MPRNM_RECORDER_PAUSED, MPRNM_RECORDER_RESUMED,
  MPRNM_RECORDER_STOPPED, MPRNM_RECORDER_FINISHED, MPRNM_RECORDER_ERROR, MPRNM_DTMF_RECEIVED,
  MPRNM_DELAY_SPEECH_STARTED, MPRNM_DELAY_NO_DELAY, MPRNM_DELAY_QUIESCENCE, MPRNM_RX_STREAM_ACTIVITY,
  MPRNM_ENERGY_LEVEL, MPRNM_VOICE_STARTED, MPRNM_VOICE_STOPPED, MPRNM_H264_SPS,
  MPRNM_H264_PPS, MPRNM_TONE_DETECT_ON, MPRNM_TONE_DETECT_OFF, MPRNM_RECORDER_CIRCULARBUFFER_WATERMARK_REACHED,
  MPRNM_INPUT_DEVICE_NOT_PRESENT, MPRNM_OUTPUT_DEVICE_NOT_PRESENT, MPRNM_INPUT_DEVICE_NOW_PRESENT, MPRNM_OUTPUT_DEVICE_NOW_PRESENT
}
 Phone set message types. More...
 

Detailed Description

Notification used to communicate RTP stream activity.

Member Enumeration Documentation

Enumerator
STREAM_START 

Stream have been started.

STREAM_STOP 

Stream have been stopped.

STREAM_CHANGE 

Stream attributes have been changed.

Constructor & Destructor Documentation

MprnRtpStreamActivityMsg ( const UtlString &  namedResOriginator,
StreamState  state,
RtpSRC  ssrc,
unsigned  address,
int  port,
MpConnectionID  connId = MP_INVALID_CONNECTION_ID,
int  streamId = -1 
)

Constructor.

Copy constructor.

Destructor.

Member Function Documentation

OsMsg * createCopy ( void  ) const
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.

Member Data Documentation

StreamState mState
protected

Stream state to be reported.

RtpSRC mSsrc
protected

SSRC of the stream.

unsigned mAddress
protected

IP of the stream source/destination.

int mPort
protected

Port of the stream source/destination.