how to limit the number of viewers per stream

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

I followed the steps in this tutorial:

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

Did you re-start Wowza after making these changes?

Salvadore

thank you for your reply

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