# Playback

## 1 Playback settings

![Fig. 1: The playback settings menu](/files/ijGf2Iu5WMub1bEhh3eJ)

{% hint style="info" %}
Settings for playback are only visible in expert mode.
{% endhint %}

{% hint style="warning" %}
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 %}

## Security

### 2 Allow all referer

Enable or disable Allow access from all referrers.

### 3 CORS security

The HTTP request header "Referrer" contains the page's absolute or partial address from which the request originates. The referrer header allows a server to identify a page from which it is visited. This data is used by datarhei Restreamer to bring essential protection to the live streams.

The access control takes effect when the hook is deactivated, and a domain is entered.

{% hint style="info" %}
**Syntax**: One address per line.\
The default value is allow all: \*

Accept all accesses.
{% endhint %}

## 4 HLS statistics for /memfs.

The audience count is displayed when the hook is active.

### 5 Ignore IP ranges

To exclude viewers from the statistics, it may be necessary to ignore IP addresses so that the statistics are not distorted. For this purpose, a list of IP ranges in CIDR notation can be created in the text field, e.g., 127.0.0.1/32, which are not covered by the statistics.

{% hint style="info" %}
**Syntax:** One IP range per line.&#x20;

Record all sessions: Leave field empty
{% endhint %}

### 6 Session timeout

Length of the time interval in seconds when the viewer's session is terminated to no longer be captured by the statistics.&#x20;

{% hint style="info" %}
The default value is: 30 seconds
{% endhint %}

### 7 Persist session history

Session data is stored on the hard disk of the core host system.

## Learn more

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

{% content-ref url="/pages/5UuleQZ0OaxSy9HgMewO" %}
[What are environment variables?](/restreamer/knowledge-base/faq/what-are-environment-variables.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/playback.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.
