Skip to main content
The ground station can record the drone’s video as it arrives, so a capture survives even when the operator’s laptop or phone is not connected. There are two recorders, and they write to the same root, /var/ados/recordings. Both write fragmented MP4, so whatever reached disk before a power cut is playable.

On-demand capture

The capture taps the ground station’s local video stream (rtsp://127.0.0.1:8554/main) and remuxes it to MP4 without transcoding.
If the stream drops during a capture (an RTSP end of stream on a degrading link, for example), the capture continues in a new file. stop lists every file in order and how many times that happened.

Routes

Errors use the body {"detail": {"error": {"code", "message"}}}. POST /api/video/record/start and /stop are the same two calls on any profile, with no ground-station gate. On a drone they record its own camera.

Continuous recording and clips

With video.recording.enabled: true, the ground station’s media server records every stream continuously into /var/ados/recordings/<stream>/, one segment a minute, and deletes segments older than video.recording.retention (24h by default). The agent’s storage janitor also reclaims space when the volume fills, because a high-bitrate day can fill it before the retention window ends. The segments act as a pre-roll buffer: you can cut any window out of them after the fact.
A stream name is letters, digits, ., _ or -. A bad parameter is 400 with E_INVALID_PATH, E_INVALID_START or E_INVALID_DURATION. When the media server’s playback service does not answer, the reply is 503 E_PLAYBACK_UNAVAILABLE. The media server’s playback port is bound to loopback only; these routes are the authenticated way in.

Profile gate

Every /api/v1/ground-station/recording/* route answers 404 with E_PROFILE_MISMATCH on a node that is not a ground station. ados record reports that as a sentence rather than an error body.

Configuration

See CLI reference for every ados record option.
Last modified on November 28, 2026