Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JSTUN vs PJNATH

I'm going to be writing my own STUN implementation in JavaScript (server-side with NodeJS), and I'm looking for a library to base my code on.

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

Is one library more complete than the other?

I need both server and client components, and I would like to be as feature-complete as possible because I do NOT want to implement TURN (too hardware intensive).

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

like image 787
beatgammit Avatar asked Nov 04 '22 21:11

beatgammit


1 Answers

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

like image 54
UVM Avatar answered Nov 09 '22 03:11

UVM