TeamTalk 5 .NET DLL Version 5.15A
Loading...
Searching...
No Matches
BearWare.OpusConstants Struct Reference

OPUS constants for BearWare.OpusCodec. More...

Static Public Attributes

const int OPUS_APPLICATION_VOIP = 2048
 Audio encoding is for VoIP. This value should be set as nApplicaton in BearWare.OpusCodec.
 
const int OPUS_APPLICATION_AUDIO = 2049
 Audio encoding is for music. This value should be set as nApplicaton in BearWare.OpusCodec.
 
const int OPUS_MIN_BITRATE = 6000
 The minimum bitrate for OPUS codec. Checkout nBitRate of BearWare.OpusCodec.
 
const int OPUS_MAX_BITRATE = 510000
 The maximum bitrate for OPUS codec. Checkout nBitRate of BearWare.OpusCodec.
 
const int OPUS_MIN_FRAMESIZE = 2
 The minimum frame size for OPUS codec. Checkout nFrameSizeMSec of BearWare.OpusCodec.
 
const int OPUS_MAX_FRAMESIZE = 60
 The maximum frame size for OPUS codec. Checkout nFrameSizeMSec of BearWare.OpusCodec.
 
const int OPUS_REALMAX_FRAMESIZE = 120
 The real maximum frame size for OPUS codec. Checkout nFrameSizeMSec of BearWare.OpusCodec. Although OPUS states it only supports 2.5 - 60 msec, it actually support up to 120 msec.
 
const int DEFAULT_OPUS_APPLICATION = OPUS_APPLICATION_VOIP
 
const int DEFAULT_OPUS_SAMPLERATE = 48000
 
const int DEFAULT_OPUS_CHANNELS = 1
 
const int DEFAULT_OPUS_COMPLEXITY = 10
 
const bool DEFAULT_OPUS_FEC = true
 
const bool DEFAULT_OPUS_DTX = false
 
const bool DEFAULT_OPUS_VBR = true
 
const bool DEFAULT_OPUS_VBRCONSTRAINT = false
 
const int DEFAULT_OPUS_BITRATE = 32000
 
const int DEFAULT_OPUS_DELAY = 20
 

Detailed Description

OPUS constants for BearWare.OpusCodec.

Definition at line 1085 of file TeamTalk.cs.

Member Data Documentation

◆ OPUS_APPLICATION_VOIP

const int BearWare.OpusConstants.OPUS_APPLICATION_VOIP = 2048
static

Audio encoding is for VoIP. This value should be set as nApplicaton in BearWare.OpusCodec.

Definition at line 1089 of file TeamTalk.cs.

◆ OPUS_APPLICATION_AUDIO

const int BearWare.OpusConstants.OPUS_APPLICATION_AUDIO = 2049
static

Audio encoding is for music. This value should be set as nApplicaton in BearWare.OpusCodec.

Definition at line 1092 of file TeamTalk.cs.

◆ OPUS_MIN_BITRATE

const int BearWare.OpusConstants.OPUS_MIN_BITRATE = 6000
static

The minimum bitrate for OPUS codec. Checkout nBitRate of BearWare.OpusCodec.

Definition at line 1095 of file TeamTalk.cs.

◆ OPUS_MAX_BITRATE

const int BearWare.OpusConstants.OPUS_MAX_BITRATE = 510000
static

The maximum bitrate for OPUS codec. Checkout nBitRate of BearWare.OpusCodec.

Definition at line 1098 of file TeamTalk.cs.

◆ OPUS_MIN_FRAMESIZE

const int BearWare.OpusConstants.OPUS_MIN_FRAMESIZE = 2
static

The minimum frame size for OPUS codec. Checkout nFrameSizeMSec of BearWare.OpusCodec.

Definition at line 1102 of file TeamTalk.cs.

◆ OPUS_MAX_FRAMESIZE

const int BearWare.OpusConstants.OPUS_MAX_FRAMESIZE = 60
static

The maximum frame size for OPUS codec. Checkout nFrameSizeMSec of BearWare.OpusCodec.

Definition at line 1105 of file TeamTalk.cs.

◆ OPUS_REALMAX_FRAMESIZE

const int BearWare.OpusConstants.OPUS_REALMAX_FRAMESIZE = 120
static

The real maximum frame size for OPUS codec. Checkout nFrameSizeMSec of BearWare.OpusCodec. Although OPUS states it only supports 2.5 - 60 msec, it actually support up to 120 msec.

Definition at line 1109 of file TeamTalk.cs.

◆ DEFAULT_OPUS_APPLICATION

const int BearWare.OpusConstants.DEFAULT_OPUS_APPLICATION = OPUS_APPLICATION_VOIP
static

Definition at line 1111 of file TeamTalk.cs.

◆ DEFAULT_OPUS_SAMPLERATE

const int BearWare.OpusConstants.DEFAULT_OPUS_SAMPLERATE = 48000
static

Definition at line 1112 of file TeamTalk.cs.

◆ DEFAULT_OPUS_CHANNELS

const int BearWare.OpusConstants.DEFAULT_OPUS_CHANNELS = 1
static

Definition at line 1113 of file TeamTalk.cs.

◆ DEFAULT_OPUS_COMPLEXITY

const int BearWare.OpusConstants.DEFAULT_OPUS_COMPLEXITY = 10
static

Definition at line 1114 of file TeamTalk.cs.

◆ DEFAULT_OPUS_FEC

const bool BearWare.OpusConstants.DEFAULT_OPUS_FEC = true
static

Definition at line 1115 of file TeamTalk.cs.

◆ DEFAULT_OPUS_DTX

const bool BearWare.OpusConstants.DEFAULT_OPUS_DTX = false
static

Definition at line 1116 of file TeamTalk.cs.

◆ DEFAULT_OPUS_VBR

const bool BearWare.OpusConstants.DEFAULT_OPUS_VBR = true
static

Definition at line 1117 of file TeamTalk.cs.

◆ DEFAULT_OPUS_VBRCONSTRAINT

const bool BearWare.OpusConstants.DEFAULT_OPUS_VBRCONSTRAINT = false
static

Definition at line 1118 of file TeamTalk.cs.

◆ DEFAULT_OPUS_BITRATE

const int BearWare.OpusConstants.DEFAULT_OPUS_BITRATE = 32000
static

Definition at line 1119 of file TeamTalk.cs.

◆ DEFAULT_OPUS_DELAY

const int BearWare.OpusConstants.DEFAULT_OPUS_DELAY = 20
static

Definition at line 1120 of file TeamTalk.cs.