# RTMP

## 1 RTMP settings

![Fig. 1: The menu for the RTMP settings](/files/IWTo4BhzrgClyxoHvDYh)

{% hint style="info" %}
Locked settings that have been set with environment variables at startup are marked with <mark style="background-color:red;">ENV</mark>. Disable or adjust environment variables unlocks the settings.
{% endhint %}

{% hint style="info" %}
RTMP and RTMPS are supported simultaneously.
{% endhint %}

## RTMP/S

### 2 RTMP server

The ✅ checkmark activates the RTMP server.

### 3 RTMPS server

The ✅ checkmark activates the RTMPS server.

### 4 Port RTMP

Port settings for the RTMP server.

{% hint style="info" %}
The default value for the listening address is port: 1935
{% endhint %}

### 5 Port RTMPS

Port settings for the RTMP/S server.

{% hint style="info" %}
The default value for the listening address is port: 1936
{% endhint %}

### 6 App

The RTMP application name is a path prefix for the stream name for publishing and playback. This is sometimes required by RTMP clients. It can be an arbitrary name (e.g. `/foobar`) and will be prefixed to the stream name (e.g. `/foobar/live.stream`).

### 7 Token

RTMP token for publishing and playback. The token is the value of the URL query parameter 'token'.

## Learn more

{% content-ref url="/pages/-MXb\_BFQq0tV8S0Onai7" %}
[Installing](/restreamer/installing/minimum-requirements.md)
{% endcontent-ref %}

{% content-ref url="/pages/Os2NcMmPtTG6sKqCztmb" %}
[Why do I see ENV and cannot select anything?](/restreamer/knowledge-base/troubleshooting/why-do-i-see-env-and-cannot-select-anything.md)
{% endcontent-ref %}

{% content-ref url="/pages/TQ7MQ6TVzfagU06cE6LO" %}
[System settings](/restreamer/knowledge-base/manual/system-settings.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MYd\_eWFK56LZQkA-iAN" %}
[User Guides](/restreamer/knowledge-base/user-guides.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.datarhei.com/restreamer/knowledge-base/manual/system-settings/rtmp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
