[jitsi-dev] Wrong address announced in SDP/Candidates


#1

I have Jitsi behind a NAT with open ports. I am setting this in config.

org.jitsi.videobridge.NAT_HARVESTER_LOCAL_ADDRESS=68.96.100.100
org.jitsi.videobridge.NAT_HARVESTER_PUBLIC_ADDRESS=192.168.0.5

Jitsi announces this in the log, but still announces the local IP in the SDP.

Oct 30, 2016 6:26:56 PM org.jitsi.util.LoggerImpl log
INFO: org.jitsi.videobridge.NAT_HARVESTER_PUBLIC_ADDRESS=68.96.100.100
Oct 30, 2016 6:26:56 PM org.jitsi.util.LoggerImpl log
INFO: org.jitsi.videobridge.NAT_HARVESTER_LOCAL_ADDRESS=192.168.0.5

Any idea?


#2

Yep, this is how it currently works. This way clients that happen to
be in the same network with the bridge can connect directly to private
address.

···

On Sun, Oct 30, 2016 at 8:31 PM, Oliver Hausler <oliver@closeup.cc> wrote:

Jitsi announces this in the log, but still announces the local IP in the
SDP.


#3

[oops, private an public IPs are switched below, but they are not, it happen while editing, so this is not the problem]

···

From: dev [mailto:dev-bounces@jitsi.org] On Behalf Of Oliver Hausler
Sent: Sunday, October 30, 2016 18:32
To: Jitsi Dev Mailinglist (dev@jitsi.org) <dev@jitsi.org>
Subject: [jitsi-dev] Wrong address announced in SDP/Candidates

I have Jitsi behind a NAT with open ports. I am setting this in config.

org.jitsi.videobridge.NAT_HARVESTER_LOCAL_ADDRESS=68.96.100.100
org.jitsi.videobridge.NAT_HARVESTER_PUBLIC_ADDRESS=192.168.0.5

Jitsi announces this in the log, but still announces the local IP in the SDP.

Oct 30, 2016 6:26:56 PM org.jitsi.util.LoggerImpl log
INFO: org.jitsi.videobridge.NAT_HARVESTER_PUBLIC_ADDRESS=68.96.100.100
Oct 30, 2016 6:26:56 PM org.jitsi.util.LoggerImpl log
INFO: org.jitsi.videobridge.NAT_HARVESTER_LOCAL_ADDRESS=192.168.0.5

Any idea?


#4

Yes, but shouldn't I see the public IP as well?

Jitsi only gathers 4 candidates and these are all for the private IP, so it won't work for external clients.

···

-----Original Message-----
From: dev [mailto:dev-bounces@jitsi.org] On Behalf Of Damian Minkov
Sent: Sunday, October 30, 2016 20:48
To: Jitsi Developers <dev@jitsi.org>
Subject: Re: [jitsi-dev] Wrong address announced in SDP/Candidates

On Sun, Oct 30, 2016 at 8:31 PM, Oliver Hausler <oliver@closeup.cc> wrote:

Jitsi announces this in the log, but still announces the local IP in
the SDP.

Yep, this is how it currently works. This way clients that happen to be in the same network with the bridge can connect directly to private address.

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#5

Yes, you should see candidates with both addresses. Do you see anything related in the bridge's logs?

Regards,
Boris

···

On 30/10/16 23:55, Oliver Hausler wrote:

Yes, but shouldn't I see the public IP as well?

Jitsi only gathers 4 candidates and these are all for the private IP, so it won't work for external clients.


#6

Very strange, but it suddenly worked after restarting my machine.
Even more strange, that it correctly showed up in the log.

I had a local route set from my Windows machine to the router, so that I could Wireshark packets (as Windows won't send them through the whole TCP/IP stack if both client and server run on the same interface). Windows deleted the route during the restart, so I assume this was the issue that the harvester didn't properly find the interfaces.

For me it's solved. I only wanted to comment in case somebody comes across the same issue.

···

-----Original Message-----
From: dev [mailto:dev-bounces@jitsi.org] On Behalf Of Boris Grozev
Sent: Monday, October 31, 2016 08:06
To: Jitsi Developers <dev@jitsi.org>
Subject: Re: [jitsi-dev] Wrong address announced in SDP/Candidates

On 30/10/16 23:55, Oliver Hausler wrote:

Yes, but shouldn't I see the public IP as well?

Jitsi only gathers 4 candidates and these are all for the private IP, so it won't work for external clients.

Yes, you should see candidates with both addresses. Do you see anything related in the bridge's logs?

Regards,
Boris

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev