Audio playback not working

66 views
Skip to first unread message

Sean McGrath

unread,
May 11, 2015, 5:10:10 AM5/11/15
to openwon...@googlegroups.com
Hello again everyone and apologies to have to bug you about our server yet again.

We are having some problems with audio playback right now. Audio files are not playing from the server when they had been before. I have just checked with an online port scanner and it looks like port 5060 is accessible via the internet.

Looking at the Darkstar server side logs, (full log attached), I see the following but I don't know if that is related as it seems to be later in the day from the client log that had the issue.

[java] WARNING: [SharedMap] Request for unknown map: skyboxes
[java] May 10, 2015 3:43:53 PM org.jdesktop.wonderland.modules.presencemanager.server.PresenceManagerSrvImpl$PlayerListener callStatusChanged
[java] WARNING: [PlayerListener] No player for 242

For an issue of the client not being able to play audio files is there anything else I can troubleshoot of look through the logs for?

Any help very much appreciated.

Regards

Sean McGrath

Client Log
WARNING 15:24:35                                                                                                              
org.jdesktop.wonderland.modules.portal.client.AudioCacheHandler initialize                                                                                                                                                                  
Audio cache dir C:\Users\Gene\.wonderland\0.5\cache\audio                                                                                                                                                                                   
WARNING 15:24:35 org.jdesktop.wonderland.client.cell.ChannelComponent                                                                                                                                                                       
messageReceived                                                                                                                                                                                                                             
No listener for message class                                                                                                                                                                                                               
org.jdesktop.wonderland.common.cell.messages.CellServerComponentMessage                                                                                                                                                                     
from cell                                                                                                                                                                                                                                   
org.jdesktop.wonderland.modules.defaultenvironment.client.DefaultEnvironmentCell                                                                                                                                                            
status VISIBLE                                                                                                                                                                                                                              
WARNING 15:24:37 org.jdesktop.wonderland.client.cell.ChannelComponent                                                                                                                                                                       
messageReceived                                                                                                                                                                                                                             
No listener for message class                                                                                                                                                                                                               
org.jdesktop.wonderland.common.cell.messages.CellServerComponentMessage                                                                                                                                                                     
from cell org.jdesktop.wonderland.client.cell.ModelCell status VISIBLE                                                                                                                                                                      
WARNING 15:24:39 org.jdesktop.wonderland.client.cell.ChannelComponent                                                                                                                                                                       
messageReceived                                                                                                                                                                                                                             
No listener for message class                                                                                                                                                                                                               
org.jdesktop.wonderland.common.cell.messages.CellServerComponentMessage                                                                                                                                                                     
from cell org.jdesktop.wonderland.client.cell.ModelCell status VISIBLE                                                                                                                                                                      
WARNING 15:26:14 org.jdesktop.wonderland.client.cell.ChannelComponent                                                                                                                                                                       
messageReceived                                                                                                                                                                                                                             
No listener for message class                                                                                                                                                                                                               
org.jdesktop.wonderland.common.cell.messages.CellServerComponentMessage                                                                                                                                                                     
from cell org.jdesktop.wonderland.client.cell.ModelCell status VISIBLE                                                                                                                                                                      
WARNING 15:26:54                                                                                                                                                                                                                            
org.jdesktop.wonderland.modules.audiomanager.client.AudioTreatmentComponent                                                                                                                                                                 
receive                                                                                                                                                                                                                                     
Treatment established                                                                                                                                                                                                                       
WARNING 15:27:00 org.jdesktop.wonderland.client.cell.ChannelComponent                                                                                                                                                                       
messageReceived                                                                                                                                                                                                                             
No listener for message class                                                                                                                                                                                                               
org.jdesktop.wonderland.common.cell.messages.CellServerComponentMessage
from cell org.jdesktop.wonderland.client.cell.ModelCell status VISIBLE
WARNING 15:27:04                                                        
org.jdesktop.wonderland.modules.audiomanager.client.AudioTreatmentComponent$AudioTreatmentMouseListener
commitEvent                                                               
restart audio...
WARNING 15:27:27                                                        
org.jdesktop.wonderland.modules.audiomanager.client.AudioTreatmentComponent$AudioTreatmentMouseListener
commitEvent                                                                
restart audio...   
WARNING 15:28:32
org.jdesktop.wonderland.modules.audiomanager.client.AudioTreatmentComponent
receive
Treatment ended:  User requested call termination
WARNING 15:28:32
org.jdesktop.wonderland.modules.audiomanager.client.AudioTreatmentComponent
receive
Treatment established
WARNING 15:28:42
org.jdesktop.wonderland.modules.audiomanager.client.AudioTreatmentComponent$AudioTreatmentMouseListener
commitEvent
restart audio...


