ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
640 stars 74 forks source link

[TF2] [x64_test] CELT (vaudio_celt) voice chat codec does not correctly transport audio #5520

Open TheBoctor opened 8 months ago

TheBoctor commented 8 months ago

When a server's sv_voicecodec is set to vaudio_celt, clients will either hear either nothing or garbled noise, from the in-game voice chat. Testing with voice_loopback enabled will result in either hearing your own audio input, or complete silence with no in-game voice indicator whatsoever. Regardless, it will still not be correctly sent to other players.

The host for all of these tests was srcds on Linux (Debian stable), but our group of clients running Windows and Linux all experienced the same issues. The map was restarted when changing codecs, to rule out anything not being correctly set. The default (Steam) voice codec is unaffected and works properly.

Ashetf2 commented 8 months ago

isn't celt an old codec?

TheBoctor commented 8 months ago

isn't celt an old codec?

If so, it's still being used as the primary fallback when Steam Voice is not available, last I checked. (engine/audio/private/voice.cpp) Might not be good to keep CELT as the chosen fallback, if its removal is planned. However, I know for certain that it still works fine on the original x86 builds.

AFAIK, only the Miles voice codec has been completely removed.

Tiagoquix commented 5 months ago

Still happening after the official release of the 64-bit version for all players. I'm on Fedora Linux 39 KDE.

The server I play on uses the vaudio_celt as the voice codec for their music bot via the in-game voice chat.

dudecars53 commented 4 weeks ago

from what i can gather and share my knowledge of this issue as well, the old legacy speex codec gives a console error of unable to be loaded since the x64 update. celt on the other hand works fine on windows but doesn't work on linux as told by a few friends who run linux on their machines.