Changed router

Questions? Suggestions? Need help? Talk about anything related to Yawcam...
Post Reply
Dispatcher35
Posts: 4
Joined: Sun May 13, 2007 11:45 pm

Changed router

Post by Dispatcher35 »

Since I changed my router it seems that when anyone opens up my stream page it shows the off line picture for about a minute or two before the stream starts. Never had this problem with my old router.
malun
Site Admin
Posts: 1590
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

I can not figure out why a router change should make a difference...

Can the viewers see the "loading image" first, before the "offline image" shows up?
If the browser for some reason can't load the "loading image" the "offline image" will be displayed instead. Check that the file loading.jpg is located in the right location like this: <yawcam-directory>\stream\img\loading.jpg

You can change the time the "loading image" is displayed before the "offline image" shows up when the browser doesn't get any data from the webcam. Try this and see if it makes any difference.

Edit the file <yawcam-directory>\stream\template_js.html with a text editor. Look for the code:

Code: Select all

function fixConnectTimeout()
{
	ct_ = setTimeout("showErrorImage();",4000);
}
Replace 4000 with 30000
(4000 is 4000ms that is 4 seconds. 30000 is 30 seconds.)

This was all I could think of for now.
/malun
Post Reply