[Nice] Can't get TURN candidates

Isaline LAURENT zax337 at gmail.com
Fri Jun 28 07:54:10 PDT 2013


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.

Isaline


2013/6/28 Isaline LAURENT <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 help.
>
> Isaline
>
>
> 2013/6/27 Youness Alaoui <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
>> server
>> 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
>> server
>> wile setting libnice compatibility to google mode.
>>
>> I hope this helps,
>> Youness.
>>
>> 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
>> examples/),
>> > 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
>> > http://lists.freedesktop.org/mailman/listinfo/nice
>> >
>>
>>
>>
>> _______________________________________________
>> nice mailing list
>> nice at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/nice
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nice/attachments/20130628/338b5b58/attachment.html>


More information about the nice mailing list