[Nice] Making sense of it all...
Youness Alaoui
youness.alaoui at collabora.co.uk
Thu Aug 19 16:26:31 PDT 2010
Hi Tony,
I think you're misunderstanding how this all works. The STUN server doesn't act
as a relay, all it does is let you punch a hole in your router's NAT, so when
you receive packets from the peer, it gets through.
You might want to have a look at my presentation for last year's GUADEC :
http://people.collabora.co.uk/~kakaroto/libnice-talk-gcds2009.pdf
It doesn't explain everything, but you can probably follow up on what it all
means. Unfortunately, the video of my talk is missing, so I can't show you that.
About having the simplest example, look at the documentation of libnice, there
is an example code on the description section of the NiceAgent :
http://nice.freedesktop.org/libnice/NiceAgent.html#NiceAgent.description
Youness.
On 08/19/2010 05:39 PM, Tony Di Croce wrote:
> I'm just getting started in learning about libnice and Stun and
> everything and I have what I believe is a simple question.
>
> How does the stun server know who I am talking about?
>
> For example, if I know that an endpoint is connected to a particular
> stun server, how do I query that stun server for that endpoint? Do
> endpoints register some kind of name with the stun server?
>
> Also, are there any simple examples? A useful example would be the
> worlds simplest chat client.. If such a thing doesn't exist, I'll
> volunteer to write it once I know what I'm doing! Thanks in advance for
> any help.
>
> td
>
>
>
> _______________________________________________
> Nice mailing list
> Nice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nice
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/nice/attachments/20100819/c5e8e07d/attachment.pgp>
More information about the Nice
mailing list