# how to limit the number of viewers per stream

**URL:** <https://community.wowza.com/t/how-to-limit-the-number-of-viewers-per-stream/41864>\
**Category:** Wowza Streaming Engine\
**Created:** [February 9, 2014, 1:32pm UTC](https://community.wowza.com/t/how-to-limit-the-number-of-viewers-per-stream/41864 "2014-02-09T13:32:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cherif\_vegeta](https://avatars.discourse-cdn.com/v4/letter/c/6f9a4e/32.png) [@cherif\_vegeta](https://community.wowza.com/u/cherif_vegeta)\
**Post date:** [February 9, 2014, 1:32pm UTC](https://community.wowza.com/t/how-to-limit-the-number-of-viewers-per-stream/41864/1 "2014-02-09T13:32:28Z")

</div>

how to limit the number of viewers per stream to wowza media server

I followed the steps in this tutorial:

> **[Limit the number of viewers of a stream](https://www.wowza.com/docs/how-to-limit-the-number-of-viewers-to-a-stream-modulelimitstreamviewers)**
>
> Set a maximum number of viewers per steam at the application or stream level using the LimitStreamViewer module in Wowza Streaming Engine.

and I put the changes on the Application.xml file

> ModuleLimitStreamViewers \< / Name\>
> 
> Limit connects to an Application \</ description \>
> 
> Com.wowza.wms.plugin.collection.module.ModuleLimitConnectionsToApplication \</ Class\>
> 
> \</ Module\>
> 
> \</ Modules\>
> 
> \< - Properties defined here Will Be added to the IApplication.getProperties () and IApplicationInstance.getProperties () collections →
> 
> Test \< / Name\>
> 
> 2 \< / Value \>
> 
> Integer \< / Type\>
> 
> \< / Properties\>
> 
> AllowEncoder \< / Name\>
> 
> FM \< / Value \> \<! - FM Wirecast →
> 
> \< / Property\>
> 
> I want to make the viewers number is 2 , I have tested but the result more than 2 viewers how limited the number
> 
> help me

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [February 12, 2014, 7:45am UTC](https://community.wowza.com/t/how-to-limit-the-number-of-viewers-per-stream/41864/2 "2014-02-12T07:45:30Z")

</div>

Did you re-start Wowza after making these changes?

Salvadore

---

<div class="post-metadata">

**Author:** ![cherif\_vegeta](https://avatars.discourse-cdn.com/v4/letter/c/6f9a4e/32.png) [@cherif\_vegeta](https://community.wowza.com/u/cherif_vegeta)\
**Post date:** [February 13, 2014, 11:33am UTC](https://community.wowza.com/t/how-to-limit-the-number-of-viewers-per-stream/41864/3 "2014-02-13T11:33:34Z")

</div>

thank you for your reply

I uninstalled and reinstalled after the I’m doing the same thing and it works very well
