[libnice] can we force to use ipv4 address as candidates?

Tom Chen chentom60 at hotmail.com
Fri Sep 11 13:12:51 PDT 2015


Ok, i understand. Thank you! 

Tom

From: philip at tecnocode.co.uk
To: chentom60 at hotmail.com; nice at lists.freedesktop.org
Date: Fri, 11 Sep 2015 20:03:27 +0100
Subject: Re: [libnice] can we force to use ipv4 address as candidates?

Why would you want to do that? If an IPv6 interface is available,
libnice should use it, otherwise you are potentially missing out on
connectivity.
 
You can set the local addresses manually by adding them using
nice_agent_add_local_address(), but that means you have to implement
interface detection yourself.
 
Philip
 
On Fri, 2015-09-11 at 09:59 -0700, Tom Chen wrote:
> 
> From: tchen at extron.com
> To: chentom60 at hotmail.com
> Subject: can we force to use ipv4 address as candidates?
> Date: Fri, 11 Sep 2015 16:55:47 +0000
> 
> Hello,
>  
> I run the simple-example tests and noticed that the after gathering
> candidates on both sides and connectivity check done, a pair of ipv6
> candidates are selected. Is it possible to choose ipv4 addresses
> only?
>  
> ** (process:22011): DEBUG: simple
> -example:cb_component_state_changed:SIGNAL: state changed 1 1
> ready[4]
> simple-example:cb_component_state_changed:Negotiation complete:
> local:([fe80::20c:29ff:fe34:d0c8]:35099,remote:
> [fe80::20c:29ff:fe34:d0c8]:34948)
>  
> Tom
> 
> 
> 
> Statement Of Confidentiality:
> 
> This electronic message transmission, and all attachments, contains
> information from Extron Electronics which is confidential and
> privileged. The information is for the exclusive viewing or use of
> the intended recipient. If you are not the intended recipient, be
> aware that any disclosure, copying, distribution or use of the
> contents of this information is prohibited. If you have received this
> electronic transmission in error, please notify the sender
> immediately by a "reply to sender only" message and destroy all
> electronic and hard copies of the communication, including
> attachments.
>  _______________________________________________
> nice mailing list
> nice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nice

_______________________________________________
nice mailing list
nice at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nice 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nice/attachments/20150911/52ebb8bf/attachment.html>


More information about the nice mailing list