Tremulous Forum

General => Official Servers => Topic started by: baybal on February 19, 2011, 03:41:29 am

Title: VOIP?
Post by: baybal on February 19, 2011, 03:41:29 am
VOIP?
Title: Re: VOIP?
Post by: Pazuzu on February 19, 2011, 03:49:52 am
That thing that lets you sing karaoke in the middle of a game?
Title: Re: VOIP?
Post by: baybal on February 19, 2011, 03:56:02 am
yes

btw where is my donor sign?
Title: Re: VOIP?
Post by: Pazuzu on February 19, 2011, 04:06:21 am
Ah yes. That.
I hope that answers your first question. Good day, sir.
Title: Re: VOIP?
Post by: Menace13 on February 19, 2011, 07:23:10 pm
VOIP is still built into some clients, but not active on the servers. I believe a personally-owned server could easily implement VOIP.
Title: Re: VOIP?
Post by: Lakitu7 on February 19, 2011, 08:52:14 pm
VOIP is not yet finished in that there are no HUD elements created to say who is speaking. Until this is done, it must remain off, because someone can spam whatever they want over voip with no way to tell who it is to kick them.
Title: Re: VOIP?
Post by: Menace13 on February 20, 2011, 05:22:11 pm
I'm pretty sure some clients have that working. My FSM-GPP could do VOIP fine if it was enabled.
Title: Re: VOIP?
Post by: Lakitu7 on February 20, 2011, 06:11:22 pm
HUD is cgame/ui, not client.
Title: Re: VOIP?
Post by: KillerWhale on February 20, 2011, 07:08:41 pm
I believe it does say who is speaking already, but other than that, there is no UI and that's pretty crappy.

I suppose adding a tab to the options menu wouldn't be that tough, it's just a matter of finding someone with enough spare time to figure out how all the vars work and enough motivation to make the menu. (not me)
Title: Re: VOIP?
Post by: SlackerLinux on February 20, 2011, 11:35:37 pm
HUD is cgame/ui, not client.

exactly good to hear your working on this i was working on a cgame solution but got stuck trying to figure out whats the cleanest/best way to get the info from tremded to cgame then i got sidetracked with other projects

would also be good to add a config page in options dedicated to voip settings like enabling it, volume, muting players, etc
Title: Re: VOIP?
Post by: Lakitu7 on February 21, 2011, 09:26:11 am
HUD is cgame/ui, not client.

exactly good to hear your working on this i was working on a cgame solution but got stuck trying to figure out whats the cleanest/best way to get the info from tremded to cgame then i got sidetracked with other projects

Uh, not really. It's pretty low priority to get it done any earlier than "before 1.2 release" and as you found it's incredibly unfun to write, so as far as I know nobody has particularly volunteered to do so. If you'd like to finish it, and you can do so properly, please do and submit to bugzilla. If not I imagine nobody will particularly volunteer anytime sooner than SOON(tm).
Title: Re: VOIP?
Post by: baybal on February 23, 2011, 07:52:05 am
Where I can get access to you revision control server with up to date server code?
I think we can write a simple solution, why not to dump speakers name into team chat like URT do? We can accompany it with nice microphone icon afterwards.
Title: Re: VOIP?
Post by: David on February 23, 2011, 09:09:23 am
http://svn.icculus.org/tremulous/
Title: Re: VOIP?
Post by: SlackerLinux on February 23, 2011, 09:54:20 am
all that is needed is a list of names like the teamoverlay that show when someone is talking that's the easy part infact that was all i got to last time i looked into this the hard part is getting the info to cgame(or would ui be better)

i think there's a little more then the UI to do to improve voip i have started adding voip binds/settings in the ingame options menu to my local git repo i think it would be nice to recode openal so you can select what device to use for input/output(is that possible? haven't looked into it yet i know theres a few fixmes in the code that would be nice to tackle too) since the main thing people get stuck on in linux is making a proper .alsoftrc file to point to their usb headset having a dropdown list or even a textbox to specify the device would solve most peoples problems in getting it to work

another thing is proper team support i know there's a bugzilla entry with a solution maybe that could be used
Title: Re: VOIP?
Post by: David on February 23, 2011, 02:28:50 pm
It'd be nice if there was a cvar to make it send to my team only, and auto-mute everyone on the other team.  it'd be cool if it could then un-mute everyone and set it to send to everyone as soon as the game ends, for easy gloating.
Title: Re: VOIP?
Post by: Demolution on February 23, 2011, 03:13:59 pm
I remember a couple of months ago, having to go through all the names in /listplayers and voip-muting each person just to find out who the hell was playing some annoying ass music. Definitely needs a (improved?) UI component before use.
Title: Re: VOIP?
Post by: Lakitu7 on February 23, 2011, 08:14:26 pm
i think there's a little more then the UI to do to improve voip i have started adding voip binds/settings in the ingame options menu to my local git repo i think it would be nice to recode openal so you can select what device to use for input/output(is that possible? haven't looked into it yet i know theres a few fixmes in the code that would be nice to tackle too) since the main thing people get stuck on in linux is making a proper .alsoftrc file to point to their usb headset having a dropdown list or even a textbox to specify the device would solve most peoples problems in getting it to work

another thing is proper team support i know there's a bugzilla entry with a solution maybe that could be used
The team support thing is already in or not finished; I don't remember. You'd have to ask Ben.

The other bits are all squarely in upstream's domain and you'd have to submit them to ioquake3.
Title: Re: VOIP?
Post by: Undeference on February 24, 2011, 03:18:45 am
benmachine added support for
Code: [Select]
set cl_voipSendTarget team
Title: Re: VOIP?
Post by: SlackerLinux on February 24, 2011, 04:47:48 am
making some progress on adding sound settings to ui
(http://img217.imageshack.us/img217/7817/shot0003r.th.jpg) (http://img217.imageshack.us/i/shot0003r.jpg/)

ill do input device selection tomorrow it works for me i can change to my headset and hear sound after that ill look into moving the sound meter code to cgame or ui aswell as adding a list of who is talking any ideas on best way to get the data to the qvm's?

EDIT: input code changed so a input device can be specified ui elements added aswell as the feeder for the audio input device but 1 minor issue if i have 2 combo boxes it seems to want to open them both when i click on one its prob something minor somewhere i screwed up(1st time playing with trems ui files) i also added a voip section with turning voip on and off aswell as capture volume so now i can select the device from a list and adjust the input volume so voip works through the ui :) now onto part 2
Title: Re: VOIP?
Post by: SlackerLinux on February 28, 2011, 01:56:43 am
still no sender display

the openAL and ui changes have been added to bugzilla
ioQuake3 ticket: https://bugzilla.icculus.org/show_bug.cgi?id=4915
Tremulous ticket: https://bugzilla.icculus.org/show_bug.cgi?id=4916

this adds some of the voip settings to the ui aswell as adds the needed feeders and openAL changes so users can select their openAL input and output devices

there is still 1 bug with the ui and i is that it likes to open both combo boxes for some reason would be nice if someone who actually knows the ui code to fix that up and its also only tested in linux would be good to get some people to test it in mac and winwoes
Title: Re: VOIP?
Post by: Lakitu7 on March 03, 2011, 07:49:01 am
Wow, proper looking patches properly submitted to bugzilla and upstream's bugzilla. Thank you for doing everything right (TM).
Title: Re: VOIP?
Post by: SlackerLinux on March 03, 2011, 08:01:51 am
ty im glad you approve i got voip meter and sender display kinda working in cgame im not ready to show it off yet