| View previous topic :: View next topic |
| Author |
Message |
nixMe
Joined: 08 Apr 2008 Posts: 4
|
Posted: Tue Apr 08, 2008 5:09 am Post subject: scheduling/control of streams help and ideas |
|
|
I used to be really into radio broadcasting when I was younger but I stopped for a few years and now I'm trying to pick it back up. I'm also a developer/coder with an ambition to make a decent DJ panel wrapped around icecast/shoutcast (icecast higher priority). The biggest hurdle in my mind is controlling source streams from the arbitrary amount of DJ's that will be broadcasting (which my icecast server will relay to listeners).
So far, I have thought to setup ezstream/ices2 to constantly stream to the local icecast server and within icecast this local stream will be it's own mount. Then, each DJ will have their own mount to icecast with the fallback set to the local stream mount. This (in my head) seems like it would work fine for a basic setup but I would like to add more to this.
What if apache (or something) can be setup to listen for any requests on the same port that icecast is listening for source streams and foreach request a php script is executed validating it's a DJ's valid time slot to start broadcasting as well as other authentication? It might work but how do you block icecast with apache/php and more importantly how do you pass on the stream after it goes through the script.
I was looking at the ability to execute a program when a source connects but I don't think the program executed can really control icecast. Perhaps I'm not thinking it through enough which is why I'd like your opinion. _________________ Design right
Code fast
Optimize later |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Apr 08, 2008 11:56 am Post subject: |
|
|
Look at the development work at my web site, I've added a stream_auth option to url auth that passes source client authentication off to an external script.
karl. |
|
| Back to top |
|
 |
nixMe
Joined: 08 Apr 2008 Posts: 4
|
Posted: Tue Apr 08, 2008 4:55 pm Post subject: |
|
|
That's awesome. I also found a php extension library to libshout that looks like fun and useful. Lot of cool things are around now that weren't back in the day. _________________ Design right
Code fast
Optimize later |
|
| Back to top |
|
 |
|