MPEG-TS RTP stream publishing via reserved ports

vsl

New Member
Good day,

I'm trying to configure WCS for MPEG-TS publishing via reserved ports, but I can not figure out what I'm doing wrong.

Version of WCS: 5.3.129

In the flashphoner.properties I have:
mpegts_reserved_port_from=39991
mpegts_reserved_port_to=40000
I've created the: /usr/local/FlashphonerWebCallServer/conf/mpegts_ingest.yml file with following content:
streams:
srt1:
port: 39992
transport: srt
timeout: 10000
hasAudio: true
hasVideo: true
maxTimeStampDiff: 90000
allowedList: []
Preview does not show correct indentation, but yml file should be formatted correctly, with two spaces indentation.

After the WCS restart, in the flashphoner.log I see this error:
08:42:31,830 ERROR B - main The required "port" parameter is missing for reserved agent with stream name: srt1 in the YAML settings file /usr/local/FlashphonerWebCallServer/conf/mpegts_ingest.yml
Can you please help?

Thanks
 

Max

Administrator
Staff member
Good day.
We checked the configuration on the latest build 5.3.131. With the correct indentation, it works perfectly
1756856883610.png

The stream is publishing
1756857053070.png

and playing on the test server
1756857092432.png

Please double check the indentation on your server
 

vsl

New Member
Hi,

Thanks a lot for checking! I'm going crazy here, I rechecked multiple times, here is how the file looks with "od -c" command, no weird characters, with correct spacing:

1757022019385.png

or
1757022060984.png


I still get the:
" ERROR B - main The required "port" parameter is missing for reserved agent with stream name: srt1 in the YAML settings file /usr/local/FlashphonerWebCallServer/conf/mpegts_ingest.yml"

Funny thing is, I have 2 servers where I can reproduce the same issue, so I'm definitely doing something wrong.
Are you willing to have a quick look at our config if I provide you the ssh access?

Thanks
 

Max

Administrator
Staff member
Seems you've installed WCS on the server by wrong way: unpacked the server distribution archive to /usr/local then installed. There can be undefined behaviour in this case
Please do the clean reinstallation:
1. Uninstall WCS completely
Code:
sudo /usr/local/FlashphonerWebCallServer/bin/unistall.sh
sudo rm -rf /usr/local/FlashphonerWebCallServer-*
2. Install WCS from a home folder
Code:
cd ~
wget https://flashphoner.com/downloads/builds/WCS/5.3/FlashphonerWebCallServer-5.3.146.tar.gz
tar -xzf FlashphonerWebCallServer-5.3.146.tar.gz
cd FlashphonerWebCallServer-5.3.146
sudo ./install.sh
 
Top