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 

Prioritize client (allow specific client to login when full)

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



Joined: 18 Sep 2009
Posts: 4

PostPosted: Fri Sep 18, 2009 1:10 am    Post subject: Prioritize client (allow specific client to login when full) Reply with quote

I have a need that does not seem to have been adressed often.

I have a specific client that needs to be able to login even when the max-listeners is reached on a specific mountpoint. The global clients setting is set higher, so it will not get in the way.

This is how I think I might make it work :

Way 1 :
With the kh branch (I already have it compiled, just need to finish the config to test), I want to set up a listener (which client to use is still unclear to me), which uses the relay username to login. That should override the max-listeners, at least in theory. Did someone try this before ? If yes, can I set a relay and realy password for each mountpoint, or is that strickly a global parameter ?

Way 2 :
Again with the kh branch (to allow the salve to connect even if the master is full), create a master/slave setup, and setup either the master or the slave only for these users, by not publishing it anywhere, probably on the same machine, but on a diferent IP.

Finally, if these 2 options fail, anybody has an idea to make it work ?

Thanks !

- Cyb
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Sep 18, 2009 2:23 am    Post subject: Reply with quote

each listener client could be marked as a slave and therefore bypass those per-mount limits and that setting can be done either as a match against relay user/pass (as you have said) or via a response header from url auth (icecast-slave: 1).

The only other way currently is to do what the slave icecast does and issue a request like

GET /admin/streams?mount=/mountpoint...

This is what the kh slave issues to retrieve the stream and the master will see that request as a slave and bypass those limits (assuming authenticated). You can apply an authentication section on /admin/streams to allow for multiple usernames/passwords (url or htpasswd).

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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