Spark

Cannot bind Jingle on Vista

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.5.1
  • Fix Version/s: 2.5.1
  • Component/s: Jingle
  • Acceptance Test - Add?:
    No
  • Description:
    Hide

    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)

    Show
    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

Hide
Thiago Rocha Camargo added a comment - 04/07/07 02: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.

Show
Thiago Rocha Camargo added a comment - 04/07/07 02: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.

People

Dates

  • Created:
    04/07/07 01:40 AM
    Updated:
    04/07/07 02:14 AM
    Resolved:
    04/07/07 02:14 AM