<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
<div style="color: rgb(0, 0, 0);">
<div id="divRplyFwdMsg" dir="ltr">
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p></p>
<p>Dear libnice users,</p>
<p><br>
</p>
<p>Today I'm starting with PJSIP, ICE and STUN, fixing bugs in a project of a intercom that uses SIP to communicate with remote devices running softphones.</p>
<p><br>
</p>
<p>The part of SIP is running by PJSIP, PJNATH, PJMEDIA, etc. Due to the hardware characteristics, GSTreamer is being used in the same project to deal with audio and video streams. In this case, socket file descriptors, defined by PJNATH is passed to the GStreamer.
 So, it is not pjsip that works as a media streamer. Then, we have ICE and GStreamer concurrent threads using a same socket. It is causing many problems and then I have just discovered libnice, that
<span>has been designed to nice integrate with GStreamer</span>. So, my beginner questions are:</p>
<p><br>
</p>
<p>1 - Can PJSIP works (integrates) well with libnice, in case I decide to remove the current ICE and STUN implementations and start using libnice?</p>
<p><br>
</p>
<p>2 - If yes and if someone here has already implemented such idea, what should I do? That is, should I remove PJNATH and introduce libnice in my project or something like that?</p>
<p><br>
</p>
<p>3 - It it is possible to work with PJSIP integrated with libnice, have I to remove PJMEDIA too?<br>
</p>
<p><br>
</p>
<p>I have already found <a previewremoved="true" id="LPlnk693187" href="https://nice.freedesktop.org/wiki/" class="OWAAutoLink">
https://nice.freedesktop.org/wiki/</a> , but before to start reading the documentation I'm just wondering if there is some special attention that I have to pay while working with PJSIP and libnice.<br>
<br>
</p>
<br>
<p><br>
</p>
<p>Any hint will be very helpful!</p>
<br>
<p></p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: +55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>