halflife icon indicating copy to clipboard operation
halflife copied to clipboard

[CS 1.6] Voice Codec (2)

Open Winner9 opened this issue 13 years ago • 18 comments

Sorry for my english. Use translator

We carry out a small experiment:

We take 1 server (version : 48/1.1.2.7/Stdio 5956 secure (10)) And 2 players. Both players use STEAM. First player [NUMBER1] use codec VOICE_MILES (sv_voicecodec "voice_miles"). The second player [NUMBER2] use codec VOICE_SPEEX (sv_voicecodec "voice_speex")

So, NUMBER1 (miles) can talk to the server, but it will only find the players with the same codec. And NUMBER2 (speex) too can say, but it will normally hear only the players with the same codec.

For a NUMBER1 player NUMBER2 will sound like a robot, and unintelligible noise.

Now the question - Why is this happening? And most importantly why do all the players (STEAM) at the moment is worth two different incompatible codec, and why they (codec) can not be changed manually?

NOTE: NUMBER1 and NUMBER2 use the LATEST OFFICIAL update

Winner9 avatar Feb 16 '13 12:02 Winner9

sweetru avatar Feb 16 '13 13:02 sweetru

+1

jesuspunk avatar Feb 16 '13 13:02 jesuspunk

don't work voice in game

artemkyz5589 avatar Feb 16 '13 13:02 artemkyz5589

and please make that non-steam(voice support) work too. sometimes i buy a copy and gift most often players on my servers.

jesuspunk avatar Feb 16 '13 13:02 jesuspunk

  1. sv_voicecodec is server variable and has no effect when a client changes it.
  2. The updated engine doesn't use either voice_miles or voice_speex anymore. The dlls for them and sv_voicecodec/sv_voicequality are probably deprecated but haven't been removed yet for some reason.

zp avatar Feb 16 '13 13:02 zp

ZP, how can you explain the fact that on the same server with different players command sv_voicecodec produces different results (mile, speex)?

And how can you explain the fact that NUMBER1 does not hear NUBMER2?

Ok, server variable..... fail.....I did not consider this..... ))

BUT - official steam, official update, official server - what problem?! I dont understand.....

Winner9 avatar Feb 16 '13 13:02 Winner9

ZP, in server.cfg prescribe "sv_voicecodec voice_miles", players will have the codec voice_miles?

sweetru avatar Feb 16 '13 14:02 sweetru

I understand it server variable, ok, BUT - but then why its value is strongly correlated with status HEAR or NOT-HEAR.....

Winner9 avatar Feb 16 '13 14:02 Winner9

Hope valve will remove cvar sv_voicecodec. Why do you still use miles?!

vjatseslav avatar Feb 16 '13 14:02 vjatseslav

"Why do you still use miles?!"

Its question for valve or for gamers? We dont use miles.....

Winner9 avatar Feb 16 '13 14:02 Winner9

Chelyabinsk to you flying

sweetru avatar Feb 16 '13 14:02 sweetru

sv_voicecodec is server side, users should only be using the Steam codec now. Thanks for the report, I'll try to reproduce it and work out what is happening.

alfred-valve avatar Feb 16 '13 15:02 alfred-valve

alfred-valve, thanks you for trying to help. Of course I understand that this server variable, but when I discovered "correlated with status HEAR or NOT-HEAR" I was very surprised. I thik option is only an indicator of what the other problems.

Winner9 avatar Feb 16 '13 15:02 Winner9

{{{ alfred-valve commented an hour ago

sv_voicecodec is server side, users should only be using the Steam codec now. Thanks for the report, I'll try to reproduce it and work out what is happening. }}}

my server is running 1.1.2.7

does that mean i can remove

sv_voicecodec voice_speex

and has sv_voicequality

become redundant as well now

B-Mack avatar Feb 16 '13 16:02 B-Mack

@B-Mack, yes, they should be redundant now.

alfred-valve avatar Feb 16 '13 16:02 alfred-valve

@alfred-valve Why not remove them then? Less confusion for server admins.

xPaw avatar Feb 16 '13 16:02 xPaw

@xPaw agree

hotactions avatar Feb 16 '13 17:02 hotactions

Next release will remove the sv_voicecodec and sv_voicequality cvars.

alfred-valve avatar Feb 19 '13 01:02 alfred-valve