Skip to content

schlangguru/clip-beam-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clip-beam logo

Clip Beam Signaling Server

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.

Clip Beam

Table of content

Setup the signaling server

The server is written in typescript and requires Node.js to run. It uses websockets for signaling.

Setup

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

Configuration

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.

Setup the client

See installation instructions for the client

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published