[libnice] Ice-tcp in libnice
kakaroto at kakaroto.homelinux.net
Thu Aug 21 10:42:55 PDT 2014
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
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
On Thu, Aug 21, 2014 at 10:37 AM, Olivier Crête <olivier.crete at collabora.com
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nice