DVR Settings
The <DVRSettings> block enables nDVR (network Digital Video Recording) functionality, providing a short live-stream rewind mechanism based on an in-memory cache of the stream data. This allows viewers to pause and rewind a live stream within the cached time window.
Available in: mono, origin, edge
Sample Configuration
DVRSettings block
<DVRSettings enabled="true">
<CacheSize>100</CacheSize>
</DVRSettings>
Parameters
| Parameter | Description | Default |
|---|---|---|
DVRSettings:enabled | Enables or disables DVR functionality for this application. | false |
<CacheSize> | Amount of memory (in MB) allocated for storing the cached video stream. The actual rewind duration depends on the stream's resolution and bitrate. | 100 |
Note
DVR cache is stored in memory. For high-bitrate streams, 100 MB may only provide a few minutes of rewind. Plan your <CacheSize> accordingly based on the expected stream bitrate.
Environment Variables
All parameters support environment variables using the ${EV:VARIABLE_NAME} syntax. Fields locked by environment variables cannot be modified via the REST API.
Support Needed?
If you have any questions or need assistance, please create a support ticket and our team will help you.