https://github.com/clemos/hxturn
a nodejs TURN server written in Haxe
https://github.com/clemos/hxturn
Last synced: 5 months ago
JSON representation
a nodejs TURN server written in Haxe
- Host: GitHub
- URL: https://github.com/clemos/hxturn
- Owner: clemos
- Created: 2017-02-10T16:50:26.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-23T13:47:18.000Z (over 8 years ago)
- Last Synced: 2025-02-22T05:42:26.018Z (over 1 year ago)
- Language: Haxe
- Size: 41 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## Basic STUN/TURN Server implementation in Haxe
This library implements a very minimal STUN/TURN server that is able to :
* Require authentication, and read credentials, and thus receive data from web clients without web traffic :) (TURN only)
* Respond to STUN binding requests
These two features make it possible to establish WebRTC PeerConnection connections
between a client and a "static" server, without signaling.
```
npm i // to install dependencies (haxe, etc.)
```
Then:
```
npm run test // builds test scripts and runs UTs
npm run start:auth-server // starts the TURN "auth server"
npm run serve // starts a local http server
```
Check "auth server demo" at :
http://localhost:8080/test-auth-client.html