Versions Compared

Key

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

Table of Contents

1. Download sources

Download from GitHub: https://github.com/flashphoner/sfu_sdk/tree/1.0

Code Block
languagebash
themeRDark
wgetgit clone https://github.com/flashphoner/sfu_sdk/archive/refs/heads/1.0.zip
unzip 1.0.zip.git

2. Install npm

...

Code Block
languagebash
themeRDark
curlwget -qO-sL https://rpmraw.nodesourcegithubusercontent.com/setup_10.x/nvm-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
npm install
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