Interface to inject incoming RTP and RTCP packets into the library.
More...
#include <rtpexternaltransmitter.h>
|
void | InjectRTP (const void *data, size_t len, const RTPAddress &a) |
| This function can be called to insert an RTP packet into the transmission component. More...
|
|
void | InjectRTCP (const void *data, size_t len, const RTPAddress &a) |
| This function can be called to insert an RTCP packet into the transmission component. More...
|
|
void | InjectRTPorRTCP (const void *data, size_t len, const RTPAddress &a) |
| Use this function to inject an RTP or RTCP packet and the transmitter will try to figure out which type of packet it is. More...
|
|
Interface to inject incoming RTP and RTCP packets into the library. When you have your own mechanism to receive incoming RTP/RTCP data, you'll need to pass these packets to the library. By first retrieving the RTPExternalTransmissionInfo instance for the external transmitter you'll be using, you can obtain the associated RTPExternalPacketInjecter instance. By calling it's member functions, you can then inject RTP or RTCP data into the library for further processing.
void jrtplib::RTPExternalPacketInjecter::InjectRTCP |
( |
const void * |
data, |
|
|
size_t |
len, |
|
|
const RTPAddress & |
a |
|
) |
| |
|
inline |
void jrtplib::RTPExternalPacketInjecter::InjectRTP |
( |
const void * |
data, |
|
|
size_t |
len, |
|
|
const RTPAddress & |
a |
|
) |
| |
|
inline |
void jrtplib::RTPExternalPacketInjecter::InjectRTPorRTCP |
( |
const void * |
data, |
|
|
size_t |
len, |
|
|
const RTPAddress & |
a |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: