[libnice] Does libnice require client to support ICE?

Tom Chen chentom60 at hotmail.com
Thu Dec 1 22:58:26 UTC 2016


Olivier,


If remote side does not support ICE, after I called nice_agent_set_selected_remote_candidate() to set remote stream IP and port number, does libnice still use external STUN or TURN server to send?

I hope so as the phone might be behind firewall, so if users set stun_server_ip/port in NiceAgent, then the agent should use no matter it is necessary or not.

Tom
________________________________
From: Olivier CrĂȘte <olivier.crete at collabora.com>
Sent: Thursday, December 1, 2016 8:56 AM
To: Tom Chen; nice at lists.freedesktop.org
Subject: Re: [libnice] Does libnice require client to support ICE?

Hi,

In this case, you call nice_agent_set_selected_remote_candidate() with the address the c= line and the port on the m= in the candidate and it will disable all ICE processing and just send to that ip/port. You need to do it for both RTP and RTCP components.

On Thu, 2016-12-01 at 16:09 +0000, Tom Chen wrote:

I am developing a VoIP application using libnice, I am wondering if the client side does not support ICE, ie, there is no remote candidate in client's SDP, can libnice still make the phone call work?

--

Olivier CrĂȘte olivier.crete at collabora.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nice/attachments/20161201/ee9e0f7c/attachment-0001.html>


More information about the nice mailing list