Here’s a small script that distributes a live HTTP video stream to a number of clients. I use it to save upstream bandwidth when connecting multiple clients inside the LAN to a live stream outside the LAN.
The script acts like a proxy. It opens one HTTP connection to the remote server to get the stream, and listens for requests of local clients on a given port. Received data then will be delivered to all connected clients.
Read on to find out what this can be good for…