dark_star_server_log.txt

Nicole Yankelovich

unread,
May 12, 2015, 1:06:09 PM5/12/15
to openwon...@googlegroups.com
Sean,

It looks like the audio player is somehow missing. I would try re-inserting it.

Nicole.
--
You received this message because you are subscribed to the Google Groups "Open Wonderland Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwonderlan...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Allan Conda

unread,
May 12, 2015, 3:55:50 PM5/12/15
to openwon...@googlegroups.com
I would try clearing the cache and if it still fails I would run ant clean and ant run-server on the console in the wonderland directory.

Sean McGrath

unread,
May 14, 2015, 1:51:31 PM5/14/15
to openwon...@googlegroups.com, nic...@yankelovich.ws
Hi and thanks for your responses. It is good that this forum is so helpful and much appreciated.


On Tuesday, 12 May 2015 18:06:09 UTC+1, Nicole Yankelovich wrote:
Sean,

It looks like the audio player is somehow missing. I would try re-inserting it.

Thanks Nicole. What exactly do you mean by the audio client in this context? Looking at the modules section of the server administration interface I can see the following:

audiomanagerv1.0Audio foundation API and library
audiorecorderv0.5.2An audio recorder for Wonderland

Looking at the file system on the server I can see the following audio related jar files:
root@openwonderland:/home/owl/.wonderland-server/0.5# find /home/owl/.wonderland-server/0.5/ | grep -i audio | grep jar
/home/owl/.wonderland-server/0.5/run/content/modules/installed/audiorecorder/client/audiorecorder-client.jar
/home/owl/.wonderland-server/0.5/run/content/modules/installed/audiorecorder/server/audiorecorder-server.jar
/home/owl/.wonderland-server/0.5/run/content/modules/installed/audiomanager/client/audiomanager-client.jar
/home/owl/.wonderland-server/0.5/run/content/modules/installed/audiomanager/server/bridge_connector.jar
/home/owl/.wonderland-server/0.5/run/content/modules/installed/audiomanager/server/voicelib.jar
/home/owl/.wonderland-server/0.5/run/content/modules/installed/audiomanager/server/voip.jar
/home/owl/.wonderland-server/0.5/run/content/modules/installed/audiomanager/server/audiomanager-server.jar
/home/owl/.wonderland-server/0.5/run/darkstar_server/run/modules/audiomanager-server.jar
/home/owl/.wonderland-server/0.5/run/darkstar_server/run/modules/audiorecorder-server.jar
/home/owl/.wonderland-server/0.5/run/darkstar_server/download/audiomanager-server.jar
/home/owl/.wonderland-server/0.5/run/darkstar_server/download/audiorecorder-server.jar
/home/owl/.wonderland-server/0.5/run/deploy/wonderland-web-front.war/app/jme-audio.jar
/home/owl/.wonderland-server/0.5/run/deploy/wonderland-web-front.war/app/jme-audio.jar.pack.gz
/home/owl/.wonderland-server/0.5/run/voice_bridge/run/modules/MP3AudioSource.jar

And looking at the running processes on the server I can see the following that are probably related:

