• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: VWR-2041
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Low Low
Assignee: Tofu Linden
Reporter: Dale Glass
Votes: 4
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
1. Second Life Viewer - VWR

Allow using voice component on another computer

Created: 05/Aug/07 05:00 PM   Updated: 08/Nov/07 03:08 PM
Return to search
Component/s: Voice
Affects Version/s: 1.18.1.2
Fix Version/s: 1.18.4.3

File Attachments: 1. File SLVoice (0.4 kB)
2. Text File voice_host.patch (2 kB)

Environment: Linux
Issue Links:
Relates
 

Linden Lab Issue ID: SL-52746
Patch attached: Patch attached


 Description  « Hide
This patch makes the host the viewer will try to connect to for connecting to the voice component configurable. It adds the "VoiceHost" and "VoicePort" settings which can be modified from the Client menu.

Linux currently has no SLVoice binary, which stops voice from working. However, due to how it works, a Linux binary isn't 100% necessary. The Linux viewer has all the required code to use it, and is only missing the SLVoice executable. It can (verified) correctly talk to SLVoice.exe running on another computer (or under wine/vmware/etc).

This patch could also be good for development purposes and should work fine on Windows versions of SL as well.

Usage on Linux requires an executable SLVoice program in the directory. The viewer will verify this file exists and try to run it before attempting to connect to the voice server. Having this program do anything useful is optional, as the user can start the SLVoice program manually.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Dale Glass added a comment - 05/Aug/07 05:04 PM
The attached SLVoice program attempts to run the SLVoice.exe component with wine.

It will also display the command line arguments passed to it, which can be used to start SLVoice.exe on another computer. The viewer will keep trying to connect to the voice component until it succeeds, so a manual start will work perfectly fine, so long there's a SLVoice program present at all in the SL installation directory (which doesn't need to actually do something useful)


Lex Neva added a comment - 06/Aug/07 09:00 AM
Interesting!

WiLLuMPJuH Gausman added a comment - 11/Aug/07 03:13 AM
Patch is already applied in the source-code of 1.18.1.2 ( LLVoiceclient.cpp has it implemented already, no patch needed ). Ran SLVoiceAgent.exe ( with '-p tcp -i 127.0.0.1:44124' ) under WINE .. which remains running and stable. Also ran SLVoice.exe , but that keeps crashing ( exits ) with :

"wine: Unhandled page fault on read access to 0x00000138 at address 0xb7d9accf (thread 001f)" (adress and thread vary)

The voice-part of the SL client also has trouble detecting hardware. As soon as Voice Wizard is adressed, SLVoice.exe stops with mentioned error. So it only works partially. I guess the SLVoice.exe with Vivox's *.dll is too unstable, but hey .. so many happy WIndows-users , right ? I must be wrong....


CrazyTB Oh added a comment - 16/Aug/07 09:08 PM
For me (Gentoo system with Wine 0.9.39), SLVoice.exe client "almost works" under wine. I can listen to other people voice, but only when SL itself is minimized. Maybe this happens because Pentium III 800 might not be fast enough for both tasks. However, I can't speak.

I didn't run the SLVoiceAgent.exe binary. I don't know if that's needed.


CrazyTB Oh added a comment - 16/Aug/07 09:13 PM
Oh, I also forgot to say... I tried to run SLVoice on an actual Windows machine, but it didn't work. It could not actually connect to voice server. This was my setup:

1. Pentium III 800 with Linux and two ethernet cards. One of them is connected to ADSL modem and has a real IP. The other card is connected to another computer and has a LAN IP.
2. Pentium 233 MMX with 32MB of RAM and Windows 2000. Has one ethernet card and has a LAN IP. This machine is behind NAT and can access Internet without problems. Haven't tested any other VoIP services on this machine.

With this setup, I tried to make SL on Linux machine connect to SLVoice on old Windows machine. It could connect to SLVoice server, but could not do anything beyond that.

Like someone asked at Talk:Voice_FAQ page at wiki, we need detailed information about the required ports by SLVoice. (or, even more, make it so there will be no need for incoming connections... It's not so difficult to do that, but it's outside control of Linden Labs... after all it's just vivox)


dweezle zeami added a comment - 17/Aug/07 09:43 PM
Can you give explicit instruction, please, to make a Linux Second LIfe program, work with voice. I understand that you have a patch, but I don't understand in which directory it is to be placed, and in which directory the other program is to be placed, and how everything is to be set-up to work, even using Wine.

Thanks,


WiLLuMPJuH Gausman added a comment - 20/Aug/07 08:06 AM
Winecfg configured with ALSA . Running with wine-0.9.43 :
  • Patch did not need to be applied. It's already in the source.
  • Port 44124 is open.
  • Started "SLVoiceAgent.exe" with -p tcp -i 127.0.0.1:44124
  • Started "SLVoice.exe" with same parameters.
  • Started SL linux-client.
  • [SL linux-client] detects hardware. However , no audio can be heard. Microphone-detection is troublesome. Graphically everything seems to work. The white dot appears and terminal reports LLVoiceclient being initiated and loaded. Logging onto the vivox-server is succesful.
  • [SLVoiceAgent.exe] remains stable. At startup only the error : "fixme:wave:ALSA_AddCaptureDevice Add support for DSCapture
    " appears.
  • [SLVoice.exe] shows following errors concerning sound-output in terminal when trying to listen or participate into SLVoice - conversations :

err:dsound:DSOUND_MixOne Fatal error. Under/Overflow? primary_done=63492, mixpos=12312/65536 (12312/65536), primary_mixpos=4100, writepos=6144, mixlen=18440
err:dsound:DSOUND_MixOne Fatal error. Under/Overflow? primary_done=63492, mixpos=12312/65536 (12312/65536), primary_mixpos=4100, writepos=6144, mixlen=14336
err:dsound:DSOUND_MixOne Fatal error. Under/Overflow? primary_done=63492, mixpos=12312/65536 (12312/65536), primary_mixpos=4100, writepos=6144, mixlen=14336
err:dsound:DSOUND_MixOne Fatal error. Under/Overflow? primary_done=63492, mixpos=12312/65536 (12312/65536), primary_mixpos=4100, writepos=6144, mixlen=16388
err:dsound:DSOUND_MixOne Fatal error. Under/Overflow? primary_done=63492, mixpos=12312/65536 (12312/65536), primary_mixpos=4100, writepos=6144, mixlen=16388
err:dsound:DSOUND_MixOne Fatal error. Under/Overflow? primary_done=63492, mixpos=12312/65536 (12312/65536), primary_mixpos=4100, writepos=6144, mixlen=18432

Also a "fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (c8000014)" keeps reappearing.

_____________________________________________________________________________________________

This is the 'best' result , btw . Tried OSS driver in Wine , but it will not detect hardware. I personally doubt anybody can get this properly running with WIne or has succeeded in doing so, but pls let me know the contrary if existing.


Tofu Linden added a comment - 28/Aug/07 08:59 AM
Applied internally, thanks for the patch.

Torley Linden added a comment - 08/Nov/07 12:27 PM
This is publicly fixed in Second Life 1.18.4(3), more info here:

» http://blog.secondlife.com/2007/11/07/new-viewer-second-life-1184-viewer-now-available/

For Release Notes, see:

» https://wiki.secondlife.com/wiki/Release_Notes