Author Topic: Restart iCam after power failure  (Read 2784 times)

GJR

  • Newbie
  • *
  • Posts: 11
    • View Profile
Restart iCam after power failure
« 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

Jay

  • Administrator
  • Hero Member
  • *****
  • Posts: 1096
    • View Profile
Re: Restart iCam after power failure
« Reply #1 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

GJR

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Restart iCam after power failure
« Reply #2 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.

Jay

  • Administrator
  • Hero Member
  • *****
  • Posts: 1096
    • View Profile
Re: Restart iCam after power failure
« Reply #3 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.