18 #ifndef PLUGINS_SAMPLESINK_REMOTEOUTPUT_UDPSINKFEC_H_ 19 #define PLUGINS_SAMPLESINK_REMOTEOUTPUT_UDPSINKFEC_H_ 26 #include <QHostAddress> 55 void write(
const SampleVector::iterator& begin,
uint32_t sampleChunkSize);
uint32_t m_sampleRate
sample rate in Hz
void setTxDelay(float txDelayRatio)
QHostAddress m_ownAddress
int m_txBlocksIndex
Current index of Tx blocks row.
void setRemoteAddress(const QString &address, uint16_t port)
int m_sampleIndex
Current sample index in protected block data.
uint32_t m_txDelay
Delay in microseconds (usleep) between each sending of an UDP datagram.
void write(const SampleVector::iterator &begin, uint32_t sampleChunkSize)
float m_txDelayRatio
Delay in ratio of nominal frame period.
RemoteMetaDataFEC m_currentMetaFEC
Meta data for current frame.
uint32_t m_nbSamples
total number of samples sent int the last frame
RemoteSuperBlock m_txBlocks[4][256]
UDP blocks to send with original data + FEC.
static const uint32_t m_nbOriginalBlocks
Number of original blocks in a protected block sequence.
RemoteSuperBlock m_superBlock
current super block being built
static const uint32_t m_udpSize
Size of UDP block in number of bytes.
UDPSinkFECWorker * m_udpWorker
int m_txBlockIndex
Current index in blocks to transmit in the Tx row.
void setNbBlocksFEC(uint32_t nbBlocksFEC)
uint16_t m_frameCount
transmission frame count
void setSampleRate(uint32_t sampleRate)
uint32_t m_nbBlocksFEC
Variable number of FEC blocks.