JSTUN vs PJNATH

I am going to write my own implementation of STUN in JavaScript (server side with NodeJS), and I am looking for the library on which my code is based.

I found both JSTUN and PJNATH, and both seem to be supported by stackoverflow members. I downloaded the source for both, and PJNATH had about 15,000 lines of code, while JSTUN was less than 3,000.

Is one library more complete than another?

I need server and client components, and I would like to be as fully functional as possible, because I DO NOT want to implement TURN (too hardware intensive).

Is there a better library I should look at? Ultimately, I want to make a completely ICE solution, but STUN is enough for now.

+5
source share
1 answer

As far as I know, JSTUN is not a complete solution. This is what they mentioned on their website. They want to add support for RFC 5389. Please check their website (http://jstun.javawi.de/).

+2
source

All Articles