BearWare.SpeexVBRCodec Struct Reference
[Audio and Video Codecs]

Speex audio codec settings for Variable Bitrate mode (VBR). The Speex codec is recommended for voice and uses less bandwidth than BearWare.CELTCodec. The Speex VBR codec was introduced in version 4.2. More...

List of all members.

Public Attributes

int nBandmode
 Set to 0 for 8 KHz (narrow band), set to 1 for 16 KHz (wide band), set to 2 for 32 KHz (ultra-wide band).
int nQualityVBR
 A value from 0-10. If nBitRate is non-zero it will override this value.
int nBitRate
 The bitrate at which the audio codec should output encoded audio data. Dividing it by 8 gives roughly the number of bytes per second used for transmitting the encoded data. For limits check out BearWare.SpeexConstants. Note that specifying nBitRate will override nQualityVBR.
int nMaxBitRate
 The maximum bitrate at which the audio codec is allowed to output audio. Set to zero if it should be ignored.
bool bDTX
 Enable/disable discontinuous transmission. When enabled Speex will ignore silence, so the bitrate will become very low.
int nMSecPerPacket
 Milliseconds of audio data in each packet. Speex uses 20 msec frame sizes. Recommended is 40 ms. Min is 20, max is 1000.
bool bUseJitterBuffer
 Use Speex' jitter buffer for playback. Recommended is FALSE.
bool bStereoPlayback
 Playback should be done in stereo. Doing so will disable 3d-positioning.

Detailed Description

Speex audio codec settings for Variable Bitrate mode (VBR). The Speex codec is recommended for voice and uses less bandwidth than BearWare.CELTCodec. The Speex VBR codec was introduced in version 4.2.


Member Data Documentation

Set to 0 for 8 KHz (narrow band), set to 1 for 16 KHz (wide band), set to 2 for 32 KHz (ultra-wide band).

A value from 0-10. If nBitRate is non-zero it will override this value.

The bitrate at which the audio codec should output encoded audio data. Dividing it by 8 gives roughly the number of bytes per second used for transmitting the encoded data. For limits check out BearWare.SpeexConstants. Note that specifying nBitRate will override nQualityVBR.

The maximum bitrate at which the audio codec is allowed to output audio. Set to zero if it should be ignored.

Enable/disable discontinuous transmission. When enabled Speex will ignore silence, so the bitrate will become very low.

Milliseconds of audio data in each packet. Speex uses 20 msec frame sizes. Recommended is 40 ms. Min is 20, max is 1000.

Use Speex' jitter buffer for playback. Recommended is FALSE.

Playback should be done in stereo. Doing so will disable 3d-positioning.

See also:
TeamTalk4.SetUserPosition
TeamTalk4.SetUserStereo
Generated on Sun Mar 18 17:16:15 2012 for TeamTalk 4 .NET DLL by  doxygen 1.6.3