Link to home
Start Free TrialLog in
Avatar of galneweinhaw
galneweinhaw

asked on

Trying to control a webcam

I am trying to control a DLink DCS-900 (securicam)

I can get the camera running within HTML using the following code:
**************
<html>
<center>
<BODY scroll="no">
        <APPLET name="cvcs" CODEBASE="http://206.12.4.38:80/" CODE="xplug.class" WIDTH=320 HEIGHT=240>
          <param name="RemotePort" value=80>
          <param name="Timeout" value=5000>
          <param name="RotateAngle" value=0>
          <param name="PreviewFrameRate" value=2>
          <param name="DeviceSerialNo" value="bWNyZW5zaGE6MkR0VWlJ">
        </APPLET>
*********************

But what I'd like to do is be able to tell when i is connected or not, since it takes a long time to load sometimes, I don't know if it's being slow, or actually disconnected.

IE, Id like the screen to show either "Loading..." or "Disconnected" untill the webcam pops up.

Any leads into how I might be able to do this would be awesme.


Here's the small bit of code D-link provides:
http://support.dlink.com/faq/view.asp?prod_id=1871&question=DCS-1000%20/%20DCS-1000W%20/%20DCS-900%20/%20DCS-900W

     
Avatar of blaines
blaines
Flag of United States of America image

Unless you have the Java source code, you can't modify any "Loading" prompt or "Disconnected" inside the Java Applet.
ASKER CERTIFIED SOLUTION
Avatar of blaines
blaines
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I forgot to add. The code I posted above will only work if you have the WebCam32 software installed.

http://surveyor.com/

BTW, I don't work for or get paid for this, I'm just posting what I personally use since it does exactly what you are trying to do.
Avatar of galneweinhaw
galneweinhaw

ASKER

Thanks for the help!

Is there any way I can confirm this will work with my particular webcam?
Not sure how to confirm, however, this program has worked on 4 different web cams I've owned. This program also detected my TV Tuner card which allowed me to broadcast a television show through my web cam site. I feel very confident it'll work for your web cam.

Here is how you can be sure:
http://surveyor.com/support/webcam32help/multimedia.html
Windows Media Services 9 is free and can stream audio, movies, or live cam over the web.  

http://www.microsoft.com/windows/windowsmedia/9series/server.aspx

Its very easy to set up and works a treat.  Handles buffering etc for you.  I guarantee you'll have it up and running in an hour.
I was unable to find out how to set up the M$ Media server to stream to my web cam site. Where do I get the Java or HTML code to make this stream work? I'm interested in testing it.