<html><head></head><body><div>Hi,</div><div><br></div><div>This is not exactly according to the RFC, but you can set the "conncheck-keepalive" to TRUE on the agent, and then you can wait for the "component-state-changed" signal and it will say "failed".</div><div><br></div><div>Olivier</div><div><br></div><div><br></div><div>On Mon, 2017-03-20 at 12:32 -0500, Matt Pekar wrote:</div><blockquote type="cite"><div dir="ltr">I'm using libnice elements on one end of a Webrtc session and Chrome on the other. I'm doing what I can in Chrome to handle page closes and gracefully end NICE sessions in the signaling layer, but I'd like to make sure if the signaling layer fails I can have libnice cleanup.<div><br></div><div>In the API the closest thing I can see is nice_agent_get_component_state(), but it seems to continue to return "ready" as the state even after Chrome closes. </div><div><br></div><div>Is there a means in libnice to detect ICE peers closing?</div><div><br></div></div>
<pre>_______________________________________________
nice mailing list
<a href="mailto:nice@lists.freedesktop.org">nice@lists.freedesktop.org</a>
<a href="https://lists.freedesktop.org/mailman/listinfo/nice">https://lists.freedesktop.org/mailman/listinfo/nice</a>
</pre></blockquote><div><span><pre><pre>-- <br></pre>Olivier CrĂȘte
olivier.crete@collabora.com
</pre></span></div></body></html>