Repository navigation
Recording and Storage
Server-side recording is an optional safety copy. It is disabled by default and is not a substitute for monitoring the live program output.
macOS:
"$HOME/Library/Application Support/IRL Server/app/irl-serverctl" recording enableLinux:
sudo irl-serverctl recording enableThis changes RECORDING_ENABLED atomically, creates the recording directory and restarts both services. Do not enable it mid-stream unless a short interruption is acceptable.
# macOS
"$HOME/Library/Application Support/IRL Server/app/irl-serverctl" recording status
"$HOME/Library/Application Support/IRL Server/app/irl-serverctl" recording list
# Linux
sudo irl-serverctl recording status
sudo irl-serverctl recording listThe status command shows format, segment duration, retention and directory. The list command prints local .mp4 and .ts paths; do not paste sensitive local paths into public issues.
# macOS
"$HOME/Library/Application Support/IRL Server/app/irl-serverctl" recording disable
# Linux
sudo irl-serverctl recording disableDisabling recording stops future writes and restarts the services. Existing files are intentionally not deleted.
| Platform | Directory |
|---|---|
| macOS | ~/Library/Application Support/IRL Server/state/recordings |
| Linux | /var/lib/irl-server/recordings |
Files are grouped under the live path and named by timestamp.
-
fmp4is the default. It is efficient for segmented recordings and produces.mp4files. -
mpegtsproduces.tsfiles and can be more tolerant of abrupt interruption.
Change RECORDING_FORMAT only while stopped, then restart services.
Examples:
# Keep indefinitely
RECORDING_DELETE_AFTER=0s
# Keep one day
RECORDING_DELETE_AFTER=1d
# Keep seven days
RECORDING_DELETE_AFTER=7dAutomatic retention is performed by MediaMTX. Always verify available space before a long production.
The dashboard and irl-serverctl status report free space, recording count and aggregate size. Storage scanning is cached for 30 seconds.
| Level | Threshold |
|---|---|
| Warning | Less than 10% free, or less than 5 GiB on disks at least 50 GiB |
| Critical | Less than 3% free or less than 1 GiB |
The software warns but never deletes files outside configured MediaMTX retention. If space is critical, stop recording first, then archive or remove only recordings you have verified elsewhere.
- Run
irl-serverctl status. - Confirm storage is
okand estimate expected data volume. - Enable recording before the event.
- Send a short test stream.
- Confirm a non-empty segment appears.
- Check that it plays with video and audio.
- After production, disable recording before copying files.
- Verify the copy before deleting local segments.
Home · Quick start · Troubleshooting · Repository · Releases · License
Tailnet IRL Server · Developed by Nik Pottbecker