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.
source
share