SFU SDK is a development kit for Flashphoner's selective forwarding unit. Use it to develop complex video rooms and conferences.
Working with the source code of the examples on your Web server
To work with demo examples on your own Apache, Nginx, Tomcat, IIS, or any other Web server, use the latest available build of the web client:
https://docs.flashphoner.com/display/WEBSDK2EN/Web+SDK+release+notes CHANGE ME
The bundle looks as follows:
doc - JavaScript API documentation
examples – demo examples
sfu.js – the main API file you should add to your web page, it enables all supported technologies.
sfu-extended.js - the main API file with additional features.
We will review individual examples below.
Working with the source code of the examples directly on the WCS server
If you installed Web Call Server, you can work with the source code of the demo examples directly.
The code of the examples is located at:
/usr/local/FlashphonerWebCallServer/sfu/examples
To test an individual example, open the corresponding page in the browser, for example:
https://host:8888/sfu/examples/client/main.html
Here, host is the address of your WCS server.
Therefore, you can make necessary changes to the scripts and test the modified demo example directly on the WCS server.