|
Yate
|
Base class to ease creation of RTP forwarders. More...
#include <yatertp.h>
Public Member Functions | |
| RTPProcessor (DebugEnabler *dbg=0, const char *traceId=0) | |
| virtual | ~RTPProcessor () |
| RTPGroup * | group () const |
| virtual void | rtpData (const void *data, int len) |
| virtual void | rtcpData (const void *data, int len) |
| virtual void | getStats (String &stats) const |
| virtual void | incWrongSrc () |
| unsigned int | wrongSrc () |
Public Member Functions inherited from GenObject | |
| GenObject () | |
| virtual | ~GenObject () |
| virtual bool | alive () const |
| virtual void | destruct () |
| virtual const String & | toString () const |
| virtual const String & | traceId () const |
| virtual void * | getObject (const String &name) const |
| NamedCounter * | getObjCounter () const |
| NamedCounter * | setObjCounter (NamedCounter *counter) |
Public Member Functions inherited from RTPDebug | |
| RTPDebug (DebugEnabler *dbg, const char *traceId) | |
| RTPDebug (RTPSession *session) | |
| DebugEnabler * | dbg () const |
| const String & | dbgTraceId () const |
Protected Member Functions | |
| void | group (RTPGroup *newgrp) |
| virtual void | timerTick (const Time &when)=0 |
Protected Member Functions inherited from RTPDebug | |
| void | setDebug (DebugEnabler *dbg, const char *traceId) |
Protected Attributes | |
| unsigned int | m_wrongSrc |
Protected Attributes inherited from RTPDebug | |
| DebugEnabler * | m_dbg |
| String | m_traceId |
Friends | |
| class | UDPSession |
| class | UDPTLSession |
| class | RTPGroup |
| class | RTPTransport |
| class | RTPSender |
| class | RTPReceiver |
Additional Inherited Members | |
Static Public Member Functions inherited from GenObject | |
| static void * | getObject (const String &name, const GenObject *obj) |
| static bool | getObjCounting () |
| static void | setObjCounting (bool enable) |
| static NamedCounter * | getObjCounter (const String &name, bool create=true) |
| static ObjList & | getObjCounters () |
Base class to ease creation of RTP forwarders.
A base class that contains just placeholders to process raw RTP and RTCP packets.
| RTPProcessor | ( | DebugEnabler * | dbg = 0, |
| const char * | traceId = 0 ) |
Constructor - processor should be later inserted in a RTP group
| dbg | Processor DebugEnabler |
| traceId | Processor trace ID |
References RTPDebug::dbg(), and GenObject::traceId().
Referenced by RTPTransport::rtcpData(), RTPTransport::setMonitor(), and RTPTransport::setProcessor().
|
virtual |
Destructor - removes itself from the RTP group
|
virtual |
Retrieve MGCP P: style comma separated session parameters
| stats | String to append parameters to |
Reimplemented in RTPSession.
|
inline |
Get the RTP group to which this processor belongs
|
protected |
Set a new RTP group for this processor
| newgrp | New group to join this processor, the old one will be left |
|
inlinevirtual |
Increase the counter for number of RTP packets received from a wrong source
Reimplemented in RTPSession.
|
virtual |
This method is called to send or process a RTCP packet
| data | Pointer to raw RTCP data |
| len | Length of the data packet |
Reimplemented in RTPSession, and RTPTransport.
|
virtual |
This method is called to send or process a RTP packet
| data | Pointer to raw RTP data |
| len | Length of the data packet |
Reimplemented in RTPSession, RTPTransport, and UDPTLSession.
|
protectedpure virtual |
Method called periodically to keep the data flowing
| when | Time to use as base in all computing |
Implemented in RTPDejitter, RTPSession, RTPTransport, and UDPTLSession.
|
inline |
Get the number of RTP packets that were received from a wrong source