PDA

View Full Version : Stream from Dlink cam "DCS-950G 2 webpage



TVB
12-05-2005, 08:07 PM
Hi Java Specielist ;-)

I have this Cam and need af script to get stream on my Webpage.

I have tryed this one but no luck,
<APPLET name="cvcs" CODEBASE="http://80.196.113.36:80/" CODE="xplug.class" WIDTH=640 HEIGHT=480>
<param name="RemotePort" value=8481>
<param name="Timeout" value=5000>
<param name="RotateAngle" value=0>
<param name="PreviewFrameRate" value=2>
<param name="DeviceSerialNo" value="">
</APPLET>

Iam behind a Router, and have a spec ip for Cam 192.168.0.103


Becauce i am Newbee i this i need some help.

Is it possible to get at Script where i can plug in the Ip adress (Static) and get connection to webpage.

Thanks if there is some specialist who can help :-)

Twey
12-06-2005, 06:48 PM
"get connection to webpage?" What do you mean? A webpage is just data, not a service you can connect to.

TVB
12-07-2005, 09:25 AM
Thx Twey :-)

Ive no problems to connect to page now, but a new prob.

The appel don work, i got this message i Java Console.



java.lang.ClassNotFoundException: xplug.class

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadCode(Unknown Source)

at sun.applet.AppletPanel.createApplet(Unknown Source)

at sun.plugin.AppletViewer.createApplet(Unknown Source)

at sun.applet.AppletPanel.runLoader(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: java.net.SocketException: Unexpected end of file from server

at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)

at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)

at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)

at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at java.net.HttpURLConnection.getResponseCode(Unknown Source)

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

... 10 more

Some buddy please help.

Twey
12-07-2005, 03:50 PM
This file:
java.lang.ClassNotFoundException: xplug.classis not being downloaded properly, as we can see here:
Caused by: java.net.SocketException: Unexpected end of file from serverThis sounds like a server problem to me.