[libnice] "ice-trickle" option doesn't work?

Olivier Crête olivier.crete at collabora.com
Wed Aug 26 16:55:08 UTC 2020


Hi,
That sounds like a bug, do you mind filing it as https://gitlab.freedesktop.org/libnice/libnice/-/issues/new and attach the libnice log from the run (you can create it with G_MESSAGES_DEBUG=libnice
I think we're missing a unit test to validate this behaviour.
Thank you,
Olivier
On Wed, 2020-08-26 at 18:48 +0200, Michal Sledz wrote:
> Hi, 
> I have a small problem with the "ice-trickle" option. 
> I set it to TRUE and then passed a remote candidate on one of my peers.
> This triggered a connectivity check which failed and then, after a small timeout my component changed state to FAILED.
> I am not sure if this is proper behaviour. In documentation there is written: When TRUE, the agent will postpone changing a component state to
> NICE_COMPONENT_STATg_object_set(E_FAILED until nice_agent_peer_candidate_gathering_done()
> has been called with the ID of the component's stream.
> I didn't call nice_agent_peer_candidate_gathering_done so I suppose my component shouldn't change state.
> I set "ice-trickle" using nice_agent_new_full() as well as g_object_set().
> Am I missing something? 
> 
> Thanks in advance
> Michał
> 
> 
> _______________________________________________nice mailing listnice at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/nice
-- 
Olivier Crête
olivier.crete at collabora.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nice/attachments/20200826/538d3de7/attachment.htm>


More information about the nice mailing list