<div dir="ltr">Why there is even no STUN connection debug messages, as I suppose there must be some...<br>Regards, Max.</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/22 íÁËÓÉÍ åÒ£ÍÅÎËÏ <span dir="ltr"><<a href="mailto:maksyarik@gmail.com" target="_blank">maksyarik@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm back<div>got 77.72.174.163 ip from pingingš<span style="line-height:16px;font-size:12px;white-space:pre-wrap;font-family:Consolas,'Liberation Mono',Courier,monospace"><a href="http://stun.ekiga.net" target="_blank">stun.ekiga.net</a></span><br>

set NICE_DEBUG=all in VC++ project's enviroment<br>now got this in console:</div><div><br><div>** (Nice.exe:17136): DEBUG: Using stun server '[77.72.174.163]:3478'</div><div><br></div><div>** (Nice.exe:17136): DEBUG: Agent 01228E68 : allocating stream id 1 (0122C010)</div>

<div>** (Nice.exe:17136): DEBUG: Agent 01228E68 : In ICE-FULL mode, starting candidat</div><div>e gathering.</div><div>** (Nice.exe:17136): DEBUG: Agent 01228E68 : libnice compiled without UPnP suppo</div><div>rt</div><div>

** (Nice.exe:17136): DEBUG: Agent 01228E68: Candidate gathering FINISHED, no sch</div><div>eduled items.</div><div>** (Nice.exe:17136): DEBUG: SIGNAL candidate gathering done</div><div><br></div><div>Copy this line to remote client:</div>

<div><br></div><div><br></div><div>Enter remote data (single line, no wrapping):</div><div>> ** (Nice.exe:17136): DEBUG: waiting for candidate-gathering-done signal...</div></div></div><div class="HOEnZb"><div class="h5">
<div class="gmail_extra"><br><br>
<div class="gmail_quote">2013/12/14 Youness Alaoui <span dir="ltr"><<a href="mailto:kakaroto@kakaroto.homelinux.net" target="_blank">kakaroto@kakaroto.homelinux.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div>Can you set the NICE_DEBUG environment variable to "all" and post your log, it might help figure out why there is no candidates.<br></div><div>For STUN, it has to be the IP address of the stun server, not the domain name, so resolve the stun server manually and use the IP address, otherwise it won't work.<br>


</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 13, 2013 at 10:14 AM, íÁËÓÉÍ åÒ£ÍÅÎËÏ <span dir="ltr"><<a href="mailto:maksyarik@gmail.com" target="_blank">maksyarik@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello everybody.<br>I'm trying to make work some examples šfrom libnice examples folder under win32, compiling via express VC++ 2010. After some struggling I succesfully compiled šsdp-example, and then, after stumbling on some unworkability I moved to simple-example, but on testing encounter the same problem.<br>



<br><div>Problem that I'm encounter is about Candidates. They are simply absent.<br>I mean that there is no candidates at all, not in sdp string (64encoded or decoded), creating in sdp-example, nor in string, created by print_local_data in simple-example;<br>



in fact in simple-example inš<br></div><div><div>cands = nice_agent_get_local_candidates(agent, stream_id, component_id);</div><div>š if (cands == NULL)</div><div>š š goto end;</div><div>"cands" is == NULL and function goes to end and prints empty string. (The same NULL candidates thing is happening in sdp-example, as I get it, instead of empty string, sdp-example prints a string without Cands in it - not much better)<br>



<br>Another one thing, that i mentioned, thatš<br>g_debug("SIGNAL candidate gathering done\n"); and the string to copy and paste in my case printed BEFOREš<br>g_debug("waiting for candidate-gathering-done signal...");<br>



It seems that candidate gathering is just instant without any delay to wait.<br><br>As STUN server I'm usingš<a href="http://stun.stunprotocol.org" target="_blank">stun.stunprotocol.org</a> (start params: "1š<a href="http://stun.stunprotocol.org" target="_blank">stun.stunprotocol.org</a>" , maybe I messed up something here?) and get printed that using [<a href="http://stun.stunprotocol.org" target="_blank">stun.stunprotocol.org</a>]:3478.<br>



And if i jsut put here some stuff that makes no sence insted of <a href="http://stun.stunprotocol.org" target="_blank">stun.stunprotocol.org</a>, yet no "trying to connect" delay, or failed-to-connect-something, is there must be one, or not?<br>



<br>Hope that I'm just loosing something pretty simple.<br>Thx in advance, Max.</div><br><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>