Results 1 to 4 of 4

Thread: Stream from Dlink cam "DCS-950G 2 webpage

  1. #1
    Join Date
    Dec 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Stream from Dlink cam "DCS-950G 2 webpage

    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 :-)

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    "get connection to webpage?" What do you mean? A webpage is just data, not a service you can connect to.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Dec 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.http://www.protocol.http.HttpURLConn...Stream(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.

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    This file:
    Code:
    java.lang.ClassNotFoundException: xplug.class
    is not being downloaded properly, as we can see here:
    Code:
    Caused by: java.net.SocketException: Unexpected end of file from server
    This sounds like a server problem to me.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •