Base class to specify a mechanism to transmit RTP packets outside of this library.
More...
#include <rtpexternaltransmitter.h>
|
virtual bool | SendRTP (const void *data, size_t len)=0 |
| This member function will be called when RTP data needs to be transmitted. More...
|
|
virtual bool | SendRTCP (const void *data, size_t len)=0 |
| This member function will be called when an RTCP packet needs to be transmitted. More...
|
|
virtual bool | ComesFromThisSender (const RTPAddress *a)=0 |
| Used to identify if an RTPAddress instance originated from this sender (to be able to detect own packets). More...
|
|
Base class to specify a mechanism to transmit RTP packets outside of this library. When you want to use your own mechanism to transmit RTP packets, you need to specify that you'll be using the external transmission component, and derive a class from this base class. An instance should then be specified in the RTPExternalTransmissionParams object, so that the transmitter will call the SendRTP
, SendRTCP
and ComesFromThisSender
methods of this instance when needed.
virtual bool jrtplib::RTPExternalSender::ComesFromThisSender |
( |
const RTPAddress * |
a | ) |
|
|
pure virtual |
virtual bool jrtplib::RTPExternalSender::SendRTCP |
( |
const void * |
data, |
|
|
size_t |
len |
|
) |
| |
|
pure virtual |
virtual bool jrtplib::RTPExternalSender::SendRTP |
( |
const void * |
data, |
|
|
size_t |
len |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file: