---
description: Control area for the compilation of statistics of the users.
---

# Playback

## 1 Playback settings

![Fig. 1: The playback settings menu](https://304400748-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS3qj4cW170AMeE1ckj-1703796690%2Fuploads%2FCaqpiCTMvbIm3qCQmNof%2Fsys-conf-playback.png?alt=media\&token=fb4260df-01b1-4d36-8cb2-00ddd4b7d70c)

{% 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="../../../installing" %}
[installing](../../../installing)
{% endcontent-ref %}

{% content-ref url="../../faq/what-are-environment-variables" %}
[what-are-environment-variables](../../faq/what-are-environment-variables)
{% endcontent-ref %}

{% content-ref url="../../user-guides" %}
[user-guides](../../user-guides)
{% endcontent-ref %}
