Audio codecs
TeamSpeak 3 supports the following sampling rates:
Opus Voice (Mono, 48khz)
Opus Music (Stereo, 48khz)
Note
Opus Voice is recommended for voice transmission.
Bandwidth usage generally depends on the used codec and the encoders quality setting.
Estimated bitrates (bps) for codecs per quality:
Quality |
Opus Voice |
Opus Music |
---|---|---|
0 |
4,096 |
7,200 |
1 |
8,192 |
14,400 |
2 |
12,288 |
21,600 |
3 |
16,384 |
28,800 |
4 |
20,480 |
36,000 |
5 |
24,576 |
43,200 |
6 |
28,672 |
50,400 |
7 |
32,768 |
57,600 |
8 |
36,864 |
64,800 |
9 |
40,960 |
72,000 |
10 |
45,056 |
79,200 |
Change the quality to find a good middle between voice quality and bandwidth usage. Overall the Opus codec delivers the best quality for the bandwidth.
Users need to use the same codec when talking to each other. 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);
Available values for CHANNEL_CODEC
are defined in the CodecType
enum.