<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">>Yes, you also need to call nice_agent_get_local_credentials() to get your local<br>>credentials (username/password) and call nice_agent_set_remote_credentials()<br>
>after the remote user/pass gets exchanged.<br>>And yeah, sorry, I forgot to add those to the example code.<br>>Don't forget that you also need to call the nice_agent_attach_recv() method to<br>>make sure you receive data (such as the STUN response in the candidate gathering<br>
>phase).<br>>There are other things you might want to do, make sure you read the gtk-doc of<br>>the library and understand what each method is and what it's meant for.<br></blockquote><div><br></div><div>What service are these credentials for? Does the Stun server need login credentials?</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">>> Now all I need to know is how you serialize whatever data is returned in<br>>> that GSList*, so I can transmit it. :) I think I'm starting to get this...<br>
<br>
</div>>well, the serialization, if I understand what you mean, is how you send the<br>>candidates to the other side, right ?<br>>In that case, that's not part of the ICE methodology.. you can 'serialize' the<br>
>candidates/user/pass any way you want.. one method is to put it in the SDP of a<br>>SIP invite. You can also send it as an XML using Jingle's XEP over an XMPP<br>>connection.. it really all depends on what protocol is being used to connect to<br>
>the server (SIP, XMPP, custom, other...). I'll let you decide on the best way to<br>>do that.<br>>But I'm curious, what is it exactly you're trying to achieve with libnice? What<br>>application are you working on? and what protocol is being used behind it ?<br>
</blockquote><div><br>I looked into GSList a bit and found a singly linked structure with a "gpointer" member for the data. In this case, are these instances of the "NiceCandidate" struct being returned to me? </div>
<div><br></div><div>Right now I'm just in the research phase. My goal is a custom client & server that enables some remote administration features for my companies range of products... Of course, there are a million more ideas this enables!</div>
<div><br></div><div> td</div></div>