[Nice] Can't get TURN candidates
youness.alaoui at collabora.co.uk
Tue Jul 30 19:12:08 PDT 2013
Good, well I'm glad it's working now. It's weird though since it should always
As for your logs, unfortunately, because of lack of time, I didn't get the
chance to look at them, but you shouldn't be seeing allocation requests with
stun.. stun will only do binding request/response, and allocation requests are
only for TURN.
If you use google compatibility mode, it means you're using google turn servers,
otherwise it wouldn't work.
Having no response from the TURN server probably means that either it's
unreachable (wrong IP address/port?) or that it's ignoring your requests for
some reason. There's not much help I can give you without more information on
the server, and I'd suggest looking at the logs of the turn server directly and
maybe using wireshark there as well to make sure it is receiving the requests.
Good luck with your project,
On 06/28/2013 10:54 AM, Isaline LAURENT wrote:
> Well, this is a bit weird, but it seems to work now..
> I don't really know what made the trick, I only redo all what I tried before.
> Perhaps activating gupnp ?
> Thank you, anyway.
> 2013/6/28 Isaline LAURENT <zax337 at gmail.com <mailto:zax337 at gmail.com>>
> Hi Youness,
> Thanks for your answer.
> The wiresharks captures are quite relevant (well, I guess) :
> * with the stun : 1. binding request, 2. allocation request, 3. binding
> response, 4. 5. 6. : allocate requests.
> * with the turn : 1. binding request, 2. allocation request.. and the
> same three times more, but no response from the turn.
> I already changed the compatibility to google mode for the stun, as it
> didn't work with the RFC compliant at first.
> The basic application works with libjingle. I have no more information about
> the compatibility..
> I didn't set up the server, and nobody seems to be able to answer this
> question at work. ;)
> I join the two output of the simple-example (with stun and turn), if it can
> 2013/6/27 Youness Alaoui <youness.alaoui at collabora.co.uk
> <mailto:youness.alaoui at collabora.co.uk>>
> Hi Isaline,
> Sorry for the late response. I've been on vacation/away for a while.
> In case you still haven't fixed your issue, could you tell me what TURN
> you're using? Do you have a wireshark capture and what kind of
> requests/responses do you see? Also, you can enable libnice logging with the
> environment variable NICE_DEBUG=all, it might help you track down the issue.
> My guess would be that you're using a turn server that is incompatible
> with the
> ICE mode that you are using.. for example, using an RFC-compliant TURN
> wile setting libnice compatibility to google mode.
> I hope this helps,
> On 06/21/2013 06:45 AM, Isaline LAURENT wrote:
> > Hi,
> > I'm using libnice for a project, and it works fine with a stun server.
> > Nevertheless, when I try to use a turn, I only get the local candidate.
> > To make the problem simplier, I tried with the "simple-example" (in
> > which works fine with the stun too, but same problem with the turn.
> > I added a "nice_agent_set_relay_info" just after adding the stream,
> but nothing
> > more happens.
> > I know the turn server is ok because we use it for other purpose.
> > Is there something I miss ?
> > Many thanks.
> > Isaline
> > _______________________________________________
> > nice mailing list
> > nice at lists.freedesktop.org <mailto:nice at lists.freedesktop.org>
> > http://lists.freedesktop.org/mailman/listinfo/nice
> nice mailing list
> nice at lists.freedesktop.org <mailto:nice at lists.freedesktop.org>
> nice mailing list
> nice at lists.freedesktop.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 263 bytes
Desc: OpenPGP digital signature
More information about the nice