Cannot bind Jingle on Vista

Description

I got these 2 errors related with jingle.

1- Jingle Initialization error
Initialized
java.net.BindException: Cannot assign requested address: Cannot bind
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82
)
at java.net.DatagramSocket.bind(DatagramSocket.java:368)
at java.net.DatagramSocket.<init>(DatagramSocket.java:210)
at java.net.DatagramSocket.<init>(DatagramSocket.java:261)
at de.javawi.jstun.test.demo.ice.Candidate.<init>(Candidate.java:53)
at de.javawi.jstun.test.demo.ice.ICENegociator.gatherCandidateAddresses(
ICENegociator.java:67)
at org.jivesoftware.smackx.jingle.nat.ICEResolver.initialize(ICEResolver
.java:67)
at org.jivesoftware.smackx.jingle.nat.TransportResolver.initializeAndWai
t(TransportResolver.java:384)
at org.jivesoftware.smackx.jingle.nat.ICETransportManager.<init>(ICETran
sportManager.java:36)
at org.jivesoftware.sparkplugin.JinglePlugin$1.construct(JinglePlugin.ja
va:98)
at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:129)
at java.lang.Thread.run(Thread.java:619)
1
Initializing...Resolved


2- Jingle Error trying to establish a communication
java.lang.Error: Error opening DSound for capture
javax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.dsound.DataSource : java.lang.Error
: Error opening DSound for capture
at javax.media.Manager.createDataSource(Manager.java:1017)
at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.createProcessor(AudioChannel.java:176)
at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.start(AudioChannel.java:117)
at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioMediaSession.startTrasmit(AudioMediaSession.java:92)
at org.jivesoftware.smackx.jingle.JingleSession.triggerSessionEstablished(JingleSession.java:1090)
at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Active.eventEnter(OutgoingJingleSession.java:438)
at org.jivesoftware.smackx.jingle.JingleNegotiator.setState(JingleNegotiator.java:137)
at org.jivesoftware.smackx.jingle.JingleSession.setState(JingleSession.java:327)
at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Pending.eventAck(OutgoingJingleSession.java:379)
at org.jivesoftware.smackx.jingle.JingleSession.dispatchIncomingPacket(JingleSession.java:415)
at org.jivesoftware.smackx.jingle.JingleSession.respond(JingleSession.java:484)
at org.jivesoftware.smackx.jingle.JingleSession$2.processPacket(JingleSession.java:912)
at org.jivesoftware.smack.PacketReader$ListenerWrapper.notifyListener(PacketReader.java:819)

Environment

Vista

Activity

Show:

Thiago Rocha Camargo April 7, 2007 at 7:14 AM

Bind Problem was solved doing a fix in JStun Library.

The DSound problem was fixed, changing to use javasound:// instead dsound:// in Vista.

Fixed

Priority

Assignee

Reporter

Affects versions

Fix versions

Components

Created April 7, 2007 at 6:40 AM
Updated April 7, 2007 at 7:14 AM
Resolved April 7, 2007 at 7:14 AM