1. Download sources
Code Block |
---|
|
cd /usr/local/src |
Download from Git: https://github.com/flashphoner/flashphoner_client/tree/wcs_api-2.0 CHANGE ME
Code Block |
---|
|
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 |
---|
|
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 |
---|
|
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 |
---|
|
gruntnpm run build |