<div dir="ltr"><div><div><div><div id="gmail-m_8006532576851318453gmail-:os"><div id="gmail-m_8006532576851318453gmail-:mu"><div dir="ltr"><div>When
 Firefox browser wants to send candidates to the webrtcbin peer, it 
calls a custom js method passing an "event" argument to it. The custom 
method must send this information to the peer. The event has a single 
field "event.candidate" with a value as:</div><div><br></div><div><span style="font-family:monospace"><span><span><span><span>event.candidate = {<span><span><span><span> "sdpMLineIndex":0,"</span></span></span></span></span></span></span></span></span></div><div><span style="font-family:monospace"><span><span><span><span>  "candidate":"candidate:8 2 TCP 847249918 88.6.179.119 9 typ srflx raddr 192.168.1.12 rport 9 tcptype active"}</span></span><span><span><a href="http://localhost:8080/llocer/js/utils.js" target="_blank"><span title="View source in Debugger → http://localhost:8080/llocer/js/utils.js:17:13"><span></span></span></a></span></span></span></span></span></div><div><br></div><div>At the end, to inform there are no more candidates, Firefox does another call to the same method with event.candidate=undefined</div><div><br></div><div>In
 the other side, webrtcbin (Java API) offers the method 
"WebRTCBin.addIceCandiate( int sdpM. String candidate ) to inform the 
plugin about the remote candidates. In the normal case is easy map 
firefox event.candidate information to these arguments. However, no idea
 of to handle the end one. <br></div><div><br></div><div>A call WebRTCBin.addIceCandidate(0, null) produces an assertion failed in libnice (when its trace is active).<br></div><div><br></div><div><b>How to handle in WebRTCBin (Java API) the case of final remote candidate ?</b></div><div><br></div><div>Thanks,</div></div></div></div></div></div></div><div style="width:1037px"><div><div><div><div><div><div id="gmail-m_8006532576851318453gmail-:3" style="height:465px"><div id="gmail-m_8006532576851318453gmail-:1" style="min-height:275px"><div><div><div><table cellpadding="0"><tbody><tr><td><br></td><td><br></td><td><div style="width:1037px"><div><div><div><div><div><div id="gmail-m_8006532576851318453gmail-:3" style="height:465px"><div id="gmail-m_8006532576851318453gmail-:1" style="min-height:275px"><div><div><div><table cellpadding="0"><tbody><tr><td><br></td><td><br></td><td><br></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></div>