How to...

Questions? Suggestions? Need help? Talk about anything related to Yawcam...

How to...

Postby mcruzmx » Wed Feb 06, 2008 6:10 am

:oops: how can I set "disable" or "enable" the streaming from the remote computer? I have ftp all access to the computer that have yawcam (local) could I change any file? or something like that? or maybe I can make like a .bat with a line command, or I don't know if it's possible something like "yawcam.exe /disable" from cmd of windows, or I don't know, please help to me.

Thanks! :cry:
mcruzmx
 
Posts: 24
Joined: Fri Jan 11, 2008 12:02 am

Advertisement

Postby 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.
securidad
 
Posts: 3
Joined: Wed Feb 06, 2008 5:25 am

Postby tellmewhy » Thu Feb 07, 2008 6:47 am

If you have Windows XP or Windows Vista you can take "remote control" of your Yawcam computer.
When you know when you have to turn on/off Yawcam, you can use the Sheduler.
See Yawcam - On-line help for how to use it.
Vistit my forum and register.
!!! Register is free !!!
You will find all kind of technical guidelines/advice.
tellmewhy
 
Posts: 425
Joined: Tue Dec 11, 2007 11:19 am


Return to General

Who is online

Users browsing this forum: No registered users and 0 guests