[libnice] Ice-tcp in libnice

Radosław Kołodziejczyk radek.kolodziejczyk at gmail.com
Fri Aug 22 01:33:51 PDT 2014


Ok, thank you all for the clarification. I'll go back to the tests with
this knowledge and in case I'll confirm the behaviour I'll submit a proper
bug report.

Kind regards,
Radosław Kołodziejczyk.


2014-08-21 19:42 GMT+02:00 Youness Alaoui <kakaroto at kakaroto.homelinux.net>:

> 1 - Make sure you set the ice-udp to false before gathering candidates.
> Then there is no way for it to be using pseudotcp. Don't forget that TCP
> connectivity has a much lower success rate than if you use UDP. We also
> don't yet support TCP-SO candidate types which would increase the success
> rate.
> 2 - No, it should just work, if you don't use a reliable agent, then even
> over TCP, packets may be dropped, if you use a reliable agent, then the
> whole reliable-transport-writable signal and return value of
> nice_agent_send need to be taken into account, both udp and tcp are enabled
> by default, you can disable them by setting ice-udp or ice-tcp properties
> to false.
>
>
>
>
> On Thu, Aug 21, 2014 at 10:37 AM, Olivier Crête <
> olivier.crete at collabora.com> wrote:
>
>> Hi,
>>
>> On 08/20/2014 09:38 AM, Radosław Kołodziejczyk wrote:
>> > Hello,
>> >
>> > I've noticed you've implemented ice-tcp support in your git master
>> > branch. It looked
>> > very promissing to me as we need a reliable transport, so we've pulled
>> > the repo and
>> > built the code. Indeed it looks like more candidates are gathered, but
>> > when the
>> > agents connect the connection between them still runs on pseudotcp over
>> > udp. Even
>> > if I disable the ice-udp in the agent properties. So my questions are:
>> >
>> > 1. Should we, with this implementation, expect a pure tcp agent-agent
>> > connection?
>>
>> Yes, if use set ice-udp to False... If not, it's a bug! The ICE-TCP code
>> is very new, so there are certainly a number of bugs left in it. We
>> certainly apprpreciate your testing,
>>
>> > 2. Is there something "special" that needs to be set or done to agent to
>> > have it to use ice-tcp properly?
>>
>> There shouldn't be. I assume you're hitting a bug. Can you please file a
>> bug at https://bugs.freedesktop.org/enter_bug.cgi?product=nice and
>> attach a full log with G_MESSAGE_DEBUG=all NICE_DEBUG=all there ?
>>
>>
>> --
>> Olivier Crête
>> olivier.crete at collabora.com
>> _______________________________________________
>> 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/20140822/84a8f743/attachment-0001.html>


More information about the nice mailing list