This is the signaling server of Clip Beam. To get an overview of the application visit the client repo.
The signaling server is responsible to initiate the WebRTC connection for Clip Beam.
The server is written in typescript and requires Node.js to run. It uses websockets for signaling.
Clone this repository and use the following commands:
# install dependencies
npm install
# run locally in watch mode
npm run dev
# build for the distribution
npm run build
# start the built server
npm run start
Per default the signaling server listens on port 9090
. To change this you can set an environment variable named PORT
.
# Eg. to run the server on port `8081` run:
export PORT=8081 && npm run start
If you change the port or url of the signaling server remember to configure the client accordingly.
See installation instructions for the client