<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Olivier,</p>
<p><br>
</p>
<p><span style="font-family: cantarell, sans-serif; font-size: 16px;">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? </span></p>
<p><span style="font-family: cantarell, sans-serif;">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. </span><br>
</p>
<br>
Tom<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Olivier Crête <olivier.crete@collabora.com><br>
<b>Sent:</b> Thursday, December 1, 2016 8:56 AM<br>
<b>To:</b> Tom Chen; nice@lists.freedesktop.org<br>
<b>Subject:</b> Re: [libnice] Does libnice require client to support ICE?</font>
<div> </div>
</div>
<div>
<div>Hi,</div>
<div><br>
</div>
<div>In this case, you call <span style="color:rgb(0,0,0); font-family:cantarell,sans-serif">
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.</span></div>
<div><br>
</div>
<div>On Thu, 2016-12-01 at 16:09 +0000, Tom Chen wrote:</div>
<blockquote type="cite">
<p>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?</p>
<p></p>
</blockquote>
<div><span>
<pre><pre>-- <br></pre>Olivier Crête
olivier.crete@collabora.com
</pre>
</span></div>
</div>
</div>
</div>
</body>
</html>