|
Yate
|
Base class to ease creation of RTP forwarders. More...
#include <yatertp.h>
Public Member Functions | |
| RTPProcessor () | |
| 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 () |
Protected Member Functions | |
| void | group (RTPGroup *newgrp) |
| virtual void | timerTick (const Time &when)=0 |
Protected Attributes | |
| unsigned int | m_wrongSrc |
Friends | |
| class | UDPSession |
| class | UDPTLSession |
| class | RTPGroup |
| class | RTPTransport |
| class | RTPSender |
| class | RTPReceiver |
Base class to ease creation of RTP forwarders.
A base class that contains just placeholders to process raw RTP and RTCP packets.
| RTPProcessor | ( | ) |
Constructor - processor should be later inserted in a RTP group
| virtual ~RTPProcessor | ( | ) | [virtual] |
Destructor - removes itself from the RTP group
Retrieve MGCP P: style comma separated session parameters
| stats | String to append parameters to |
Reimplemented in RTPSession.
Get the RTP group to which this processor belongs
Set a new RTP group for this processor
| newgrp | New group to join this processor, the old one will be left |
| virtual void incWrongSrc | ( | ) | [inline, virtual] |
Increase the counter for number of RTP packets received from a wrong source
Reimplemented in RTPSession.
| virtual void rtcpData | ( | const void * | data, |
| int | len | ||
| ) | [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 void rtpData | ( | const void * | data, |
| int | len | ||
| ) | [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 UDPTLSession, RTPSession, and RTPTransport.
Method called periodically to keep the data flowing
| when | Time to use as base in all computing |
Implemented in UDPTLSession, RTPSession, RTPDejitter, and RTPTransport.
| unsigned int wrongSrc | ( | ) | [inline] |
Get the number of RTP packets that were received from a wrong source
1.7.6.1