Streaming on host only

Questions? Suggestions? Need help? Talk about anything related to Yawcam...
Post Reply
Bison
Posts: 3
Joined: Wed Sep 29, 2004 10:27 pm

Streaming on host only

Post by Bison »

Hi There,

I have 2 x PCs on my home LAN

1st running Win2K Server (ip = 192.168.2.101) with the webcam and Yawcam installed. Webpage opens streaming is great!!!!

2nd running WinXP SP2 (ip = 192.168.2.100). Webpage opens with heading text etc. but no streaming images just aplace holder with the 'X' in the top left corner. :?

Any ideas??

Thanks in advance...
Bison
Posts: 3
Joined: Wed Sep 29, 2004 10:27 pm

Post by Bison »

Fixed it!

Installed Opera!!!

Java not installed on XP box.

Greeeaaaaat!

Hmmm! does this mean I'll have to put a link to install Java on the site?
Jii
Posts: 30
Joined: Wed Sep 08, 2004 10:46 am

Post by Jii »

Hmmm! does this mean I'll have to put a link to install Java on the site?
If you wish to do so, you can put a link for Java.

Streaming doesn't work with Microsoft Java VM and there are no updates for it available anymore. For that reason, WinXP has the old and antiquated version of Microsoft Java VM installed by default and Sun Microsystem's Java has become a replacement and a mandatory piece of software for a browser-enabled streaming to work.

The minimum version for signed applet to work is 1.4_01 (and by the date, the current version is 1.4_05).
Bison
Posts: 3
Joined: Wed Sep 29, 2004 10:27 pm

Post by Bison »

Thanks Jii,
but I now have a new problem and its complicated!

Like this ,

<my server/LAN><RouterFirewalled><WAN><ISPFirewalled><Internet>

I'm not concerned about the internet for the moment just streaming to the wan. My ip on the wan is 10.2.51.55.
If I goto http://10.2.51.55 i get my page but no applet.
If I goto http://10.2.51.55:8081 i get the streaming pictures!

From this I understand the port forwarding on the router is correct???

In settings I have forced public IP set to 10.2.51.55

Webpage HTML is as follows:


<APPLET CODE=YawApplet.class WIDTH="320" HEIGHT="240">
<param name="Host" value="10.2.55.51">
<param name="Port" value="8081">
</APPLET>

Could it be settings in IIS???

Java console:
load: class YawApplet.class not found.

java.lang.ClassNotFoundException: YawApplet.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.io.IOException: open HTTP connection failed.

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)
malun
Site Admin
Posts: 1590
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

Check in Yawcam's stream directory (i.e. c:\program files\yawcam\stream) that the file YawApplet.class really exists. If not, save your settings file (yawcam_settings.xml) and reinstall Yawcam. Then replace the new settings file with your old one. Now you should have the .class file again.

/malun
Post Reply