root@openwonderland:/home/owl/.wonderland-server/0.5# ps auxww | grep -i jar | grep audio
owl      
26886  0.0  1.4 2911644 56660 pts/5   Sl   May11   2:49 /usr/lib/jvm/java-8-oracle/jre/bin/java -cp /home/owl/.wonderland-server/0.5/run/voice_bridge/run/lib/ant/ant-launcher.jar -Dant.home=/home/owl/.wonderland-server/0.5/run/voice_bridge/run/lib/ant org.apache.tools.ant.launch.Launcher -Dvoicebridge.webserver.url=http://134.226.14.32:8080/ -Dvoicebridge.server.public.address=34.226.14.32 -Dvoicebridge.sip.proxy= -Dvoicebridge.sip.port=5060 -Dvoicebridge.server.public.sip.port=5060 -Dvoicebridge.local.hostAddress=134.226.14.32 -Drunner.name=Voice Bridge -Drunner.location=localhost -Dvoicebridge.long.distance.prefix=1 -Dvoicebridge.sip.gateways= -Dvoicebridge.outside.line.prefix=9 -Dvoicebridge.control.port=6666 -Dvoicebridge.sound.cache.path=/home/owl/.wonderland-server/0.5/run/voice_bridge/run/audiocache -Dvoicebridge.status.listeners=134.226.14.32:6668 -Dvoicebridge.international.prefix=011 -Dwonderland.web.server.url=http://134.226.14.32:8080/ -Dvoicebridge.first.rtp.port=10000 -Dvoicebridge.last.rtp.port=10200 -Dvoicebridge.password.file=/home/owl/.wonderland-server/0.5/darkstar.password -f /home/owl/.wonderland-server/0.5/run/voice_bridge/run/run.xml
owl      
26963  0.4  2.1 2301276 88132 pts/5   Sl   May11  22:43 /usr/lib/jvm/java-8-oracle/jre/bin/java -server -Dgov.nist.jainsip.stack.disableAuthentication=true -Dgov.nist.jainsip.stack.traceLevel=8 -Dgov.nist.javax.sip.SERVER_LOG=sipMessages.log -Dgov.nist.javax.sip.DEBUG_LOG=nistStack.log -Dgov.nist.jainsip.stack.enableUDP=5060 -Dcom.sun.voip.server.BRIDGE_LOG=bridge.log -Dcom.sun.voip.server.BRIDGE_LOCATION=BUR -Dcom.sun.voip.server.LOCALHOST_SECURITY=false -Dcom.sun.voip.server.Bridge.soundPath=/com/sun/voip/server/sounds:. -Dcom.sun.voip.server.Bridge.soundCachePath=/home/owl/.wonderland-server/0.5/run/voice_bridge/run/audiocache -Dcom.sun.voip.server.BRIDGE_CONTROL_PORT=6666 -Dcom.sun.voip.server.PUBLIC_IP_ADDRESS=34.226.14.32 -Dcom.sun.voip.server.BRIDGE_PUBLIC_CONTROL_PORT=6666 -Dcom.sun.voip.server.PUBLIC_SIP_PORT=5060 -Dcom.sun.voip.server.FIRST_RTP_PORT=10000 -Dcom.sun.voip.server.LAST_RTP_PORT=10200 -Djavax.sip.IP_ADDRESS=134.226.14.32 -Dcom.sun.voip.server.BRIDGE_STATUS_LISTENERS=134.226.14.32:6668 -Dcom.sun.voip.server.VoIPGateways= -Dcom.sun.voip.server.SIPProxy= -Dcom.sun.voip.server.LOCALHOST_SECURITY=false -Dcom.sun.voip.server.OUTSIDE_LINE_PREFIX=9 -Dcom.sun.voip.server.LONG_DISTANCE_PREFIX=1 -Dcom.sun.voip.server.INTERNATIONAL_PREFIX=011 -Dcom.sun.voip.server.LONE_RECEIVER_PORT=0 -Dcom.sun.voip.server.NETWORK_AUDIO_BUFFER_SIZE= -Dcom.sun.voip.server.WEBSERVER_URL=http://134.226.14.32:8080/ -Dcom.sun.voip.server.CredentialsFile=${voicebridge.sip.credentials} -ms300m -mx300m -XX:NewSize=5m -XX:MaxNewSize=5m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+PrintClassHistogram -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+TraceGen0Time -XX:+TraceGen1Time -Dvoicebridge.webserver.url=http://134.226.14.32:8080/ -Dvoicebridge.server.public.address=34.226.14.32 -Dvoicebridge.sip.proxy= -Dvoicebridge.sip.port=5060 -Dvoicebridge.server.public.sip.port=5060 -Dvoicebridge.local.hostAddress=134.226.14.32 -Drunner.name=Voice Bridge -Drunner.location=localhost -Dvoicebridge.long.distance.prefix=1 -Dvoicebridge.sip.gateways= -Dvoicebridge.outside.line.prefix=9 -Dvoicebridge.control.port=6666 -Dvoicebridge.sound.cache.path=/home/owl/.wonderland-server/0.5/run/voice_bridge/run/audiocache -Dvoicebridge.status.listeners=134.226.14.32:6668 -Dvoicebridge.international.prefix=011 -Dwonderland.web.server.url=http://134.226.14.32:8080/ -Dvoicebridge.first.rtp.port=10000 -Dvoicebridge.last.rtp.port=10200 -Dvoicebridge.password.file=/home/owl/.wonderland-server/0.5/darkstar.password -classpath /home/owl/.wonderland-server/0.5/run/voice_bridge/run/JainSipApi1.2.jar:/home/owl/.wonderland-server/0.5/run/voice_bridge/run/JainSipRi1.2.jar:/home/owl/.wonderland-server/0.5/run/voice_bridge/run/bridge.jar:/home/owl/.wonderland-server/0.5/run/voice_bridge/run/bridge_connector.jar:/home/owl/.wonderland-server/0.5/run/voice_bridge/run/cmu_time_awb.jar:/home/owl/.wonderland-server/0.5/run/voice_bridge/run/cmu_us_kal.jar:/home/owl/.wonderland-server/0.5/run/voice_bridge/run/cmudict04.jar:/home/owl/.wonderland-server/0.5/run/voice_bridge/run/cmulex.jar:/home/owl/.wonderland-server/0.5/run/voice_bridge/run/cmutimelex.jar:/home/owl/.wonderland-server/0.5/run/voice_bridge/run/codecLib_dtmf.jar:/home/owl/.wonderland-server/0.5/run/voice_bridge/run/codecLibwrapper_dtmf.jar:/home/owl/.wonderland-server/0.5/run/voice_bridge/run/concurrent.jar:/home/owl/.wonderland-server/0.5/run/voice_bridge/run/en_us.jar:/home/owl/.wonderland-server/0.5/run/voice_bridge/run/freetts.jar:/home/owl/.wonderland-server/0.5/run/voice_bridge/run/jspeex.jar:/home/owl/.wonderland-server/0.5/run/voice_bridge/run/log4j-1.2.8.jar:/home/owl/.wonderland-server/0.5/run/voice_bridge/run/servlet.jar:/home/owl/.wonderland-server/0.5/run/voice_bridge/run/stun.jar:/home/owl/.wonderland-server/0.5/run/voice_bridge/run/swing-layout-1.0.jar:/home/owl/.wonderland-server/0.5/run/voice_bridge/run/voip.jar com.sun.voip.server.Bridge noprogram
owl      
26994  1.1  4.4 3166192 181248 pts/5  Sl   May11  53:02 /usr/lib/jvm/java-8-oracle/jre/bin/java -Djava.library.path=/home/owl/.wonderland-server/0.5/run/darkstar_server/run/core/lib/sgs/sgs-server-dist-0.9.10/lib/natives/linux-x86_64 -Djava.util.logging.config.file=/home/owl/.wonderland-server/0.5/run/darkstar_server/run/core/data/sgs/sgs-logging.properties -Dsgs.coldstart=true -Dsgs.password.file=/home/owl/.wonderland-server/0.5/darkstar.password -Drunner.location=localhost -Dsgs.port=1139 -Dsgs.managers=:org.jdesktop.wonderland.modules.security.server.service.SecurityManagerImpl:org.jdesktop.wonderland.modules.security.server.service.CellResourceManagerImpl:com.sun.mpk20.voicelib.impl.app.VoiceManagerImpl -Dwonderland.web.server.url=http://134.226.14.32:8080/ -Drunner.name=Darkstar Server -Dsgs.wfs.root=snapshots/2015-05-10-15-37-17.317/world-wfs -Dsgs.services=:org.jdesktop.wonderland.modules.security.server.service.SecurityService:org.jdesktop.wonderland.modules.security.server.service.CellResourceService:com.sun.mpk20.voicelib.impl.service.voice.VoiceServiceImpl -classpath /home/owl/.wonderland-server/0.5/run/darkstar_server/run/core/lib/jme20/target/jme.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/lib/jaxb/activation.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/lib/jaxb/jaxb-api.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/lib/jaxb/jaxb-impl.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/lib/jaxb/jaxb-xjc.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/lib/jaxb/jaxb1-impl.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/lib/jaxb/jsr173_1.0_api.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/core/lib/common/scannotation-1.0.2.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/core/lib/common/javassist.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/core/lib/common/vecmath.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/core/lib/sgs/sgs-server-dist-0.9.10/lib/sgs-server-0.9.10.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/core/lib/sgs/sgs-server-dist-0.9.10/lib/sgs-server-api-0.9.10.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/core/lib/sgs/sgs-server-dist-0.9.10/lib/sgs-server-internal-api-0.9.10.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/core/lib/sgs/sgs-server-dist-0.9.10/lib/sgs-shared-1.7.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/core/lib/sgs/sgs-server-dist-0.9.10/lib/db-4.5.20.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/core/lib/wonderland-server.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/core/lib/wonderland-common.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/modules/EZMove-server.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/modules/FairBooth-server.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/modules/ImageFrame-server.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/modules/PDFRenderer.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/modules/Sittable-server.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/modules/SubSnapshots-server.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/modules/admin-tools-server.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/modules/affordances-server.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/modules/app-frame-server.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/modules/appbase-server.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/modules/attachto-server.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/modules/audiomanager-server.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/modules/audiorecorder-server.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/modules/avatarbase-server.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/modules/batik-all.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/modules/best-view-server.jar:/home/owl/.wonderland-server/0.5/run/darkstar_server/run/modules/br



Should there something else?

And please forgive my complete ignorance, but I couldn't find the download for the audio client in the modules warehouse at http://openwonderland.org/index.php/c-modulewarehouse/search-result?filter_search=audio+client&filter_category_id=2&btnSearch=Search. That is probably more of a function of my inadility to search for the right thing though. Sorry.
 

Nicole.


On Tuesday, 12 May 2015 20:55:50 UTC+1, Allan Conda wrote:
I would try clearing the cache and if it still fails I would run ant clean and ant run-server on the console in the wonderland directory.

What cache do you mean hear? Is it the one on the server? If so is it this do you think: 
/home/owl/.wonderland-server/0.5/run/voice_bridge/run/audiocache

I don't use ant to run the server, I run it as a java binary as follows:
java -Xmx1536m -Dwonderland.webserver.port=8080 -Dwonderland.webserver.host=134.226.14.32 -Dwonderland.webserver.host.internal=localhost   -jar Wonderland.jar
And have restarted the server process to try to resolve this issue but to no avail.

Cheers and thanks

Sean


 

Ric Moore

unread,
May 14, 2015, 4:01:59 PM5/14/15
to openwon...@googlegroups.com
On 05/14/2015 01:51 PM, Sean McGrath wrote:

>
> I don't use ant to run the server, I run it as a java binary as follows:

