View previous topic :: View next topic |
Author |
Message |
solorize
Joined: 28 May 2014 Posts: 7 Location: UK
|
Posted: Wed May 28, 2014 9:39 pm Post subject: How to set 'Max Listener' value |
|
|
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 |
|
|
konsolenritter
Joined: 08 Sep 2009 Posts: 18 Location: Germany
|
Posted: Wed May 28, 2014 9:51 pm Post subject: |
|
|
The icecast.xml file is the right point to do this.
Please set inside the
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 |
|
|
solorize
Joined: 28 May 2014 Posts: 7 Location: UK
|
Posted: Wed May 28, 2014 10:10 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
konsolenritter
Joined: 08 Sep 2009 Posts: 18 Location: Germany
|
Posted: Wed May 28, 2014 10:36 pm Post subject: |
|
|
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
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 |
|
|
solorize
Joined: 28 May 2014 Posts: 7 Location: UK
|
Posted: Thu May 29, 2014 12:04 pm Post subject: |
|
|
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 |
|
|
solorize
Joined: 28 May 2014 Posts: 7 Location: UK
|
Posted: Thu May 29, 2014 8:22 pm Post subject: |
|
|
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 , 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 |
|
|
|