Skip to content

Building the examples

1. Download source code

GitHub

git clone https://github.com/flashphoner/sfu_sdk.git
cd sfu_sdk/examples

NPM

npm init
npm install @flashphoner/sfusdk-examples
cd node_modules/@flashphoner/sfusdk-examples

2. Build the examples

nvm use 16
npm install && npm run build

3. Deploy examples to web server

mkdir -p /var/www/html/flashphoner-sfu-test
cp -r dist/* /var/www/html/flashphoner-sfu-test