Reply
Thread Tools
Posts: 105 | Thanked: 48 times | Joined on Aug 2008
#11
the ajaxcam guy is doing exactly what I posted. I just left off the cache busting random number (the Math.Random part) that he uses because it doesn't work with all feeds. It shouldn't be necessary with an IP camera; but I guess it is with the one you're using.

perhaps if you put a textbox on the page and give it focus, the browser will maintain focus and keep refreshing.
 
endorphinum's Avatar
Posts: 90 | Thanked: 56 times | Joined on Mar 2008 @ Hamburg, Germany
#12
Is it a webcam taht ANYONE could or should see?
I am just asking because if yes, then i could make a mojocafe.net
widget out of it!
 
Posts: 56 | Thanked: 4 times | Joined on Dec 2007
#13
Originally Posted by endorphinum View Post
Is it a webcam taht ANYONE could or should see?
I am just asking because if yes, then i could make a mojocafe.net
widget out of it!

no, private
 
Posts: 56 | Thanked: 4 times | Joined on Dec 2007
#14
Well I had thought it was working with email notifcations off, but turned it on today and back to same issue it appears, seems as if the script just stops running in the browser for some reason. Not sure why it works sometimes and not others now :-\ Something must be takign focus or an issue with browser itself.

Last edited by s2k; 2009-02-19 at 10:49.
 
Posts: 56 | Thanked: 4 times | Joined on Dec 2007
#15
I guess maybe the N800 needs to go back to collectign dust at this point if a simple script wont work consistently and no other webcam viewer options
 
Posts: 631 | Thanked: 837 times | Joined on May 2007 @ Milton, Ontario, Canada
#16
If it is indeed an MJPEG stream, then you can use mplayer as I'd originally suggested:

http://www.lavrsen.dk/twiki/bin/view...gStreamViewing

If it's just a sequence of JPEG images that you must manually refresh, then your browser approach is probably the easiest solution; try turning the setTimeout value up so that it's refreshing a little less often and see if that has any effect.
 
Posts: 56 | Thanked: 4 times | Joined on Dec 2007
#17
It is just a series of JPEGs. The script finally worked yesterdya when I tyrned off email notifications, but today after a restart it doesn't work at all No idea why.
 
Posts: 56 | Thanked: 4 times | Joined on Dec 2007
#18
It appears to be perhaps some weird glitch related to the screen settings to auto turn it off. Even though I have it set to always be on when charging, it seems to stay lit but appear disabled. I reduced the time settings in there to 30 seconds and the website seems to freeze around that time. Only a guess at this point :-\

Edit - seems to be the case, set to 1 min on display settigns and web froze after 1 min, same at 30 seconds setting.

Any ideas why this would happen when it is plugged in and anyway to override?

Last edited by s2k; 2009-02-19 at 14:42.
 
Posts: 631 | Thanked: 837 times | Joined on May 2007 @ Milton, Ontario, Canada
#19
My guess based on that feedback would be that the browser is doing power saving by stopping anything that it's running after the given idle time, whether the screen is "on" or not. (Remember screen on != idle or active).

Perhaps a better approach would be to build a simple python application that periodically loads the given image file and displays it on screen... shouldn't be very hard to do using something like pygame.
Hopefully somebody with a bit more python experience steps up here, but if not I'll see if I can throw something basic together at some point this evening...
 
Posts: 56 | Thanked: 4 times | Joined on Dec 2007
#20
Turned out it was the screen display setting. Set them to 24 hours instead of 5 mins and works fine.
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:18.