TeamTalk 4 .NET DLL  Version 4.5A
Audio and Video Codecs

The client is able to encode audio in Speex and CELT format whereas video can be encoded in Theora format. Speex is recommended for voice and CELT for music. More...

Classes

struct  BearWare.SpeexCodec
 Speex audio codec settings. The Speex codec is recommended for voice and uses less bandwidth than BearWare.CELTCodec. More...
 
struct  BearWare.SpeexVBRCodec
 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...
 
struct  BearWare.SpeexConstants
 Speex constants. More...
 
struct  BearWare.CELTCodec
 CELT audio codec settings. The CELT codec is recommended for music and speech. It has a higher bandwidth usage than BearWare.SpeexCodec. More...
 
struct  BearWare.CELTVBRCodec
 CELT audio codec settings. The CELT codec is recommended for music and speech. It has a higher bandwidth usage than BearWare.SpeexCodec. More...
 
struct  BearWare.CELTConstants
 CELT constants. More...
 
struct  BearWare.TheoraCodec
 Theora video codec settings. More...
 
struct  BearWare.AudioCodec
 Struct used for specifying which audio codec a channel uses. More...
 
struct  BearWare.AudioConfig
 Common audio configuration which should be used by users in the same BearWare.Channel. More...
 
struct  BearWare.VideoCodec
 Struct used for specifying the video codec to use. More...
 

Enumerations

enum  BearWare.Codec : uint {
  BearWare.NO_CODEC = 0, BearWare.SPEEX_CODEC = 1, BearWare.CELT_0_5_2_OBSOLETE_CODEC = 2, BearWare.THEORA_CODEC = 3,
  BearWare.SPEEX_VBR_CODEC = 4, BearWare.CELT_CODEC = 5, BearWare.CELT_VBR_CODEC = 6
}
 The codecs supported. More...
 

Detailed Description

The client is able to encode audio in Speex and CELT format whereas video can be encoded in Theora format. Speex is recommended for voice and CELT for music.

Choosing the right codec settings in an end-user application is very important and proper settings depend entirely on the user scenario. Always ensure that the codec settings do not require too much bandwidth and thereby resulting in packetloss causing inaudible conversations and poor video quality. Detecting packetloss can be done using BearWare.UserStatistics and BearWare.ClientStatistics.

Note that bandwidth usage will be much higher when running in peer to peer mode since each client must then broadcast data to all users instead of having the server forward the audio and video packets. Checkout the section Client/Server Connectivity on the different types of connections.

Every channel must configure which audio codec to use in order for users to be able to talk to each other. The codec member of BearWare.Channel specifies which audio codec (BearWare.AudioCodec) should be used. A channel does not restrict the video codec (BearWare.VideoCodec) users are using.

Enumeration Type Documentation

enum BearWare.Codec : uint

The codecs supported.

See Also
AudioCodec
VideoCodec
Enumerator
NO_CODEC 

No codec specified.

SPEEX_CODEC 

Speex audio codec, http://www.speex.org.

See Also
SpeexCodec
CELT_0_5_2_OBSOLETE_CODEC 

CELT audio codec version 0.5.2 used in version 4.1 and prior, http://www.celt-codec.org.

See Also
CELTCodec
THEORA_CODEC 

Theora video codec, http://www.theora.org.

See Also
TheoraCodec
SPEEX_VBR_CODEC 

Speex audio codec in VBR mode, http://www.speex.org.

See Also
SpeexVBRCodec
CELT_CODEC 

CELT audio codec version 0.11.1, http://www.celt-codec.org.

See Also
CELTCodec
CELT_VBR_CODEC 

CELT audio codec version 0.11.1 in VBR mode, http://www.celt-codec.org.

See Also
CELTVBRCodec