mikerugerio
New Member
I want disable "demo" user in launch template (The setup script example to update WCS to latest build and to configure CDN Edge server).
How can I modify the script?
How can I modify the script?
...
USERS_CONFIG=/usr/local/FlashphonerWebCallServer/conf/database.yml
if grep "demo:" $USERS_CONFIG > /dev/null 2>&1; then
sed -i -e "/demo:/s/active:\ true/active:\ false/" $USERS_CONFIG
fi
# Start WCS after reconfiguring
...
Good day.
Please add the following strings to setup script before WCS startup
Bash:... USERS_CONFIG=/usr/local/FlashphonerWebCallServer/conf/database.yml if grep "demo:" $USERS_CONFIG > /dev/null 2>&1; then sed -i -e "/demo:/s/active:\ true/active:\ false/" $USERS_CONFIG fi # Start WCS after reconfiguring ...
We also added example to the script in documentation.
Good day.
Please add the following strings to setup script before WCS startup
Bash:... USERS_CONFIG=/usr/local/FlashphonerWebCallServer/conf/database.yml if grep "demo:" $USERS_CONFIG > /dev/null 2>&1; then sed -i -e "/demo:/s/active:\ true/active:\ false/" $USERS_CONFIG fi # Start WCS after reconfiguring ...
We also added example to the script in documentation.
Yes, you should enable demo user for Embed Player to work. So, to use Embed Player, do the followingI removed demo user and I am tring to embed player in iframe but it redirecting to Login screen, then I disabled WCS web admin inteface in flashphoner.properties :
http_enable_paths=rest,action,shared,embed_player,empty
http_enable_paths=rest,action,shared,embed_player,empty
You can use REST hooks to hide a real stream name from end users. You should implement /playStream hook and change a stream name passed in URL to real. Please read here about stream renaming.How can I do it?, thanks.