Wowza Community

limit number of Streamer(incoming to wowza)

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?

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

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

If you need assistance with this, please consider posting a request to the find a consultant forum.

Regards,

Salvadore

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