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 

How to set 'Max Listener' value

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



Joined: 28 May 2014
Posts: 7
Location: UK

PostPosted: Wed May 28, 2014 9:39 pm    Post subject: How to set 'Max Listener' value Reply with quote

Hi

I wonder if someone can point me in the right direction.

I have managed to get IceCast set up and running on my
Raspberry Pi, but I am unsure how I go about setting the
the Max amount of listeners who can connect to my stream.

I have looked under the Administrator section via my browser
and can see that the max_listener value is set at 'unlimited'
(see screenshot below max listener value shown clouded in red).
Could someone explain how I can change this from 'unlimited'
to a value of say '50'.

I have had a look at my icecast.xml file in the /etc/icecast2 folder
but can not see anywhere to change this max listener value.
So am not sure if I am looking in the correct file or location.

Any help would be appreciated.

[img][/img]
Back to top
View user's profile Send private message
konsolenritter



Joined: 08 Sep 2009
Posts: 18
Location: Germany

PostPosted: Wed May 28, 2014 9:51 pm    Post subject: Reply with quote

The icecast.xml file is the right point to do this.

Please set inside the
Code:
<limits>
section a tag like this
Code:
<clients>50</clients>
and restart/reload your icecast environment.

Thats all. Please have a look under /usr/share/doc/icecast2/ there should be further docs and examples for you.
Back to top
View user's profile Send private message
solorize



Joined: 28 May 2014
Posts: 7
Location: UK

PostPosted: Wed May 28, 2014 10:10 pm    Post subject: Reply with quote

Hi konsolenritter,

Thanks for your prompt reply.

I have had a look under the <limits> section and there is already
a tag which shows <clients>100</clients>.

Does the value of 100 indicate 'unlimited' listeners?

I will change the value to 50 and see if it then updates the
display on the Administrator screen.

edit:
Ok I have updated and restarted but the Administrator screen
still shows Max Listeners as Unlimited Confused
Back to top
View user's profile Send private message
konsolenritter



Joined: 08 Sep 2009
Posts: 18
Location: Germany

PostPosted: Wed May 28, 2014 10:36 pm    Post subject: Reply with quote

You are right! The client restriction described above restricts the client connections possible to the icecast server at all (globally).

Just looked into the doc directory myself:
There is within the
Code:
<mount>
section the possibility to set
Code:
<max-listeners>50</max-listeners>
, that is finally per mountpoint setting. Given the word "max-listeners" it should exactly be what you looked for.

Does that work for you?
Back to top
View user's profile Send private message
solorize



Joined: 28 May 2014
Posts: 7
Location: UK

PostPosted: Thu May 29, 2014 12:04 pm    Post subject: Reply with quote

Hi

I did not get chance to try what you have suggested before
going to work. So I will edit the code tonight and will let
you know if it works.

Thanks
Back to top
View user's profile Send private message
solorize



Joined: 28 May 2014
Posts: 7
Location: UK

PostPosted: Thu May 29, 2014 8:22 pm    Post subject: Reply with quote

Hi,

I edited my /etc/icecast2/icecast.xml file as below:

Code:
<mount>
    <mount-name>/mpd</mount-name>
    <max-listeners>50</max-listeners>
</mount>


And that has now worked Smile , see screen shot of my Administrator Screen, below.

[img][/img]

Thanks for your help in solving this for me.

All the best.
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