Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

max_streams #244

Open
streamingsystems opened this issue Aug 16, 2023 · 0 comments
Open

max_streams #244

streamingsystems opened this issue Aug 16, 2023 · 0 comments

Comments

@streamingsystems
Copy link

Good day sir,

We love your module.

This is not a bug but a quick question.

There is a setting "max_streams" and I am not sure what this does. We want to have our server at maximum capacity and not sure what to put this value ut.

https://github.com/arut/nginx-rtmp-module/wiki/Directives#max_streams

I looked through the source code and was unable to determine that this value does.

The documents say this:

Sets maximum number of RTMP streams. Data streams are multiplexed into a single data stream. Different channels are used for sending commands, audio, video etc. Default value is 32 which is usually ok for many cases.

I understand what "max_connections" means and we leave that off by default (so we have unlimited connections).

Is max_streams the number of concurrent RTMP streams that can be connected at one single time? In other words if we have one encoder connected sending the data and 2 RTMP "clients" connected and reading the data, that would count as "3".

The default for this says "32" does that mean that if you have 32 RTMP connections at one time and you try to connect one more it will get rejected?

Thanks of you time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant