[libnice] Connection problem in the latest Libnice version

Philip Withnall philip at tecnocode.co.uk
Tue Mar 10 03:27:41 PDT 2015


Hi,

On Tue, 2015-02-24 at 15:18 +0000, Jagannath Panda wrote:


> We are evaluating Libnice for some P2P application on Windows
> platform.
> I am able use the 0.1.5 version for P2P communications. But when I use
> latest Libnice 0.1.10, the peers are not able to connect.
> 
> The ICE candidates generated from these versions are quite different
> in 
> exact same system. Below are the candidates from both versions. Is
> there 
> any issue in the candidate gathering in my environment with the latest
> version?
> Or do I need to do anything different in the Libnice intialization
> program for  
> the new version?

You shouldn’t need to do anything different for the two versions, but
without seeing your code or a full log it’s quite hard to know what’s
wrong.

> Candidate gathered by Libnice 0.1.5
> zixa SRVTatDcDJH8AV1wPL3YkU 1,2013266431,192.168.2.106
> ,53771,host 2,2013266431,192.168.33.1,53772,host
> 3,2013266431,192.168.220.1,5377
> 3,host 4,1677721855,117.197.247.202,53771,srflx
> 
> Candidate gathered by Libnice 0.1.10
> kYwt Th9LeMy75eDkUMjXjOF3kf 1,1006633471,192.168.2.106
> ,53148,host 2,2025849343,192.168.2.106,0,host
> 3,2021655039,192.168.2.106,57493,h
> ost 4,1006633471,fe80::35c4:4a6c:820e:cabd,53149,host
> 5,2025849343,fe80::35c4:4a
> 6c:820e:cabd,0,host 6,2021655039,fe80::35c4:4a6c:820e:cabd,57494,host
> 7,10066334
> 71,fe80::3152:4ae6:98:6223,53150,host
> 8,2025849343,fe80::3152:4ae6:98:6223,0,hos
> t 9,2021655039,fe80::3152:4ae6:98:6223,57495,host
> 10,1006633471,192.168.220.1,53
> 151,host 11,2025849343,192.168.220.1,0,host
> 12,2021655039,192.168.220.1,57496,ho
> st 13,1006633471,fe80::5029:f9e0:d7f5:1798,53152,host
> 14,2025849343,fe80::5029:f
> 9e0:d7f5:1798,0,host
> 15,2021655039,fe80::5029:f9e0:d7f5:1798,57497,host 16,10066
> 33471,192.168.33.1,53153,host 17,2025849343,192.168.33.1,0,host
> 18,2021655039,19
> 2.168.33.1,57498,host 19,838861311,117.197.247.202,53148,srflx
> 20,1686110719,117
> .197.247.202,0,srflx 21,1681916415,117.197.247.202,57493,srflx

Sorry, that output is incomprehensible to me. Can you please provide a
full log gathered by running your program with environment variables
G_MESSAGES_DEBUG=all NICE_DEBUG=all?

Thanks,
Philip

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/nice/attachments/20150310/42e5ef8f/attachment.sig>


More information about the nice mailing list