Define scripts used when stream is paused/aborted/resumed
[ESP702]<pause/stop/resume>=<script> json=<no> pwd=<admin password>
-
json=no the output format can be in JSON or plain text
-
pwd=<admin password> the admin password if authentication is enabled
-
action (pause/stop/resume) assign a script to the action
Output
Section titled “Output”- In json format
{ "cmd":"702", "status":"ok", "data":{ "pause":"/fs/mypause.gco", "stop":"/fs/mystop.gco", "resume":"/fs/mystop.gco" }}cmdId of requested command, should be702statusstatus of command, should beokdatacontent of response, here the current scripts for each action