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

Michal Sledz michal.sledz at swmansion.com
Wed Aug 26 17:25:08 UTC 2020


Thanks for the response! I've created an issue here
https://gitlab.freedesktop.org/libnice/libnice/-/issues/120

Best regards
Michał

śr., 26 sie 2020 o 18:55 Olivier Crête <olivier.crete at collabora.com>
napisał(a):

> 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
> <https://libnice.freedesktop.org/libnice/NiceAgent.html#NICE-COMPONENT-STATE-FAILED:CAPS>
> until nice_agent_peer_candidate_gathering_done()
> <https://libnice.freedesktop.org/libnice/NiceAgent.html#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 list
>
> nice 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/9907b03e/attachment.htm>


More information about the nice mailing list