Skip to content

max_streams #244

Open
Open
@streamingsystems

Description

@streamingsystems

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions