I’m looking for a simple way to indicate whether One Touch Recording is active or not on a channel layout. For example, a monitor connected to output 2 could show the selected camera as well as an overlay that says “RECORDING”. I’m sure I could use the web APIs, but I was hoping there’s a text overlay shortcut or some other way to indicate it (like a recording timecode).
I thought I had figured it our by configuring a “RECORDING” graphic channel and streaming it so it would show up in another channel, but non-server streaming doesn’t seem to be controlled by One Touch Recording .
Sorry to say, but there really isn’t any way to indicate on a monitor output the recording status of a channel. To monitor the status you would have to use the web ui, touchscreen, or our API.
Would it be possible to get some sample code meant to do that?
For anyone trying to do this, you would need to script something like the following pairs of commands to start recording/indicating:
“http://[IP ADDRESS]/admin/channel2/set_params.cgi?rec_enabled=on” (turns recording on) & “http://[IP ADDRESS]/admin/set_variables.cgi?RecStat=RECORDING”, where “%(RecStat)” is the text variable you’re using in the channel overlay.
To stop recording/indicating, use something like this pair of commands: “http://[IP ADDRESS]/admin/channel2/set_params.cgi?rec_enabled=off” (turns recording off) & “http://[IP ADDRESS]/admin/set_variables.cgi?RecStat=not%20recording”
You can also retrieve the recording status with this command: “http://[IP ADDRESS]/admin/channel2/get_params.cgi?rec_enabled”
1 Like
Yes good point! Your use of the variables within the text overlays here is a great example!