|
Replies:
14
-
Last Post:
Oct 2, 2007 10:39 PM
by: njtromp
|
|
|
|
|
|
|
Voicebridge has been open sourced
Posted:
Oct 1, 2007 8:37 AM
|
|
|
The Voicebridge is the technology we use to provide the high quality audio features within Wonderland. The great news is that the project has now been released as open source, https://jvoicebridge.dev.java.net/
This is great news as we can now integrate the audio system into the binary and source releases of Wonderland.
We will be updating the builds and ant scripts to integrate the components over the next few days.
|
|
|
|
|
|
|
Re: Voicebridge has been open sourced
Posted:
Oct 1, 2007 9:23 AM
in response to: paulby
|
|
|
Fantastic news! Great job guys in pushing that through.
On Oct 1, 2007, at 11:37 AM, wonderland@javadesktop.org wrote:
> The Voicebridge is the technology we use to provide the high > quality audio features within Wonderland. The great news is that > the project has now been released as open source, https:// > jvoicebridge.dev.java.net/ > > This is great news as we can now integrate the audio system into > the binary and source releases of Wonderland. > > We will be updating the builds and ant scripts to integrate the > components over the next few days. > [Message sent by forum member 'paulby' (paulby)] > > http://forums.java.net/jive/thread.jspa?messageID=237836
|
|
|
|
|
|
|
|
Re: Voicebridge has been open sourced
Posted:
Oct 1, 2007 1:57 PM
in response to: paulby
|
|
|
Paul, really GREAT. This was the feature I was waiting for since JavaOne!!
Great Job.
Many thanks to all of you.
|
|
|
|
|
|
|
|
Re: Voicebridge has been open sourced
Posted:
Oct 1, 2007 3:02 PM
in response to: njtromp
|
|
|
As a temporary step, for those who want to try the audio asap - I've updated the ant scripts so that you can use 'ant setup-audio' (from lg3d-wonderland directory) to automatically install the voicebridge and a couple of sample audio files.
But before you run the ant command you much edit/create my.build.properties file in lg3d-wonderland and add the following line voicebridge.enabled = true
The sample audio files are quite large so be patient.
Once everything is downloaded you need to run the following
ant run-bridge ant run-sgs ant run
|
|
|
|
|
|
|
|
Re: Voicebridge has been open sourced
Posted:
Oct 1, 2007 6:38 PM
in response to: paulby
|
|
|
When you say "Once everything is downloaded...." what do you mean? Where/how does the audio files get pulled down, is that an AssetManager thing or is that in the Wonderland-Art package or ? Thanks!
|
|
|
|
|
|
|
|
Re: Voicebridge has been open sourced
Posted:
Oct 2, 2007 8:35 AM
in response to: shawnkendall
|
|
|
The 'ant setup-audio' target will pull the Voice bridge binary and 3 sample audio files from a web server.
We don't need to use the AssetManager for the audio. All the audio is mixed and then streamed from the wonderland server. If you want to run wonderland on a server and connect multiple clients you need to run the following on the each class of machine
Server ant run-bridge ant run-sgs
Client ant run (or ant run-xapps)
You can of course run the server and client on a single machine.
|
|
|
|
|
|
|
|
Re: Voicebridge has been open sourced
Posted:
Oct 2, 2007 8:58 AM
in response to: paulby
|
|
|
Paul,
After a fresh 'cvs co lg3d-wonderland', a 'ant setup-audio' and creating the 'my.build.properties' file I get to following error when I run 'ant':
(With fresh I mean a clean directory and removing the '.wonderland' directory from my home directory)
I'm running Ubuntu 7.04.
Any ideas or sugestions??
(Does it has anything to do with the VoIP gateway addresses??)
----------------------------------------------------------------------- Buildfile: build.xml [echo] project-name = lg3d-wonderland [echo] ostype = linux [echo] arch = i686 [echo] build level=debug, debug=true, debuglevel=lines,vars,source [echo] build.platform.dir = /home/nico/tmp/lg3d-wonderland/build/current/debug [echo] platform-supports-x = true
shutdown_bridge:
run-bridge: [java] Oct 2 17:45:0.196 Oct 2 17:45:0.196 could not open log file: ./log/bridge.log [java] Oct 2 17:45:0.202 Built on Sat Sep 29 2007 12:08 PM [java] Oct 2 17:45:0.202 Running java version 1.6.0 [java] Oct 2 17:45:0.202 OS Name = Linux, OS Arch = i386, OS Version = 2.6.20-16-generic [java] Oct 2 17:45:0.202 user.dir = /home/nico/tmp/lg3d-wonderland [java] Oct 2 17:45:0.207 Using local host from InetAddress.getLocalHost(): 127.0.0.1 [java] Oct 2 17:45:0.208 Bridge started in location 'LOC' [java] Oct 2 17:45:0.208 Bridge server control port: 6666 [java] Oct 2 17:45:0.217 VoIP gateways: 129.148.75.22, 10.1.224.22, 10.6.4.192 [java] Oct 2 17:45:0.217 [java] javax.sip.PeerUnavailableException: The Peer SIP Stack: gov.nist.javax.sip.SipStackImpl could not be instantiated. Ensure the Path Name has been set. [java] Oct 2 17:45:0.268 ERROR: could not stsart sip stack. [java] at javax.sip.SipFactory.createStack(SipFactory.java:325) [java] at javax.sip.SipFactory.createSipStack(SipFactory.java:165) [java] at com.sun.voip.server.SipServer.setup(SipServer.java:149) [java] at com.sun.voip.server.SipServer.<init>(SipServer.java:107) [java] at com.sun.voip.server.Bridge.<init>(Bridge.java:199) [java] at com.sun.voip.server.Bridge.main(Bridge.java:126) [java] Caused by: java.lang.reflect.InvocationTargetException [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [java] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [java] at javax.sip.SipFactory.createStack(SipFactory.java:315) [java] ... 5 more [java] Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Layout [java] at gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:333) [java] ... 10 more [java] [Accumulated GC generation 0 time 0.0000000 secs, 0 GC's, avg GC time 0.0000000] [java] [Accumulated GC generation 1 time 0.0000000 secs, 0 GC's, avg GC time 0.0000000]
BUILD FAILED ----------------------------------------------------------------------
Message was edited by: njtromp
|
|
|
|
|
|
|
|
Re: Voicebridge has been open sourced
Posted:
Oct 2, 2007 1:17 PM
in response to: njtromp
|
|
|
Try setting wonderland.local.hostAddress=<ip address> in my.build.properties. For <ip address> use the actual ip address from ifconfig -a.
|
|
|
|
|
|
|
|
Re: Voicebridge has been open sourced
Posted:
Oct 2, 2007 2:45 PM
in response to: jprovino
|
|
|
Sorry, error is still there. Only the address in the log changed.
|
|
|
|
|
|
|
|
Re: Voicebridge has been open sourced
Posted:
Oct 2, 2007 3:02 PM
in response to: njtromp
|
|
|
I'm setting up a new workspace and am also seeing this error, so you are not alone njtromp.
|
|
|
|
|
|
|
|
Re: Voicebridge has been open sourced
Posted:
Oct 2, 2007 3:29 PM
in response to: paulby
|
|
|
You can call me Nico.
It's past midnight here in Europe, so I don't have any time left. I look into it tomorrow, (I will try fixing it by adding Log4J to the classpath)
Cheers
Nico
|
|
|
|
|
|
|
|
Re: Voicebridge has been open sourced
Posted:
Oct 2, 2007 3:01 PM
in response to: njtromp
|
|
|
I thought it was a bad local IP Address but I just noticed this in your original message:
[java] Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Layout [java] at gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:333)
I think the problem is that log4j1.2.8.jar is missing from the classpath. This jar file moved to jvoicebridge/common/lib and is probably incorrectly referenced in voip xml files. I'll commit a fix tomorrow.
|
|
|
|
|
|
|
|
Re: Voicebridge has been open sourced
Posted:
Oct 2, 2007 3:31 PM
in response to: jprovino
|
|
|
Now that you mention it. Should be easy to fix. I'll look into it to morrow.
Thanks for now
Cheers
Nico
|
|
|
|
|
|
|
|
Re: Voicebridge has been open sourced
Posted:
Oct 2, 2007 3:52 PM
in response to: njtromp
|
|
|
Hi Nico,
Jon figured out what was wrong. log4j was missing from the WonderlandAudio.zip file. It's fixed now.
Run 'ant setup-audio' to get the new file and you should be good to go.
Rgds
Paul
|
|
|
|
|
|
|
|
Re: Voicebridge has been open sourced
Posted:
Oct 2, 2007 10:39 PM
in response to: paulby
|
|
|
Confirmed. Problem solved.
Thanks
|
|
|
|
|