# limit number of Streamer(incoming to wowza)

**URL:** <https://community.wowza.com/t/limit-number-of-streamer-incoming-to-wowza/46860>\
**Category:** Hire a Consultant\
**Created:** [May 31, 2016, 3:17pm UTC](https://community.wowza.com/t/limit-number-of-streamer-incoming-to-wowza/46860 "2016-05-31T15:17:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajan\_shah](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@rajan\_shah](https://community.wowza.com/u/rajan_shah)\
**Post date:** [May 31, 2016, 3:17pm UTC](https://community.wowza.com/t/limit-number-of-streamer-incoming-to-wowza/46860/1 "2016-05-31T15:17:38Z")

</div>

Hi,

I like to restrict number of input connections(streamer) in wowza.

Right now I am able to restrict total number of connections(streamer + viewer) using wowza setting and also number of viewers.

Is there any way to restrict number of **input connection** (streamer)?

suppose one application has total number of connection = 50

and I want to apply

**20 connections for streamer**

30 connections for viewer.

how can I do this?

---

<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:** [May 31, 2016, 7:55am UTC](https://community.wowza.com/t/limit-number-of-streamer-incoming-to-wowza/46860/2 "2016-05-31T07:55:26Z")

</div>

Hello there.

There is nothing built-in to Wowza to do this, but you can do it with a custom module. Take a look at these modules as a starting place:

[How to override publish to remap a stream name](https://www.wowza.com/docs/how-to-override-publish-to-remap-a-stream-name)

How to modify or control a stream by overriding playback

Also take a look at this HTTPProvider for examples:

[How to get detailed server info with an HTTP Provider](https://www.wowza.com/docs/how-to-get-detailed-server-info-with-an-http-provider)

If you need assistance with this, please consider posting a request to the [find a consultant forum.](http://community.wowza.com/c/-/7)

Regards,

Salvadore

---

<div class="post-metadata">

**Author:** ![SiggDev](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@SiggDev](https://community.wowza.com/u/SiggDev)\
**Post date:** [June 1, 2016, 11:12am UTC](https://community.wowza.com/t/limit-number-of-streamer-incoming-to-wowza/46860/3 "2016-06-01T11:12:43Z")

</div>

Apart from custom module solution, that salvadore explained, you could also change your setup to the origin/edge configuration. This way, all your “streamer” connections would go to the origin, which wouldn’t be directly accessible to viewers. The edge server would pull the streams from origin and would be directly accessible to viewers.

This will allow you to limit the number of connections in total per server, but have different servers for viewers and streamers.

You can probably do this yourself, but if you need help, feel free to contact us at wowza@siggdev.com

Regards,

SiggDev
