freechat/rtc-server
shockrah 2a1881db20 + Adding commandline parameter parser for specifying wss-hmac and api-hmac
The respective flags are -w|--wss-hmac and -H|--hmac
Default values are wss-hmac.secre hmac.secrett respectively
2021-04-27 13:24:59 -07:00
..
.gitignore + Replacing rust microservice with more lenient js built server 2021-04-01 11:41:51 -07:00
auth.js + Adding commandline parameter parser for specifying wss-hmac and api-hmac 2021-04-27 13:24:59 -07:00
cmdline.js + Adding commandline parameter parser for specifying wss-hmac and api-hmac 2021-04-27 13:24:59 -07:00
main.js + Adding commandline parameter parser for specifying wss-hmac and api-hmac 2021-04-27 13:24:59 -07:00
package-lock.json + Adding argparse to dependancy list 2021-04-26 01:34:29 -07:00
package.json + Adding commandline parameter parser for specifying wss-hmac and api-hmac 2021-04-27 13:24:59 -07:00
readme.md Base version of the rtc server 2021-03-22 02:45:54 -07:00

RTC WebSocket Server

This server is to be used only if the json-api server is compiled with the rtc feature. If you run this server without that feature in the json-api then this will never get updates from the API and thus be completely 100% useless.

Configuration

This server runs on port 5648 and is served via the ws:// protocol. It is recommended that admins put this behind some a reverse proxy for secure web-sockets wss:// and to remove the need for specifying the port number for clients.

Command line flags

-p --port : Defaults to 5648 (suggested)