Sound codecs

TeamSpeak 3 supports three different sound sampling rates:

Bandwidth usage generally depends on the encoders quality setting.

QualityNarrowband bitrate (bps)Wideband bitrate (bps)Ultra-Wideband bitrate (bps)
02,1503,9505,750
13,9505,7507,550
25,9507,7509,550
38,0009,80011,600
48,00012,80014,600
511,00016,80018,600
611,00020,60022,400
715,00023,80025,600
815,00027,80029,600
918,20034,40036,200
1024,60042,40044,200

The availability of the 8 kHz narrowband codec should cater for the needs of low-bandwidth users at the cost of overall sound quality.

Users need to use the same codec when talking to each others. The smallest unit of participants using the same codec is a channel. Different channels on the same TeamSpeak 3 server can use different codecs. The channel codec should be customizable by the users to allow for flexibility concerning bandwidth vs. quality concerns.

The codec can be set or changed for a given channel using the function ts3client_setChannelVariableAsInt by passing CHANNEL_CODEC for the properties flag:

ts3client_setChannelVariableAsInt(scHandlerID, channelID, CHANNEL_CODEC, codec);

For the argument codec pass a value of 0 for Narrowband (8 kHz), 1 for Wideband (16 kHz) and 2 for Ultra-Wideband (32 kHz).

For details on using the function ts3client_setChannelVariableAsInt see the appropriate section on changing channel data.