Webcam

I’m using an very very old compaq laptop as webcam server. It’s something like a 166Mhz Pentium with 32Mb of ram. Wow huh??

This machine is running a software called Teveo from a old company that doesn’t exist anymore. Their service was that you could download this program and then run it on your computer and it would post a snapshot of your webcam on their web page. It was kind of fun as you could browse thousands of snapshots until you found someone that looked interesting.

You would then click on the link and it would load a page from that persons webserver that was built into the Teveo software. You could then look at the person and chat with him or her.

What made me like this software is that it’s streaming the picture to all users at the same time and the reciepients client is running a piece of java code and the result is quiet good.
You’d usually get 2-5 fps (even on my old machine) and the application is rock-solid. It might need rebooting every two or three months which is not bad for a machine that only has 32Mb physical ram but is using well over a 100 at any given time.

The only challenge when including this on this blog was that I need to include a .html file from another server and i couldn’t get this to work with php’s include(”) command. So I needed to put an iFrame on the page and what I ended up doing was to edit post.php in my theme directory to include this right after the the_content tag:


<!--Load the webcam-->
<?php if (is_page('31')) { ?>
	<iframe name="I1" src="http://www.jarnaker.com:9999/guest.htm"
	marginwidth="19" align="center" border="0" frameborder="0"
	width="400" height="347" ALLOWTRANSPARENCY="true">

	Your browser does not support inline frames or is currently
	configured not to display inline frames.

	</iframe>
<?php } ?>

The 31 on the second line is the webcam page which only contains a bit of bla bla and a link to the guestbook.
This is what it looks like: Webcam

Leave a Comment