Quick start¶
Let's deploy the stand for testing one WCS server with default settings. Suppose Docker to be installed locally, and no need to access the containers from outside. RTMP publishing container will also be deployed.
To deploy the stand on Docker host, do the following:
-
Unpack the stand build archive
-
Edit main stand configuration fileĀ
stand.conf/wcs-stand.conf
-
Make WCS node configuration folder
-
Edit WCS node configuration file, set your license and latest WCS build number
#!/usr/bin/env bash NODE_IP="" NODE_PORTS=22,554,1935,8080-8084,8443-8445,8888,9091,20000-60000/tcp,20000-60000/udp JAVA_VERSION=8 JAVA_GC=CMS JAVA_HEAP=2g WCS_LICENSE="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" PRODUCT_LINK="https://flashphoner.com/downloads/builds/WCS/5.2/FlashphonerWebCallServer-5.2.XXX.tar.gz"
-
Make RTMP publishing node configuration folder
-
Edit RTMP publishing node configuration file
-
Copy media file to be published to RTMP publishing node configuration folder
-
Copy public access key to ssh folder
-
Build docker images
-
Start the stand
-
Remember stand nodes dynamic IP addresses
-
Open
Player
example page in browser and enter the stream name172.17.0.2.file
, where172.17.0.2
- WCS container addressfile
- media file name (see step 7) without mp4 extension
The stand is ready to local test.