1.4 KiB
1.4 KiB
Local Recordings Runbook
Use this flow to validate Track 4 locally.
Storage location
- Default root:
.data_local\recordings - Override with
CC_RECORDINGS_DIR
Files are copied into a managed layout:
YYYY\MM\DD\rec_<id>_<file-name>
Import flow
- Submit a
recording.readyvoice event with:payload.source_path- optional
file_name,mime_type,duration_seconds,recorded_at
- Import it through:
POST /proxy/recording/recordings/import-from-voice-event/{event_id}
You can also register directly by server path:
POST /proxy/recording/recordings/register
Review in supervisor shell
- Open
http://localhost:8080/supervisor - Go to
Recordings - Load recordings or import by
voice_event_id - Select a row to open metadata and preview
- Use:
Openfor metadata + playbackDownloadfor file exportArchiveto mark the recording as archived
Missing file handling
If the DB row exists but the stored file is gone:
- content request returns
410 Gone - the row status becomes
missing - the metadata remains available for diagnosis
Limits
- Default max size:
25 MB - Override with
RECORDING_MAX_BYTES
Demo seed
scripts\prepare_demo.ps1 now creates:
- one sample
.wavfile - one
recording.readyvoice event - one imported managed recording
The generated recording_id is stored in:
.local_stack\demo-seed-summary.json