Skip to content

Instantly share code, notes, and snippets.

@stackexpress-shivam
Last active September 21, 2020 14:56
Show Gist options
  • Save stackexpress-shivam/7de4d0541b15a96d0272332c9c82ce02 to your computer and use it in GitHub Desktop.
Save stackexpress-shivam/7de4d0541b15a96d0272332c9c82ce02 to your computer and use it in GitHub Desktop.

OWT Server

Ref:

owt-client-javascript (Sample app)

curl -L https://github.com/open-webrtc-toolkit/owt-client-javascript/archive/v4.3.1.zip -o owt-client-javascript-4.3.1.zip

unzip owt-client-javascript-4.3.1.zip

cd owt-client-javascript-4.3.1
  • Build release package
npm install -g grunt-cli

cd scripts

npm install

grunt

Setup owt server

  • Get release
curl -L https://github.com/open-webrtc-toolkit/owt-server/archive/v4.3.1.zip -o owt-server-4.3.1.zip
sudo yum update

sudo yum install wget unzip
  • Install
scripts/installDepsUnattended.sh

nvm use stable
  • Build
cd /home/centos/lab/owt-server-4.3.1

scripts/build.js -t all --check


export sample_conference_dist='/home/centos/lab/owt-client-javascript-4.3.1/dist/samples/conference'


scripts/pack.js -t all --install-module --app-path ${sample_conference_dist}
mkdir -p /home/centos/lab/owt-server-4.3.1/dist/extras/basic_example/

cp -R /home/centos/lab/owt-client-javascript-4.3.1/dist/samples/conference/* /home/centos/lab/owt-server-4.3.1/dist/extras/basic_example/

cd /home/centos/lab/owt-server-4.3.1/dist/extras/basic_example/

npm install
  • Quick Start
cd /home/centos/lab/owt-server-4.3.1/dist

./bin/init-all.sh --deps

nvm use stable

./bin/start-all.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment