Bandwidth and codecs

Contents Index Previous Next

Bandwidth and codecs

The codec a channel uses is defined by an admin client. There are 5 codecs available ranging from the 5.1 CELP codec to the 16.4 GSM codec. These codecs produce different amounts of traffic for the server. The server itself at this point in time doesn’t support audio mixing and streaming such into one stream (the reason for this is that the server would require massive CPU cycles to decode all data streams and then mixing multiple streams together and encode it again). To calculate the amount of upload traffic per second of a single channel running TeamSpeak deamon under normal situation (1 person talking):

Number of people in the channel – 1 x the codec used

Maximal stress situation (all persons talking in 1 channel):

(Number of people – 1) squared x the codec used.

Examples for both situations, 10 people in a channel on the GSM16.4 kilobit codec:

10 – 1 x 16.4 kilobit = 147.6 KiloBits per second for the normal situation

(10 – 1) squared x 16.4 kilobit = 1328,4 KiloBits per second for the maximal stress situation.

If there are multiple channels you need to repeat this formula. The outcome of this number should be smaller then your upload bandwidth of your connection.