[Nice] Various questions related to the api

Olivier Crête olivier.crete at collabora.co.uk
Fri Nov 16 06:55:31 PST 2007


On Fri, 2007-16-11 at 12:54 +0200, Kai.Vehmanen at nokia.com wrote:
> Hi,
> 
> On 15 nov 2007,  Olivier Crête wrote:
> >In Farsight 2, I have a _add_candidate() and a 
> >_candidates_added() API, would that be enough?
> 
> I guess the only problem is how to update info for already
> added candidates. 
> 
> Btw, in the design doc, I had written this:
> http://people.collabora.co.uk/~kvehmane/nice/docs/design.txt
> ""- To use the "dribble" mode, client first has to initialize the stream with
>   calling nice_agent_set_remote_candidates() with an empty set of 
>   candidates, and then start adding new remote candidates with 
>   nice_agent_add_remote_candidate().
>      - XXX: initial plan, needs review...""

I read this, but I didn't like the idea of calling set() with an empty
list, it doesn't feel like a nice API. What about just calling add()
again with the same candidate (ie one that has the same ID) ?

-- 
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: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/nice/attachments/20071116/16f9f90e/attachment.pgp 


More information about the Nice mailing list