21 #ifndef AUDIO_ENCODER_H 22 #define AUDIO_ENCODER_H 25 #include <opus/opus.h> 42 quint32 aNumChannels = 1 ) ;
59 const QByteArray& aEncodedData) ;
72 const QByteArray& aAudioData) ;
AudioEncoder(quint32 aSampleRate=8000, quint32 aNumChannels=1)
class for compressing audio to be sent over network
Definition: audioencoder.h:34
void frameEncoded(quint32 aCallId, quint32 aSeqNo, const QByteArray &aEncodedData)
OpusEncoder * iEncoder
Definition: audioencoder.h:74
unsigned char * iEncodedData
Definition: audioencoder.h:75
const quint32 iNumChannels
Definition: audioencoder.h:76
void frameReady(quint32 aCallId, quint32 aSeqNo, const QByteArray &aAudioData)