2 diffrent port mappings

Questions? Suggestions? Need help? Talk about anything related to Yawcam...
malun
Site Admin
Posts: 1591
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

So, you mean that the ipcam will stop if you enable the stream in yawcam... I don't belive it :wink:
Please just press the enable button and let me see :D

/malun
malun
Site Admin
Posts: 1591
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

By the way... there is no need to try a different port number. Because if your ISP hade blocked the port 8081, I wouldn't be albe to see yawcam's own error 404 message. But I can see that now.

/malun
dampy

Post by dampy »

When i connect to the local adress everything works fine.
But i always test on a laptop outside which is not on the network, so with another internet connection. Because you can't test on your local computer.

I will set the stream open, to try again within 15 minutes now, just a moment
dampy

Post by dampy »

ok, i put the stream on with port 8081
malun
Site Admin
Posts: 1591
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

Ok, I could connect to the page, but the applet dont get the right address. Perhaps you forgot to "force your public ip" this time...
The html says 10.0.0.151, and this will make the applet show an error message.
Please check your settings again.

/malun
dampy

Post by dampy »

a little progress this time: the IP cam still works! And this time i could see the applet on the laptop with error: need chk host signed applet.

I did put the public adress then it says: Url will be: 145.....:8081 or
10.x.x.151:8081/local.html

Do I probably have to change this 10 number in the streamfolder in the template?
malun
Site Admin
Posts: 1591
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

Is 10.0.0.151 the address you get when you press the get-button? You should get 145.xx.xx.xx. Perhaps I've made something wrong...

/malun
dampy

Post by dampy »

no when i push the button the 145 comes for the public adress
malun
Site Admin
Posts: 1591
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

No, the template file contains variables for thoose values. So you don't need to change them there. Yawcam will replace the variables with the real values entered in the settings.
But If you already have chaged the template files, and removed the varable names... this might be the problem.

How does your template file look?

/malun
dampy

Post by dampy »

I sent you an email with a little screenshot of the streamconfigurations and the templates, just a moment
malun
Site Admin
Posts: 1591
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

It should look like this:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Yawcam</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<div align="center">
  <p><strong><font size="5" face="Verdana, Arial, Helvetica, sans-serif">@HEADING</font></strong> </p>
  <p>
    <APPLET CODE=YawApplet.class WIDTH="@WIDTH" HEIGHT="@HEIGHT">
      <param name="Host" value="@HOST">
      <param name="Port" value="@PORT">
    </APPLET>
  </p>
  <p><a href="http://www.yawcam.com" target="_blank"> <font face="Verdana, Arial, Helvetica, sans-serif">www.yawcam.com</font></a></p>
</div>
</body>
</html>
/malun
malun
Site Admin
Posts: 1591
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

dampy wrote:I sent you an email with a little screenshot of the streamconfigurations and the templates, just a moment
Good.

/malun
malun
Site Admin
Posts: 1591
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

There was some errors in the template file. The varialbe names had been replaced with real values in the template file. Then Yawcam will not be able to replace the values with real valeus when it generates the real file. Please try again with the new template file i emailed you. (That file contain exactly the same html code I posted above)

/malun
dampy

Post by dampy »

i did that
malun
Site Admin
Posts: 1591
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

Good, And now I'm able too see you in booth the ipcam and in yawcam. :D

/malun
Post Reply