19 #ifndef SDRBASE_UTIL_RTPSINK_H_ 20 #define SDRBASE_UTIL_RTPSINK_H_ 25 #include <QHostAddress> 53 RTPSink(QUdpSocket *udpSocket,
int sampleRate,
bool stereo);
69 static void writeNetBuf(
uint8_t *dest,
const uint8_t *src,
unsigned int elemLen,
unsigned int bytesLen,
bool endianReverse);
70 static unsigned int elemLength(PayloadType payloadType);
void setDestination(const QString &address, uint16_t port)
static void writeNetBuf(uint8_t *dest, const uint8_t *src, unsigned int elemLen, unsigned int bytesLen, bool endianReverse)
qrtplib::RTPUDPTransmitter m_rtpTransmitter
void deleteDestination(const QString &address, uint16_t port)
PayloadType m_payloadType
RTPSink(QUdpSocket *udpSocket, int sampleRate, bool stereo)
qrtplib::RTPSession m_rtpSession
void addDestination(const QString &address, uint16_t port)
void write(const uint8_t *sampleByte)
qrtplib::RTPUDPTransmissionParams m_rtpTransmissionParams
qrtplib::RTPSessionParams m_rtpSessionParams
static unsigned int elemLength(PayloadType payloadType)
void setPayloadInformation(PayloadType payloadType, int sampleRate)