by securidad » Thu Feb 07, 2008 3:59 am
As best as I can tell, Yawcam does not have remote control built in. So the easiest way to do this is with a remote terminal connection to the Yawcam computer. Maybe using RealVNC or whatever your version of windows has available.
Another option is to download psTools which provides process start stop ability remotely, or from the local computer with a bat script.
If you're stopping and starting the process, you would need two versions of your yawcam_settings.xml file. Use Yawcam to edit your setting to enable streaming and copy the yawcam_settings.xml file to settings_enable.xml, then edit settings to disable and copy the xml file to settings_disable.xml.
So to enable you would:
1) stop yawcam (the process is probably going to be javaw and if you have several java programs running, then you have to figure out which one is yawcam)
2) copy settings_enable.xml to yawcam_settings.xml
3) start yawcam
To disable the streaming:
1) stop yawcam
2) copy settings_disable.xml to yawcam_settings.xml
3) start yawcam
If you didn't control the processes remotely from the command line, you would have to write a script that watches a folder. So when you ftp a file, e.g., enable.txt, to the folder, it would trigger its action. the file doesn't have to have anything in it. You would just do an "exists" test for the file. When your batch script is done, you would delete the file enable.txt (or disable.txt).
Hope this helps.