Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

1. Download sources

Code Block
languagebash
themeRDark
cd /usr/local/src

Download from Git: https://github.com/flashphoner/flashphoner_client/tree/wcs_api-2.0 CHANGE ME

Code Block
languagebash
themeRDark
wgetgit clone https://github.com/flashphoner/flashphoner_client/archive/wcs_api-2.0.zip CHANGE ME
unzip wcs_api-2.0.zipsfu_sdk.git

2. Install npm

...

Code Block
languagebash
themeRDark
curlwget -qO-sL https://rpmraw.nodesourcegithubusercontent.com/setup_10.xnvm-sh/nvm/v0.39.1/install.sh | sudo bash -
yumnvm -y install nodejs
npm install -g grunt16

3. Install npm

...

dependencies

Code Block
languagebash
themeRDark
cd sfu-sdk_sdk
nvm use 16
npm install
 

Since build 2.0.214, on this stage, wrtc.node binary file implementing setLocalDescription() method args free call will be downloaded to node-webrtc module. It is necessary for SFU SDK tests to work successfully, while node-webrtc does not support this feature yet, and the module is not updtaed for a long time.

4. Build SFU SDK

Code Block
languagebash
themeRDark
gruntnpm run build