You might be better served to use the nightly build from source.
Anyone's binary is built for the lowest common denominator, while an ant
build might reflect better what you actually have for hardware and java
version. I run nothing but source. I recommend it for server
applications. Ric


--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html

Sean McGrath

unread,
May 15, 2015, 4:29:27 AM5/15/15
to openwon...@googlegroups.com


On Thursday, 14 May 2015 21:01:59 UTC+1, Rickey Moore wrote:

You might be better served to use the nightly build from source.
Anyone's binary is built for the lowest common denominator, while an ant
build might reflect better what you actually have for hardware and java
version. I run nothing but source. I recommend it for server
applications. Ric

Thanks Ric. As a HPC sysadmin I do agree with running stuff from source as much as possible. However, during the setup of the server there where some problems with compiling that I can't remember now so we ended up using one of the binaries as it was good enough. At this stage I am loathe to change that without the guarantee it will definitely fix the audio issue. The project is in a critical phase so I am afraid of doing more harm than good.

Thanks

Sean

Ric Moore

unread,
May 15, 2015, 7:54:20 PM5/15/15
to openwon...@googlegroups.com
I think the biggest building problem happens when running a Win Server
is that the code is put somewhere like: C:\My Directory with the space
in the directory name. Otherwise, as long as ant and java is installed
and your my-run and my-build scripts are edited correctly, building is a
piece of cake. OWL does keep the code nice and clean. Ric

Ric Moore

unread,
May 15, 2015, 7:57:55 PM5/15/15
to openwon...@googlegroups.com
On 05/15/2015 04:29 AM, Sean McGrath wrote:
>
>
Oh yeah, can you run softphone.jar by itself?? For whatever reason that
usually remedies OWL audio problems. If it doesn't work, try this:
http://www.oracle.com/technetwork/java/javasounddemo-140014.html
If java sound-demo won't work, you have problems for sure. other than
OWL. :) Ric

jp

unread,
May 18, 2015, 8:33:53 AM5/18/15
to openwon...@googlegroups.com
Can you tell me more about what you're trying to do?
Can you send me the voicebridge log?

joe

Sean McGrath

unread,
May 26, 2015, 1:09:18 PM5/26/15
to openwon...@googlegroups.com
Hello again, apologies for the delay in responding as I have been away for a while and thanks for all your help.


On Saturday, 16 May 2015 00:54:20 UTC+1, Rickey Moore wrote:
I think the biggest building problem happens when running a Win Server
is that the code is put somewhere like: C:\My Directory with the space
in the directory name. Otherwise, as long as ant and java is installed
and your my-run and my-build scripts are edited correctly, building is a
piece of cake. OWL does keep the code nice and clean. Ric

Hi Ric, do you think I am running a Windows server? Sorry for any confusion but we have OWL running on Ubuntu 14.04.1 LTS.

On Saturday, 16 May 2015 00:57:55 UTC+1, Rickey Moore wrote:
Oh yeah, can you run softphone.jar by itself?? For whatever reason that
usually remedies OWL audio problems.

Thanks Ric and please forgive my complete ignorance but where is softphone.jar and do you mean to run it on the server directly?
 
If it doesn't work, try this:
http://www.oracle.com/technetwork/java/javasounddemo-140014.html
If java sound-demo won't work, you have problems for sure. other than
OWL. :) Ric

Is this suppossed to be run on the server? When I try that I get the following:

root@openwonderland:/tmp/javasounddemo/JavaSoundDemo# java -jar JavaSoundDemo.jar
javax
.sound.midi.MidiUnavailableException: Can not open line
        at com
.sun.media.sound.SoftSynthesizer.open(SoftSynthesizer.java:1121)
        at com
.sun.media.sound.SoftSynthesizer.open(SoftSynthesizer.java:1032)
        at com
.sun.media.sound.SoftSynthesizer.getReceiverReferenceCounting(SoftSynthesizer.java:1325)
        at javax
.sound.midi.MidiSystem.getReceiver(MidiSystem.java:273)
        at javax
.sound.midi.MidiSystem.getSequencer(MidiSystem.java:481)
        at javax
.sound.midi.MidiSystem.getSequencer(MidiSystem.java:392)
        at
JavaSound.main(JavaSound.java:167)
Caused by: java.lang.IllegalArgumentException: No line matching interface SourceDataLine supporting format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian is supported.
        at javax
.sound.sampled.AudioSystem.getLine(AudioSystem.java:479)
        at javax
.sound.sampled.AudioSystem.getSourceDataLine(AudioSystem.java:606)
        at com
.sun.media.sound.SoftSynthesizer.open(SoftSynthesizer.java:1061)
       
... 6 more


 Any suggestions?



On Monday, 18 May 2015 13:33:53 UTC+1, joe wrote:
Can you tell me more about what you're trying to do?
Can you send me the voicebridge log?

joe

Thanks very much Joe, I have attached the log.
Simply put what we are trying to do is to get some audio files that played from the world previously to play again after they have stopped playing. I am unaware of any changes that have been made to the server so am at a loss as to why they have stopped playing when they played fine before.

Best

Sean
voice-bridge-lot.txt

Ric Moore

unread,
May 26, 2015, 2:54:06 PM5/26/15
to openwon...@googlegroups.com
> javax.sound.midi.MidiUnavailableException:Cannotopen line
Oh hell, if Java sound demo won't work you really have a problem.
Since you are running Ubuntu (good choice!) run alsamaixer to make sure
you have nothing muted. I also use Pulse, so I can open pavucontrol for
the playback and record tabs to see if the volume level meter is
flickering at the bottom. No flicker, no in-outputs

Install mlocate with apt-get,
then sudo updatedb
then locate softphone.jar.

It will show you where it is on your install. It's slick, you'll love
it! cd to that directory and then type
java -jar softphone.jar
But, I've seen java sound demo always work when softphone fails though.
It seems it cannot find your device. I assume that otherwise you have
sound?

Are you running Oracle Java or Iced Tea Open JDK? Oracle Java is what
works for me.
http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html

If you are running OpenJTK and wish to install Oracle, delete
~/.wonderland* and ~/.java then rebuild. You might have gotten an
upgrade that changed things.
Reply all
Reply to author
Forward
0 new messages