Is it possible to use php to listen to a music stream from one server and distribute it to visitors on the other server?
I am shoutcasting music using winamp on my home pc. I want to stream this music to a php script on a webhost so they take the load of the all the people listening and I only have 1 listener (the webhost) on my pc.
Also. any guidelines on how this would be done?
Remember its a webhost, I can't use any other server side stuff.
Restreaming with php
Moderator: General Moderators
Re: Restreaming with php
I've never tried restreaming, but perhaps you could modify this php streaming script to pull data from a remote host instead of your webserved directory. http://manas.tungare.name/software/whispercast/ I know this isn't exactly what you're looking for but it's a good skeleton to start with assuming know know your way around php.
Your webhost will have to allow server side scripting (i.e. php). At least if I understand your configuration correctly.
Your webhost will have to allow server side scripting (i.e. php). At least if I understand your configuration correctly.