SKJM Forum

Support => iCam Support => Topic started by: GJR on October 25, 2009, 04:55:42 PM

Title: Restart iCam after power failure
Post by: GJR on October 25, 2009, 04:55:42 PM
I have changed the settings on my PC so that it now automatically restarts after a power failure. Do you have a set of instructions to make iCamsource restart automatically as well? I have 2 instances of iCamsource running on the PC; a USB camera and an IP wireless camera.

Thank you
Title: Re: Restart iCam after power failure
Post by: Jay on October 26, 2009, 03:47:50 PM
There's information about auto-starting multiple iCamSources in this forum thread: http://skjm.com/forum/index.php?topic=416.0
Title: Re: Restart iCam after power failure
Post by: GJR on October 28, 2009, 02:27:18 PM
Thanks Jay. The instructions are spread over several posts and I'm not sure which command lines to use. Is it possible to restate the command line so that I can follow it from one single post. Thank you.
Title: Re: Restart iCam after power failure
Post by: Jay on October 28, 2009, 04:57:12 PM
The available command line arguments are:

-u=<login-string>
-p=<password-string>
-v=<video device index>
-a=<audio device index>
-url=<IP Camera MJPEG URL>
-cu=<IP camera login>
-cp=<IP camera password>
-desc=<iCamSource description>

Obviously, you don't need to use all of them.  If you don't specify a login, it will use the login stored in the registry (ditto for most of the other variables)

An example batch file entry for an IP camera would be:
start iCamSource.exe -url=http://192.168.0.99:8202/cgi-bin/video.jpg -cu=MyLogin -cp=MyPassword

An example batch file entry for the first USB camera in the Video drop down list would be:
start iCamSource.exe -v=0 -a=0

Both of these will use the login, password, and description stored in the registry, since they aren't specified on the command line.

I hope that info helps.