TeamTalk 4 C-API DLL  Version 4.5A
CELTVBRCodec Struct Reference

CELT audio codec settings. The CELT codec is recommended for music and speech. It has a higher bandwidth usage than SpeexCodec. More...

#include <TeamTalk4.h>

Public Attributes

INT32 nSampleRate
 The sample rate to use. Sample rate must be in the range 32000 - 96000 Hz. More...
 
INT32 nChannels
 Mono = 1 or stereo = 2. Note that echo cancellation, denoising and AGC is not support when using stereo. More...
 
INT32 nBitRate
 The bitrate at which the audio codec can output encoded audio data. Dividing it by 8 gives roughly the number of bytes per second used for transmitting the encoded data. More...
 
INT32 nMSecPerPacket
 Milliseconds of audio data in each packet. Recommended is 40 ms. Min is 20, max is 1000. More...
 

Detailed Description

CELT audio codec settings. The CELT codec is recommended for music and speech. It has a higher bandwidth usage than SpeexCodec.

Member Data Documentation

INT32 CELTVBRCodec::nSampleRate

The sample rate to use. Sample rate must be in the range 32000 - 96000 Hz.

INT32 CELTVBRCodec::nChannels

Mono = 1 or stereo = 2. Note that echo cancellation, denoising and AGC is not support when using stereo.

See Also
TT_EnableEchoCancellation()
TT_EnableDenoising()
TT_EnableAGC()
INT32 CELTVBRCodec::nBitRate

The bitrate at which the audio codec can output encoded audio data. Dividing it by 8 gives roughly the number of bytes per second used for transmitting the encoded data.

See Also
CELT_MIN_BITRATE
CELT_MAX_BITRATE
INT32 CELTVBRCodec::nMSecPerPacket

Milliseconds of audio data in each packet. Recommended is 40 ms. Min is 20, max is 1000.