Streaming server ON/OFF same command
Streaming server ON/OFF same command
Hello!
Can I connect streaming server ON/OFF so it is on the same command/button? I can't find it anywhere.
Can I connect streaming server ON/OFF so it is on the same command/button? I can't find it anywhere.
Re: Streaming server ON/OFF same command
I am not 100% sure, if I understand you correctly?
There is e.g. a STREAMING_SERVER_START_ALL and a STREAMING_SERVER_STOP_ALL control-command which you can use.
Note, that there is no 'Toggle' command, as some servers might not be started due to e.g. network issues.
But if you want to just implement a single user button, which toggles between _START_ALL and _STOP_ALL, you can do this with this command sequence and using your own 'StreamingStarted' user variable, which you define set and use, like this:
There is e.g. a STREAMING_SERVER_START_ALL and a STREAMING_SERVER_STOP_ALL control-command which you can use.
Note, that there is no 'Toggle' command, as some servers might not be started due to e.g. network issues.
But if you want to just implement a single user button, which toggles between _START_ALL and _STOP_ALL, you can do this with this command sequence and using your own 'StreamingStarted' user variable, which you define set and use, like this:
Code: Select all
EXEC_COMMAND2 ${VAR:StreamingStarted}|Equals(0)|STREAMING_SERVER_START_ALL${CRLF}EXEC_VAR_SET StreamingStarted|1
EXEC_COMMAND2 ${VAR:StreamingStarted}|Equals(1)|STREAMING_SERVER_STOP_ALL${CRLF}EXEC_VAR_SET StreamingStarted|0
Bernd - radio42
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution