Question about possible lag on internet radio station
Posted: Thu Jan 12, 2006 5:11 pm
I've currently got a shoutcast internet radio system set up and running on my computer.
I've got a little page on my site that'll let you stream the music in the web page, along with a little information about the server.
I'd like to lock down the NAT rules so that only this page can be used to connect to the server (just for the sake of keeping things reasonably locked down). At the moment this of course doesn't work - because it's streamed to each client separately. What I intend to do is put this page into a password protected directory so that I can access it but others can't - and write a little system to control the playlist etc. I was curious if there was any chance that using PHP to connect to the shoutcast server, then provide a URL on that server from which to stream, would work without too much lag.
A - Final client
B - Server with URL on it
C - Server running Shoutcast server
A little simpler explanation would be that A interacts with the system I've written on B, which then acts as a proxy between A and C which is playing the music so that only B connects to A. C would tell B what to ask of A. Not a very technical explanation but it maybe gets my point across.
Is this feasible?
I've got a little page on my site that'll let you stream the music in the web page, along with a little information about the server.
I'd like to lock down the NAT rules so that only this page can be used to connect to the server (just for the sake of keeping things reasonably locked down). At the moment this of course doesn't work - because it's streamed to each client separately. What I intend to do is put this page into a password protected directory so that I can access it but others can't - and write a little system to control the playlist etc. I was curious if there was any chance that using PHP to connect to the shoutcast server, then provide a URL on that server from which to stream, would work without too much lag.
A - Final client
B - Server with URL on it
C - Server running Shoutcast server
A little simpler explanation would be that A interacts with the system I've written on B, which then acts as a proxy between A and C which is playing the music so that only B connects to A. C would tell B what to ask of A. Not a very technical explanation but it maybe gets my point across.
Is this feasible?