Reply to Re: Internet radio relay

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация