Skip to content

sophanorin/livestream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Livstream

Try it online at meet.sophanorin.com

Installation

Clone Livstream git repository

git clone https://github.com/Sophanorin/livestream.git
cd livstream

Configuration

Note: Livestream will start on the default settings (if you don't create your own configuration files)

Important! You must always rebuild the livestream when you change something in the configuration files.

use template (example)

Just clone the example files and adjust them if required.

cp server/config/config.example.js server/config/config.js
cp app/public/config/config.example.js app/public/config/config.js

To change default options, create your own server config file (yaml or json)

Example when using config.json file

{
  [
    {
      "urls": [
        "turn:turn.example.com:443?transport=tcp"
      ],
      "username": "example",
      "credential": "example"
    }
  ]
};

Build

Note: It is highly recommended to use yarn package manager.

cd app
yarn && yarn build

cd ../server
yarn && yarn build

Run

Run on server (as root or with sudo)

# Run the Node.js server application in a terminal:
cd server
sudo yarn start

Run locally (for development)

# run a live build from app folder:
app$ yarn start

# and run server in server folder: 
server$ yarn start

Ports and firewall

Port protocol description
443 tcp default https webserver and signaling - adjustable in server/config/config.js)
4443 tcp default yarn start port for developing with live browser reload, not needed in production environments - adjustable in app/package.json)
40000-49999 udp, tcp media ports - adjustable in server/config/config.js

TURN configuration

You need an additional TURN-server for clients located behind restrictive firewalls! Add your server and credentials to server/config/config.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages