TeamTalk 5 .NET DLL  Version 5.14A
BearWare.OpusCodec Struct Reference

OPUS audio codec settings. For detailed information about the OPUS codec check out http://www.opus-codec.org. More...

Public Attributes

int nSampleRate
 The sample rate to use. Sample rate must be 8000, 12000, 16000, 24000 or 48000 Hz. More...
 
int nChannels
 Mono = 1 or stereo = 2. More...
 
int nApplication
 Application of encoded audio, VoIP or music. More...
 
int nComplexity
 Complexity of encoding (affects CPU usage). Value from 0-10. More...
 
bool bFEC
 Forward error correction. Corrects errors if there's packetloss. More...
 
bool bDTX
 Discontinuous transmission. Enables "null" packets during silence. More...
 
int nBitRate
 Bitrate for encoded audio. Should be between BearWare.OpusConstants.OPUS_MIN_BITRATE and BearWare.OpusConstants.OPUS_MAX_BITRATE. More...
 
bool bVBR
 Enable variable bitrate. More...
 
bool bVBRConstraint
 Enable constrained VBR. bVBR must be enabled to enable this. More...
 
int nTxIntervalMSec
 Duration of audio before each transmission. Minimum is 2 msec. Recommended is 40 msec. Maximum is 500 msec. More...
 
int nFrameSizeMSec
 OPUS supports 2.5, 5, 10, 20, 40, 60, 80, 100 and 120 msec. If nFrameSizeMSec is 0 then nFrameSizeMSec will be same as nTxIntervalMSec. More...
 

Detailed Description

OPUS audio codec settings. For detailed information about the OPUS codec check out http://www.opus-codec.org.

Definition at line 1037 of file TeamTalk.cs.

Member Data Documentation

◆ nSampleRate

int BearWare.OpusCodec.nSampleRate

The sample rate to use. Sample rate must be 8000, 12000, 16000, 24000 or 48000 Hz.

Definition at line 1041 of file TeamTalk.cs.

◆ nChannels

int BearWare.OpusCodec.nChannels

Mono = 1 or stereo = 2.

Definition at line 1043 of file TeamTalk.cs.

◆ nApplication

int BearWare.OpusCodec.nApplication

Application of encoded audio, VoIP or music.

See also
OPUS_APPLICATION_VOIP
OPUS_APPLICATION_AUDIO

Definition at line 1047 of file TeamTalk.cs.

◆ nComplexity

int BearWare.OpusCodec.nComplexity

Complexity of encoding (affects CPU usage). Value from 0-10.

Definition at line 1050 of file TeamTalk.cs.

◆ bFEC

bool BearWare.OpusCodec.bFEC

Forward error correction. Corrects errors if there's packetloss.

Definition at line 1053 of file TeamTalk.cs.

◆ bDTX

bool BearWare.OpusCodec.bDTX

Discontinuous transmission. Enables "null" packets during silence.

Definition at line 1056 of file TeamTalk.cs.

◆ nBitRate

int BearWare.OpusCodec.nBitRate

Bitrate for encoded audio. Should be between BearWare.OpusConstants.OPUS_MIN_BITRATE and BearWare.OpusConstants.OPUS_MAX_BITRATE.

Definition at line 1060 of file TeamTalk.cs.

◆ bVBR

bool BearWare.OpusCodec.bVBR

Enable variable bitrate.

Definition at line 1062 of file TeamTalk.cs.

◆ bVBRConstraint

bool BearWare.OpusCodec.bVBRConstraint

Enable constrained VBR. bVBR must be enabled to enable this.

Definition at line 1065 of file TeamTalk.cs.

◆ nTxIntervalMSec

int BearWare.OpusCodec.nTxIntervalMSec

Duration of audio before each transmission. Minimum is 2 msec. Recommended is 40 msec. Maximum 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 1072 of file TeamTalk.cs.

◆ nFrameSizeMSec

int BearWare.OpusCodec.nFrameSizeMSec

OPUS supports 2.5, 5, 10, 20, 40, 60, 80, 100 and 120 msec. If nFrameSizeMSec is 0 then nFrameSizeMSec will be same as nTxIntervalMSec.

Definition at line 1076 of file TeamTalk.cs.