[Nice] SIP forking?

Olivier Crête olivier.crete at collabora.co.uk
Tue Jun 24 13:03:36 PDT 2008


On Tue, 2008-06-24 at 10:02 +0300, Kai.Vehmanen at nokia.com wrote:
> On 19 June 2008,  Olivier Crête wrote:
> >Or would be call set_remote_candidates() with one set of candidates...
> >and then if its not the one that's chosen, do a ICE restart 
> >and re-set the candidates from the chosen partner?
> I'd prefer this option (at start anyways). It's simple 
> and stupid, and considering ICE is still very new technology (with
> a lot of interoperability testing ahead), overengineering 
> is a real danger.

I guess this is easy to implement, and it means we don't need a new nice
API. And in Fs2 I just need to add a ice restart api (that I've always
been a bit shy to add it since it's so ICE specific, but I guess there
is no way around it).

> For proper (= ability to perform connectivity checks, in
> _parallel_, with multiple remote agents) forking support,
> I have been thinking about an API to fork the NiceAgent
> itself. Client would use the NiceAgent normally until it gets
> an answer from a forked remote instance. At this point it would
> use a new interface call to fork the NiceAgent instance, set new
> remote credentials and set of remote candidates for it. The forked
> NiceAgent would still be connected to its parent (as they
> share sockets), but rest of the state would be totally 
> isolated. Also from client application perspective, the two 
> NiceAgent instances would be seperate. With this clear split,
> handling cases where some forked sessions support ICE, while
> some don't, are handled naturally without any extra effort.

This seems like the right way forward from a libnice point of view
(although it will make the API on the Farsight side of thing more
painful unless we expose an ICE object somehow. But I guess this will
wait for a later version of nice and Fs2.2

Olivier Crête
olivier.crete at collabora.co.uk
Collabora Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/nice/attachments/20080624/6c2b4646/attachment.pgp 

More information about the Nice mailing list