9 #ifndef _MiNotification_h_ 10 #define _MiNotification_h_ 16 #include "utl/UtlString.h" 93 const UtlString& sourceId,
94 int connectionId = INVALID_CONNECTION_ID,
174 #endif // _MiNotification_h_ void setSourceId(const UtlString &sourceId)
Set the unique source identifier.
Definition: MiNotification.cpp:83
NotfType
Media notification message types.
Definition: MiNotification.h:48
Definition: MiNotification.h:78
Definition: MiNotification.h:55
Definition: MiNotification.h:68
Definition: MiNotification.h:80
Recording started.
Definition: MiNotification.h:59
void setStreamId(int streamId)
Set the stream number inside the connection this notification is associated with. ...
Definition: MiNotification.cpp:94
Recording paused after starting or resumed (MiIntNotf bears number of recorded samples thus far)...
Definition: MiNotification.h:60
NotfType getType(void) const
Returns the type of the notification message.
Definition: MiNotification.cpp:102
Value for MiRtpStreamActivityNotf notifications.
Definition: MiNotification.h:69
Definition: MiNotification.h:53
Definition: MiNotification.h:76
Audio energy level (MiIntNotf)
Definition: MiNotification.h:70
Definition: MiNotification.h:72
Definition: MiNotification.h:52
Recording resumed after being paused.
Definition: MiNotification.h:61
Definition: MiNotification.h:81
Message notification class used to communicate media notification events.
Definition: MiNotification.h:42
Definition: MiNotification.h:66
virtual OsMsg * createCopy(void) const
Create a copy of this msg object (which may be of a derived type)
Definition: MiNotification.cpp:54
Definition: MiNotification.h:56
Recording stopped automatically (MiIntNotf bears number of recorded samples).
Definition: MiNotification.h:63
Definition: MiNotification.h:73
Message type is invalid (similar to NULL)
Definition: MiNotification.h:50
virtual ~MiNotification()
Destructor.
Definition: MiNotification.cpp:60
Definition: MiNotification.h:74
static const int INVALID_CONNECTION_ID
Connection ID that indicates invalid connection or no connection.
Definition: MiNotification.h:85
Value for MiProgressNotf notifications.
Definition: MiNotification.h:58
void setConnectionId(int connId)
Set the connection ID that this notification is associated with.
Definition: MiNotification.cpp:89
Definition: MiNotification.h:75
Definition: MiNotification.h:57
int getStreamId() const
Get the stream number inside the connection this notification is associated with. ...
Definition: MiNotification.cpp:119
Recording stopped manually (MiIntNotf bears number of recorded samples).
Definition: MiNotification.h:62
MiNotification(NotfType msgType, const UtlString &sourceId, int connectionId=INVALID_CONNECTION_ID, int streamId=-1)
Constructor.
Definition: MiNotification.cpp:33
Definition: MiNotification.h:54
Definition: MiNotification.h:67
int mConnectionId
Definition: MiNotification.h:166
int getConnectionId() const
Get the connection ID that this message is associated with.
Definition: MiNotification.cpp:114
Definition: MiNotification.h:79
UtlString getSourceId(void) const
Get the unique source identifier.
Definition: MiNotification.cpp:108
Recording stopped because of an error.
Definition: MiNotification.h:64
UtlString mSourceId
Unique identifier of the thing that originated this notification.
Definition: MiNotification.h:165
int mStreamId
Definition: MiNotification.h:168
Value for MiDtmfNotf notifications.
Definition: MiNotification.h:65
Definition: MiNotification.h:71
Definition: MiNotification.h:77
MiNotification & operator=(const MiNotification &rhs)
Assignment operator.
Definition: MiNotification.cpp:69