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

Michal Sledz michal.sledz at swmansion.com
Wed Aug 26 16:48:19 UTC 2020


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ł
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nice/attachments/20200826/ac73634f/attachment.htm>


More information about the nice mailing list