[libnice] Can I use PJSIP and libnice?

Rodrigo Pimenta Carvalho pimenta at inatel.br
Fri Sep 30 20:45:28 UTC 2016

Dear libnice users,

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.

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 has been designed to nice integrate with GStreamer. So, my beginner questions are:

1 - Can PJSIP works (integrates) well with libnice, in case I decide to remove the current ICE and STUN implementations and start using libnice?

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?

3 - It it is possible to work with PJSIP integrated with libnice, have I to remove PJMEDIA too?

I have already found https://nice.freedesktop.org/wiki/ , 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.

Any hint will be very helpful!

Inatel Competence Center
Ph: +55 35 3471 9200 RAMAL 979
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nice/attachments/20160930/07c86ae7/attachment.html>

More information about the nice mailing list