webrtc-stun
100% TypeScript STUN implementation for WebRTC.
npm i webrtc-stun
Supported methods
- RFC5389
- BINDING
- REQUEST
- RESPONSE_SUCCESS / RESPONSE_ERROR
- BINDING
Not supported yet
- RFC5389
- BINDING
- INDICATION
- BINDING
Supported attributes
Not supported yet
Usage
;;; ;; socket.on'message', ; .createBindingRequesttid .setSoftwareAttribute`@` .setFingerprintAttribute; socket.sendreq.toBuffer, 19302, 'stun.l.google.com';
See also /examples
directory.