Posted by J.O. Aho on 11/19/06 07:07
Brent Palmer wrote:
> Is it possible to relay a radio stream from my home server to my online web
> server and then have connections from their.
client -> web-server -> home-server
This requires that the web-server captures your stream all the time, nothing
you really do in PHP but in the streaming program.
> That way I would only have one connection from my home server to my web
> server and multi connections from my web server.
> Can this be done withy PHP?
You could try to use header() to tell the client browser that it's a stream of
some kind and then use fopen() or/and socket_*(). The downside is that this
can lead to more than one connection to your home-server (one per person
connecting to the page on the web-server).
Far better to use a multicast capable software on your home-server, then you
only have one stream sent to many users instead of one stream to each user.
//Aho
Navigation:
[Reply to this message]
|