Raised This Month: $32 Target: $400
 8% 

VoiceHook - Developer preview of something.


Post New Thread Reply   
 
Thread Tools Display Modes
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 10-27-2011 , 09:05   Re: VoiceHook - Developer preview of something.
Reply With Quote #71

The Linux binary has been updated with one that'll work on CS:S as well as 2009, thanks to weeb1e for the extensive testing involved.
__________________
asherkin is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 10-28-2011 , 12:33   Re: VoiceHook - Developer preview of something.
Reply With Quote #72

Does this still work with windows? I tried to do this last night and everything seemed to be loaded but when I tried to talk with your test plugin running no message appeared.
__________________
Fearts is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 11-05-2011 , 16:43   Re: VoiceHook - Developer preview of something.
Reply With Quote #73

Quote:
Originally Posted by asherkin View Post
WARNING: For TF2 and other games using the Steam audio system, you need to set the sv_use_steam_voice convar to 0 if you want decompression to work.
When sv_use_steam_voice is set to 1, will it send compressed data or not send any data?
Seta00 is offline
Kevin_b_er
SourceMod Donor
Join Date: Feb 2009
Old 11-05-2011 , 16:50   Re: VoiceHook - Developer preview of something.
Reply With Quote #74

It will send a different format of compressed data. One which isn't Speex.
__________________
Kevin_b_er is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-06-2011 , 01:15   Re: VoiceHook - Developer preview of something.
Reply With Quote #75

Quote:
Originally Posted by Seta00 View Post
When sv_use_steam_voice is set to 1, will it send compressed data or not send any data?
Raw listeners will get the compressed data, regular listeners will get nothing.

To decompress the audio data you need to use the DecompressVoice of the ISteamUser SteamWorks interface, which is not exposed to the game server.

Spoiler
__________________

Last edited by asherkin; 11-06-2011 at 01:16.
asherkin is offline
Dazzozo
SourceMod Donor
Join Date: Nov 2009
Old 11-07-2011 , 13:16   Re: VoiceHook - Developer preview of something.
Reply With Quote #76

Been encountering some weird issues with this recently. The main use we've found for it is controlling the use of HLDJ (so people can't micspam over each other, etc).

Since roughly around the Manniversary changes, the Metamod plugin has been altering voice. (Reducing the overall quality and making it sound as if it's being broadcast from a wind tunnel, and at times dropping half of the sound altogether).

I'm pretty certain it's the Metamod plugin, as it only takes this being loaded alone (not the extension or SourceMod plugin we're using) for the effects to be present.

As some evidence, we've performed the highly scientific "Neil test".
VoiceHook loaded: http://dl.dropbox.com/u/118531/loaded.mp3
VoiceHook unloaded:http://dl.dropbox.com/u/118531/not%20loaded.mp3

A few seconds in to the loaded one and it becomes really noticeable.

Hope this helps, and cheers for the awesome plugin.
Dazzozo is offline
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 12-21-2011 , 07:01   Re: VoiceHook - Developer preview of something.
Reply With Quote #77

Two quick questions... will this work with Source 2007 mods at all? Also, could this somehow be used to transmit voice communication between two game servers using the socket extension? I am thinking of using this to allow players to speak across my TF2 and Adrenaline Gamer 2 servers.

Last edited by StrikerMan780; 12-21-2011 at 07:03.
StrikerMan780 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 01-25-2012 , 18:25   Re: VoiceHook - Developer preview of something.
Reply With Quote #78

Post has been updated with new voicehook_mm binaries that wont re-encode the audio stream if there are only raw (or no) listeners registered.
__________________
asherkin is offline
klausenbusk
AlliedModders Donor
Join Date: Jan 2011
Old 02-23-2012 , 12:17   Re: VoiceHook - Developer preview of something.
Reply With Quote #79

Any update on stream audio files through the voice channel?

Last edited by klausenbusk; 02-23-2012 at 12:17.
klausenbusk is offline
janinge
SourceMod Donor
Join Date: Jan 2010
Location: Norway
Old 04-05-2012 , 08:48   Re: VoiceHook - Developer preview of something.
Reply With Quote #80

Quote:
Originally Posted by asherkin View Post
Post has been updated with new voicehook_mm binaries that wont re-encode the audio stream if there are only raw (or no) listeners registered.
Did you also update the Linux version?

meta info says "Details: API 015, Date: Oct 14 2011".

And I get the following console spam when only using the provided SourceMod extension (with sv_use_steam_voice set to 1), so I guess it tries to decode the SILK stream with Speex...
Quote:
voice_codec_frame.cpp (113) : Assertion Failed: (compressedBytes % m_nEncodedBytes) == 0
/home/VALVE/rackadmin/buildslave/steam_rel_client_linux/build/src/voice_codecs/speex/../frame_encoder/voice_codec_frame.cpp 113 Assertion Failed: (compressedB
ytes % m_nEncodedBytes) == 0
warning: Invalid mode encountered: corrupted stream?
janinge is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode