shqke / sourcetvsupport

Fixes broadcasting/demo recording features in Left 4 Dead
GNU General Public License v3.0
49 stars 10 forks source link

Disabling broadcasting of voice chat #13

Closed lunatixxx closed 3 years ago

lunatixxx commented 3 years ago

Probably it is not intended that spectators can listen to players talk and it is a little annoying, i already have tv_relayvoice 0 disabled but i don't think it is related.

dustinandband commented 3 years ago

In normal demos you can hear voice chat.
I think you should keep voice chat enabled. For my group I'd use this to verify if a player was being abusive and needs to be banned.

Edit: I probably misunderstood. I was originally thinking you mean disable voice chat for demo recordings.

shqke commented 3 years ago

@lunatixxx can you provide more details on your issue? You've set tv_relayvoice to 0, and you still can hear teams in broadcast? Do you have convar sv_alltalk set?

It seems that tv_relayvoice 0 works as expected, therefore I'd like to ask you to correct your question so it doesn't sound so unclear.

lunatixxx commented 3 years ago

That is what i meant, i don't want to hear voice in demos or if i am a source tv client. It is just bad if you are casting. I don't have sv_alltalk on and yes i can still hear people talking with tv_relayvoice disabled.

shqke commented 3 years ago

Okay, I see now. tv_relayvoice is related to broadcast only. You should be safe from hearing player voices while broadcasting with tv_relayvoice set to 0. Client also has convar "voice_scale", which you can set to 0 and not hear any voice chat.

Demo recorder will always record all voice data.