<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:10pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hello,<br>
</p>
<p><br>
I'm trying to implement ICE restarts with gstreamer's webrtcbin. The thing I can't seem to figure out is how to get libnice to gather local candidates again. Or is this not supposed to happen?<br>
</p>
<p><br>
</p>
<p>As it stands, I:</p>
<p><br>
</p>
<p>- successfully generate a session description with new ufrag and pwd<br>
</p>
<p>- set-local-description on webrtcbin<br>
</p>
<p>- detect the changed credentials in GstWebRTCICEStream<br>
</p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 13.3333px; background-color: rgb(255, 255, 255);">- invoke nice_agent_set_local_credentials</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 13.3333px; background-color: rgb(255, 255, 255);">​</span><br>
</p>
<p>- invoke nice_agent_restart_stream<br>
</p>
<p>- incidentally invoke nice_agent_gather_candidates (again)<br>
</p>
<p><br>
</p>
<p>However, no candidates appear to be added after this point. Is there something I'm missing?<br>
</p>
<p><br>
</p>
<p>When I connect this to a simple-peer based WebRTC application, and restart a successful connection, only the simple-peer side sends new candidates, and the connection eventually progresses to "disconnected" and ultimately "failed". <span style="font-size: 10pt;">I'm
 not sure if I'm just missing something from the gstreamer side, or if libnice is supposed to provide new candidates after a restart.</span></p>
<p><span style="font-size: 10pt;"><br>
</span></p>
<p><span style="font-size: 10pt;">Any and all guidance is welcome.​</span></p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<font size="2"><span style="color:rgb(33,33,33); background-color:rgb(255,255,255)"><font style="">Zachary Hueras</font></span>
</font>
<div style=""><font size="2" style="">Principal Software Engineer<br style="color:rgb(33,33,33); background-color:rgb(255,255,255)">
<span style="color:rgb(33,33,33); background-color:rgb(255,255,255)">AMD Global Telemedicine, Inc.</span><br style="color:rgb(33,33,33); background-color:rgb(255,255,255)">
<span style="color:rgb(33,33,33); background-color:rgb(255,255,255)">Cell : 978-660-3812</span><br style="color:rgb(33,33,33); background-color:rgb(255,255,255)">
<span style="color:rgb(33,33,33); background-color:rgb(255,255,255)">zhueras@amdtelemedicine.com</span><br style="color:rgb(33,33,33); background-color:rgb(255,255,255)">
<a tabindex="0" href="http://www.amdtelemedicine.com/" target="_blank" style="background-color:rgb(255,255,255)" id="NoLP">www.amdtelemedicine.com</a><span style="color:rgb(33,33,33); background-color:rgb(255,255,255)"> | Follow us on LinkedIn</span></font></div>
</div>
</div>
</body>
</html>