Wowza Community

Unable to Get maxmium incoming streams

Hi,

How to get maximum incoming streams and set incoming streams number(incoming stream number is not include to stream viewers) using java API.

You can get the incoming streams via api but I don’t believe we have a module that restricts total inbound streams to a number.

We have a module that sets limitations for playback but not publishing. To restrict total inbound streams to a number would require custom module.

You might want to look at the rest api end point that will get all incoming streams or even the serverinfo http provider

You can see in the swagger UI:

GET /v2/servers/{serverName}/vhosts/{vhostName}/applications/{appName}/instances/{instanceName}

You will get in response something like:

{

“incomingStreams”: [ … ],

“outgoingStreams”: [ … ],

“recorders”: [ … ],

“streamGroups”: [ … ],

“name”: “​nameOfInstance​”

}