I need help. For the first time in a while... I can't get something to work.
I have a port on a box, that when connected to, displays the current image from a webcam. I use javascript to refresh the image/reconnect every so many seconds, it simulates a stream, and works fine for what I'm doing. I append ?randnumber to the end of each refresh to prevent the image being cached.
Now for the problem. This works fine, except that my ISP sucks balls when it comes to upload speed. If I'm lucky I can get about 9-12k. I'm on Charter Cable... I'm wondering if my upload should be capped higher... 9-12k is so little is insane.
Anyways... If more than one person connects, especially while I'm uploading, downloading, or playing a multiplayer game, I get lagged horribly, and I'm sure they get lagged pretty bad.
What I would like to do is, offload the multiple connections to another box at my office. It has a 128k upstream pipe. So far... all of my attempts just forward the traffic to me instead of relay it. I own the connection at my office, and the box, so I can make any necessary changes.
I only want one connection coming to my home box... So the end result should resemble something like this:
Code:
|-------> [viewer]
[my box]--->[relay box]-------|-------> [viewer]
|-------> [viewer]
Anyone know a way to do this without starting over from scratch? I've already put a lot of work into getting the webcam to work, getting it to capture images, and send them upon connection. I know there are software packages available to stream webcams, but I didn't like any of them, and I just prefer to code my own mini-projects. All of my boxes run various versions of Slackware, and I have done full installs plus installed every other piece of software I can get my hands on. Sorry for the long post, just trying to give as many details as possible.
Thanks in advance. I don't know how I'll repay whomever helps with this. I have a free hosting service on my webserver... I'll give whomever helps some webspace or a shoutout or something.
Thanks again in advance...
-Gordon