|
JRTPLIB
3.11.2 (development version)
|
Base class to specify a mechanism to transmit RTP packets outside of this library. More...
#include <rtpexternaltransmitter.h>
Public Member Functions | |
| virtual bool | SendRTP (const void *data, size_t len)=0 |
| This member function will be called when RTP data needs to be transmitted. | |
| virtual bool | SendRTCP (const void *data, size_t len)=0 |
| This member function will be called when an RTCP packet needs to be transmitted. | |
| 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). | |
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.