[Nice] integrating nice to another project

Youness Alaoui youness.alaoui at collabora.co.uk
Sat May 19 13:16:37 PDT 2012


I'm not exactly sure why you're doing this, libnice is meant to create peer to
peer connections, it's not meant to be used on a server that proxies data
between two peers.
Either way, no, the component_state_changed only gets fired when the state of
the agent changes, so once it goes into READY, it won't get fired again. You
should start your own proxying system only after the state goes to READY.

Hope that helps,

On 05/18/2012 11:08 PM, Federico Kouyoumdjian wrote:
> We are trying to integrate nice to another project.
> We have a socket in which we read data when the state of nice is
> NICE_COMPONENT_STATE_READY. Then we send the data read in the socket to another
> nice agent with the function nice_agent_send.
> Our doubt is what happens if no data is available in the sockt to send. If we
> don't call the function nice_agent_send (because there is no data available to
> send) can we count that cb_component_state_changed will fire again with the
> Thanks for the help.
> _______________________________________________
> nice mailing list
> nice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nice

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/nice/attachments/20120519/39810bae/attachment.pgp>

More information about the nice mailing list