1. Download sources
Download from GitHub: https://github.com/flashphoner/sfu_sdk/tree/1.0
Code Block |
---|
|
wgetgit clone https://github.com/flashphoner/sfu_sdk/archive/refs/heads/1.0.zip
unzip 1.0.zip.git |
2. Install npm
...
Code Block |
---|
|
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 |
---|
|
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 |
---|
|
gruntnpm run build |