Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

scheduling/control of streams help and ideas

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
nixMe



Joined: 08 Apr 2008
Posts: 4

PostPosted: Tue Apr 08, 2008 5:09 am    Post subject: scheduling/control of streams help and ideas Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Apr 08, 2008 11:56 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
nixMe



Joined: 08 Apr 2008
Posts: 4

PostPosted: Tue Apr 08, 2008 4:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber