Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Correct recording-sessions doc: the 200 MB cap is fixed (MAX_RECORDING_MB never existed) and server-streaming mode has no size warning, only the hours ceiling with an 80% warning
Murtaza Nasir594552947671
diff --git a/docs/admin-guide/recording-sessions.md b/docs/admin-guide/recording-sessions.mdindex ed9a1f92..5e1ff7e6 100644--- a/docs/admin-guide/recording-sessions.md+++ b/docs/admin-guide/recording-sessions.md@@ -13,7 +13,7 @@ Off by default; opt in with `ENABLE_SERVER_RECORDING_CHUNKS=true`. It is planned| Aspect | Off (legacy) | On (server sessions) ||---|---|---|| Where audio lives during recording | Browser RAM + IndexedDB | Server disk (`UPLOAD_FOLDER/_sessions/<id>/`) |-| Max recording size | `MAX_RECORDING_MB` hard auto-stop (default 200 MB) | Soft warning at the same threshold; hours-based ceiling instead (`RECORDING_MAX_HOURS`, default 8h) |+| Max recording size | Hard auto-stop at 200 MB (fixed; protects browser RAM), with a warning at 80% | No size limit or size warning; hours-based ceiling instead (`RECORDING_MAX_HOURS`, default 8h, with a warning at 80%) || Crash recovery | IndexedDB chunks survive tab refresh | Server-side chunks survive tab/browser/device crash || Finalize | Single-shot `POST /upload` | `POST /upload/session/{id}/finalize`; backend ffmpeg concat demux stitches chunks || Reverse-proxy chunk POSTs | One big upload (subject to body-size + read-timeout) | Many small POSTs per recording, plus a longer finalize call |@@ -30,7 +30,7 @@ Environment variables, all optional:| `RECORDING_SESSION_MAX_CHUNK_BYTES` | `16777216` (16 MB) | Per-chunk upload cap. Generous; MediaRecorder chunks are typically <1 MB. || `RECORDING_SESSION_ALLOWED_MIME_TYPES` | `audio/webm,audio/ogg,audio/mp4,audio/mpeg,audio/wav,audio/x-m4a,video/webm,video/mp4` | Comma-separated whitelist. The video types carry the optional tab/window/screen video capture. || `RECORDING_SESSION_CLEANUP_INTERVAL_SECONDS` | `3600` | How often the background thread sweeps expired sessions. Set to `0` to disable. |-| `RECORDING_MAX_HOURS` | `8` | Absolute ceiling on a single recording. Stops the recorder automatically at this duration regardless of size. |+| `RECORDING_MAX_HOURS` | `8` | Absolute ceiling on a single recording. Stops the recorder automatically at this duration regardless of size; a toast warns the user at 80% of the ceiling. || `RECORDING_VIDEO_KBPS` | `2500` | Video bitrate cap (kbps) for the opt-in tab/window/screen video capture. At the default, an hour of capture is roughly 1 GB. |## Reverse-proxy requirements