[jitsi-dev] jvb ice4j remote candidates fail


#1

Using trickle ICE to add candidates from chrome to the jitsi videobridge.

(For testing purpsoes I removed all the candidates from the jitsi sdp offer)

However ice4j seems to fail on those remote candidates and jitsi can’t connect to the client. Any insights what I might be doing wrong?

JVB 2016-09-13 18:23:54.643 FINE: [65] org.ice4j.stack.StunClientTransaction.sendRequest() sending STUN tid 0x930A4B265701DE4515A805D0 from 10.30.1.89:10000/udp to 10.30.1.89:57512/udp

JVB 2016-09-13 18:23:54.644 INFO: [65] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 10.30.1.89:10000/udp/host -> 10.30.1.89:57512/udp/host (stream.RTP)

Thanks

-andi


#2

After debugging ice4j I was able to see that ConnectivityClientCheck.java #315

        stunStack.sendRequest(
request,
candidatePair
.getRemoteCandidate().getTransportAddress(),
localCandidate.getBase().getTransportAddress(),
this,
tran,
originalWaitInterval,
maxWaitInterval,
maxRetransmissions);

will throw this exception:

java.lang.IllegalArgumentException: No socket found for 192.168.6.221:10000/udp->192.168.6.221:52301/udp

···

Gesendet: Dienstag, 13. September 2016 um 18:31 Uhr

Von: dr.andreas.rice@gmx.net

An: dev@jitsi.org

Betreff: jvb ice4j remote candidates fail

Using trickle ICE to add candidates from chrome to the jitsi videobridge.

(For testing purpsoes I removed all the candidates from the jitsi sdp offer)

However ice4j seems to fail on those remote candidates and jitsi can’t connect to the client. Any insights what I might be doing wrong?

JVB 2016-09-13 18:23:54.644 INFO: [65] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 10.30.1.89:10000/udp/host -> 10.30.1.89:57512/udp/host (stream.RTP)

Thanks

-andi


#3

This doesn't seem right. A socket should have been added when the candidate was discovered as a peer reflexive candidate. Can you post the stack trace of the exception and the full logs from the bridge?

Boris

···

On 14/09/16 08:24, dr.andreas.rice@gmx.net wrote:

After debugging ice4j I was able to see that
ConnectivityClientCheck.java #315

stunStack.sendRequest(
        request,
        candidatePair
            .getRemoteCandidate().getTransportAddress(),
        localCandidate.getBase().getTransportAddress(),
        this,
        tran,
        originalWaitInterval,
        maxWaitInterval,
        maxRetransmissions);

will throw this exception:

java.lang.IllegalArgumentException: No socket found for
192.168.6.221:10000/udp->192.168.6.221:52301/udp