TeamTalk 5 Java DLL Version 5.15A
Loading...
Searching...
No Matches
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.
 
int nChannels
 Mono = 1 or stereo = 2.
 
int nApplication
 Application of encoded audio, VoIP or music.
 
int nComplexity
 Complexity of encoding (affects CPU usage). Value from 0-10.
 
bool bFEC
 Forward error correction. Corrects errors if there's packetloss.
 
bool bDTX
 Discontinuous transmission. Enables "null" packets during silence.
 
int nBitRate
 Bitrate for encoded audio. Should be between BearWare.OpusConstants.OPUS_MIN_BITRATE and BearWare.OpusConstants.OPUS_MAX_BITRATE.
 
bool bVBR
 Enable variable bitrate.
 
bool bVBRConstraint
 Enable constrained VBR. bVBR must be enabled to enable this.
 
int nTxIntervalMSec
 Duration of audio before each transmission. Minimum is 2 msec. Recommended is 40 msec. Maximum is 500 msec.
 
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.
 

Detailed Description

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

Definition at line 1042 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 1046 of file TeamTalk.cs.

◆ nChannels

int BearWare.OpusCodec.nChannels

Mono = 1 or stereo = 2.

Definition at line 1048 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 1052 of file TeamTalk.cs.

◆ nComplexity

int BearWare.OpusCodec.nComplexity

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

Definition at line 1055 of file TeamTalk.cs.

◆ bFEC

bool BearWare.OpusCodec.bFEC

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

Definition at line 1058 of file TeamTalk.cs.

◆ bDTX

bool BearWare.OpusCodec.bDTX

Discontinuous transmission. Enables "null" packets during silence.

Definition at line 1061 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 1065 of file TeamTalk.cs.

◆ bVBR

bool BearWare.OpusCodec.bVBR

Enable variable bitrate.

Definition at line 1067 of file TeamTalk.cs.

◆ bVBRConstraint

bool BearWare.OpusCodec.bVBRConstraint

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

Definition at line 1070 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 1077 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 1081 of file TeamTalk.cs.