RTMP
A simple RTMP server for publishing and playing streams
Last updated
Was this helpful?
A simple RTMP server for publishing and playing streams
Last updated
Was this helpful?
The settings for the built-in SRT server. Check out our for more information.
Set this value to true
in order to enable the built-in RTMP server.
By default the RTMP server is disabled.
Set this value to true
to enable the RTMPS server that will run in parallel with the RTMP server on a different port. You have to have set to true in order for enabling the RTMPS server because it will use the same certificate as for the HTTPS server.
By default TLS is disabled.
If the RTMP server is enabled, it will listen on this address. The default address is :1935
.
If the RTMPS server is enabled, it will listen on this address. The default address is :1936
.
Define the app a stream can be published on, e.g. /live
to require the path in an RTMP URLs to start with /live
.
The default app is /
.
To prevent anybody from publish or playing streams, define token to be a secret only known to the publishers and subscribers. The token has to be put in the query of the stream URL, e.g. /live/stream?token=abc123
.
As of version 16.12.0 the token can be appended to the path instead of a query parameter, e.g. /live/stream/abc123
. With this the token corresponds to a stream key.
By default the token is not set (i.e. an empty string).