Go to documentation repository
The openRTSP.exe utility is a console application without a graphical user interface. This utility is intended for use in scripts to check workability of the RTSP Server module. Please visit http://www.live555.com/openRTSP/ for details about the utility.
The openRTSP.exe file is located in the <Axxon PSIM installation directory>\Tools folder.
An example of a script to test the workability of RTSP is given below. This script runs the openRTSP.exe utility by timer, then the utility takes 1 sec of video and checks the status of the RTSP Server. If a rejection from the RTSP Server itself is received, the StreamingServer.run process is restarted.
Note.
Create and configure the Timer object for the required check period – see Creating and using the Timer object.
function check_cam(addr) { var scmd = "./Tools/openRTSP.exe -V -D 10 -d 1 "+addr; DebugLogString("run:"+scmd); var s = run_cmd_timeout(scmd, 10000); DebugLogString(s); if(s.indexOf("Receiving streamed data")< 0) { DebugLogString("restarting"); var msg = CreateMsg(); msg.StringToMsg("SLAVE|COMP_NAME|EXECUTE|restart<1>,command<streamingserver.run>"); //change COMP_NAME to the name of the computer where the process runs DoReact(msg); } } if(Event.SourceType == "LOCAL_TIMER" && Event.SourceId == "TEST_RTSP") { check_cam("rtsp://127.0.0.1:5544/1"); //the link is formed as described in the "Configuring the RTSP Server Module" section check_cam("rtsp://127.0.0.1:5545/4"); }