Table of Contents |
---|
What's new in WCS 5.1 compared with WCS 5.0
- Added SIP calls, streams and system state basic realtime monitoring, with the ability to view calls and streams history.
- SIP core rewritten.
- Added audio and video streams mixer.
- Added stream recording on demand (to record mixed stream for example).
- Added streams published in chat room recording with record files merging ability.
- Added RTMP stream pulling.
- Added REST API methods to manage new functions.
New version installation with previous version update
To update WCS 5.0 on your server to WCS 5.1, you have to do the following steps:
...
Code Block | ||||
---|---|---|---|---|
| ||||
wget https://flashphoner.com/downloads/builds/WCS/5.1/FlashphonerWebCallServer-5.1.3375XXXX.tar.gz |
2. Unpack the package
Code Block | ||||
---|---|---|---|---|
| ||||
tar -xvzf FlashphonerWebCallServer-5.1.3375XXXX.tar.gz |
3. Stop WCS
Code Block | ||||
---|---|---|---|---|
| ||||
service webcallserver stop |
...
Code Block | ||||
---|---|---|---|---|
| ||||
cd FlashphonerWebCallServer-5.1.33753356/server/tools ./update.sh |
...
Check how server works by this instruction.
Another WCS version installation without previous version removing or updating
Sometimes, it is necessary to install more recent or older WCS version without removing or updating the already installed one. This can be done as follows:
1. Stop WCS
Code Block | ||||
---|---|---|---|---|
| ||||
service webcallserver stop |
2. Remove symbolic link to WCS directory
Code Block | ||||
---|---|---|---|---|
| ||||
cd /usr/local
rm -f FlashphonerWebCallServer |
3. Install the desired version and activate it with your license number.
4. Launch the newly installed WCS version
Code Block | ||||
---|---|---|---|---|
| ||||
service webcallserver start |
Switching between two WCS installations
Suppose there are two versions installed on the server: 5.0.3333 and 5.1.3356. To switch from 5.1.3356 to 5.0.3333 do the following steps:
1. Stop WCS 5.1.3356
Code Block | ||||
---|---|---|---|---|
| ||||
service webcallserver stop |
2. Remove symbolic link to WCS directory
Code Block | ||||
---|---|---|---|---|
| ||||
cd /usr/local
rm -f FlashphonerWebCallServer |
3. Make symbolic link to the desired version directory
Code Block | ||||
---|---|---|---|---|
| ||||
cd /usr/local
ln -sf FlashphonerWebCallServer-5.0.3333 FlashphonerWebCallServer |
4. Launch WCS 5.0.3333
Code Block | ||||
---|---|---|---|---|
| ||||
service webcallserver start |
Switching back is done same way.
Known issues
1. update.sh script does not launch.
Symptoms: "Permission denied" message on step 4update.sh launch.
Solution: set permissions to execute update.sh script on step 4
Code Block | ||||
---|---|---|---|---|
| ||||
cd FlashphonerWebCallServer-5.1.3375/server/tools chmod +x update.sh ./update.sh |
...
from flashphoner.properties file and restart WCS
3. When two WCS versions are installed on same server, those instances should not be running simultaneously.
4. When two WCS versions are installed on same server, those installations should use embedded H2 database. If MySQL is used, a separate database should be created for every WCS version, wcs_db1 and wcs_db2 foe example.