General server (streaming/conference/transcoding/anayltics) for OWT. (A.k.a. MediaServer)
The media server for OWT provides an efficient video conference and streaming service that is based on WebRTC. It scales a single WebRTC stream out to many endpoints. At the same time, it enables media analytics capabilities for media streams. It features:
In the repository root, use one of following commands to install the dependencies.
scripts/installDeps.sh
scripts/installDepsUnattended.sh
In interactive mode, you need type "yes" to continue installation several times and in non-interactive, the installation continues automatically.Run above commands with --help
option to see more usages.
The media server can be built on the following platforms:
In the root of the repository:
scripts/build.js -t all --check
.scripts/pack.js -t all --install-module --app-path ${webrtc-javascript-sdk-sample-conference-dist}
.The ${webrtc-javascript-sdk-sample-conference-dist} is built from owt-javascript-sdk, e.g. ~/owt-client-javascript/dist/samples/conference
, see https://github.com/open-webrtc-toolkit/owt-client-javascript for details.
If "--archive ${name}" option is appended to the pack command, a "Release-${name}.tgz" file will be generated in root folder. For other options, run the scripts with "--help" option.
In dist folder, run the following commands to start the media server on a single machine:
./bin/init-all.sh --deps
./bin/start-all.sh
See doc/servermd/Server.md and doc/servermd/RESTAPI.md.
Run the build_server.sh script located in docker/conference. It has one required flag, -p, which should contain the filepath of your app. Optional flags are -i for the final Docker image name, and -n which will make the Docker build run with --no-cache. An example usecase:
./docker/conference/build_server.sh -p ~/my_app -i myapp_img
We warmly welcome community contributions to Open WebRTC Toolkit Media Server repository. If you are willing to contribute your features and ideas to OWT, follow the process below:
Use the "Issues" tab on Github.