mirror of
https://gitlab.com/comunic/nodejs-webrtcsignalexchangerserver
synced 2024-11-22 05:19:26 +00:00
26 lines
815 B
Markdown
26 lines
815 B
Markdown
# NodeSignalExchanger
|
|
|
|
A lightweight node application that allows to exchange signals connection through websockets.
|
|
|
|
|
|
WARNING WARNING WARNING : Do not try to launch my project on a computer not connected to any network, it will not work (Firefox is unable to create Ice candidate on such configuration) !!!! (However, if you run your own STUN/TURN server, an Internet connection will not be required at all)
|
|
|
|
# Requirements
|
|
```sh
|
|
sudo apt install nodejs node-express node-wc
|
|
```
|
|
|
|
# Using for signaling
|
|
## Installation
|
|
* Install docker
|
|
* Install coturn: `sudo apt install coturn`
|
|
* Add a client to coturn: `sudo turnadmin -a -u anonymous -r anonymous.com -p anonymous`
|
|
|
|
|
|
## Running TURN server
|
|
```sh
|
|
sudo turnserver -o -a -f -r anonymous.com # Use -L option to specify an IP address
|
|
```
|
|
|
|
# Author
|
|
Pierre HUBERT 2019 |