Atesignaling server 1.0.0 release

Atesignaling server is ateditors sync function WebRTC signaling server. The server powered by nodejs and ws package.

You can download the source code from codeberg. Then unpack the file:

tar xzf ./atesignaling-main.tar.gz

Go to the directory and run the command to install ws package:

cd atesignaling
npm install

Next please add one account to config/default.json. The account passphrase hash credential data is generated by cryptsha512.js file like below:

node ./cryptsha512.js "secure_passphrase"

The command out look like:

[
  '/usr/local/bin/node',
  '/Users/andy/src/nodejs/atesignaling/cryptsha512.js',
  'secure_passphrase'
]
crypt:  $6$rounds=67909$qhJTcJaVcFrVv2bU$8uKkB5DbsalsgKVjMc8SfTu9wudRzgx0Cf9alU3u1DAvPHBZI2E2VJz8FTBdPU1VJl8w5LLqjwtAfqMBS9vBP/

Then fill the line string below crypt to account credential field like below:

  "accounts": [
    {
      "username": "iamfirefoxfan",
      "credential": "$6$rounds=67909$qhJTcJaVcFrVv2bU$8uKkB5DbsalsgKVjMc8SfTu9wudRzgx0Cf9alU3u1DAvPHBZI2E2VJz8FTBdPU1VJl8w5LLqjwtAfqMBS9vBP/"
    }
  ],

Now yon can start your server by run the command:

npm run dev

To use the signaling server, you can visit ateditors demo site to run sync function. Add the signaling server field values like below:

You should fill your ICE/stun server field value for using full WebRTC function (now only send text message and transfer file).

61

Top articles