TeamTalk 5 Java DLL Version 5.22A
Loading...
Searching...
No Matches
BearWare.SpeexCodec Struct Reference

Speex audio codec settings for Constant Bitrate mode (CBR). More...

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 nQuality
 A value from 1-10. As of DLL version 4.2 also 0 is supported.
int nTxIntervalMSec
 Milliseconds of audio data before each transmission.
bool bStereoPlayback
 Playback should be done in stereo.

Detailed Description

Speex audio codec settings for Constant Bitrate mode (CBR).

Deprecated
Use BearWare.OpusCodec.
See also
SpeexVBRCodec

Definition at line 917 of file TeamTalk.cs.

Member Data Documentation

◆ nBandmode

int BearWare.SpeexCodec.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).

Definition at line 922 of file TeamTalk.cs.

◆ nQuality

int BearWare.SpeexCodec.nQuality

A value from 1-10. As of DLL version 4.2 also 0 is supported.

Definition at line 926 of file TeamTalk.cs.

◆ nTxIntervalMSec

int BearWare.SpeexCodec.nTxIntervalMSec

Milliseconds of audio data before each transmission.

Speex uses 20 msec frame sizes. Recommended is 40 msec. Min is 20, max is 500 msec.

The BearWare.SoundSystem must be able to process audio packets at this interval. In most cases this makes less than 40 msec transmission interval unfeasible.

Definition at line 937 of file TeamTalk.cs.

◆ bStereoPlayback

bool BearWare.SpeexCodec.bStereoPlayback

Playback should be done in stereo.

See also
TeamTalkBase.SetUserPosition
TeamTalkBase.SetUserStereo

Definition at line 943 of file TeamTalk.cs.