replicate a live stream from one server to another with php and wget [slightly ot]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



has anyone here used wget or similar command  to redirect/reflect  a  
live stream data  from one server to another server ?
I wanted to use each server's upload bandwidth to transfer a live  
stream to a new server
that way, my hope is that I can balance the bandwidth load a bit  
between servers for users in different areas.
Would it just be a question of duplicating the headers of the  
incoming file and redirecting it to another server?
I am 'fishing' a bit so any help from those who use php with live  
streaming is appreciated.


Server side:
live stream  is encoded and sent to
streaming server 1 in Los Angeles  which sends the data to
streaming server 2 in Chicago which sends the data to
streaming server 3 in Mexico City


Client Side:
The below is pretty simple to do :)
When the user tries to access the live broadcast stream, a php script determines the nearest non-overloaded server. In this case, the user is directed to the live stream on server two in Chicago
many thanks

g

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux