5

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.

beatgammit
  • 19,817
  • 19
  • 86
  • 129
  • Did you ever get an answer to this? Were you successful in writing the STUN impl in JavaScript? – pkrish Jun 05 '12 at 18:45
  • @pkrish - Not yet. It wasn't super high priority and other things came up, but I will probably get back to this in the near future. – beatgammit Jun 13 '12 at 23:16

1 Answers1

2

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/).

UVM
  • 9,776
  • 6
  • 41
  • 66