Search, play, download, and clip recordings
First identify the source. Platform-local recordings are searched by file index in Recording Center. GB28181 device-side recordings require a device history query followed by device playback. They are not the same list.
Search platform-local recordings

Follow the numbers: ① select channel; ② select time; ③ search; ④ select a file; ⑤ play and verify. When results are empty, check the first three items before concluding that recording is missing.
- Open Recording Center and select a channel first.
- Choose the smallest useful start and end range and confirm the displayed time zone.
- Click Search, then select a result from the file list on the right.
- Click Play and compare video content, file time, and player duration.
- Download only when the original file must be delivered.
If nothing is found, first widen the time range and verify the time zone. A file on disk but no result in the page means the WebHook, scanner, or index backlog needs attention; do not immediately record again.
Why playback or download can fail
flowchart LR
A[User selects file] --> B{Permission?}
B -->|No| C[Access denied]
B -->|Yes| D{Path under allowed root?}
D -->|No| E[Safety gate rejects]
D -->|Yes| F[Range playback or download]
The platform checks user permission, owning node, allowed recording root, normalized path, and physical file state. Large-file playback depends on HTTP Range; the reverse proxy must preserve Range and Content-Length and avoid buffering the entire file in proxy memory.
Preserve wall-clock progress after leaving the page
While a recording is playing, the page records the current file position, leave time, and playback rate. On return it advances by real elapsed time: it seeks within the current MP4 when possible, selects the correct file after crossing a segment boundary, skips to the next segment when the target falls in a recording gap, and lands at the last segment end after the query range. Browser background suspension therefore does not resume several minutes behind.
A recording paused manually before leaving remains paused and is not advanced. This rule applies to platform-local files; GB28181 device-side playback still depends on the device implementation of pause, speed, and seek commands.
Delete and restore
| Action | What happens | When to use |
|---|---|---|
| Soft delete | Hidden from the normal list while the file remains | Routine cleanup and mistake protection |
| Restore | Visible again if the file exists and the path is valid | Undo an accidental deletion |
| Physical delete | File is removed irreversibly | Only after scope and retention are confirmed |
Before bulk physical deletion, export the target list and check channel, time, node, and total size. Never permanently delete with an ambiguous filter.
Clip or merge a recording segment
- Select source files on the same timeline and the target start/end time.
- Create a clip/merge job and retain its job ID.
- Wait for a final success or failure state in background jobs.
- Play the output and check duration, picture, and A/V synchronization.
- Download the result or clean it according to retention policy.
A missing source, incompatible codec, low disk space, unavailable FFmpeg, or queue backlog can fail the job. Read the job error first; do not retry the same invalid job indefinitely.
GB28181 device-side recordings
Select a GB28181 channel in Recording Center, or open Asset details → Recording, then switch between Platform recordings and Device recordings · GB28181. Other channel protocols do not show the device tab. Local storage alone does not guarantee GB28181 RecordInfo and Playback support.
- Select a start/end time and recording type, then query the device. Results can arrive in batches. Statistics describe this query only; missing size metadata remains unknown.
- Play a segment or select a point on the timeline. A dedicated Playback session receives historical media; playback starts after the media stream is online. Segments continue in time order and timeline gaps advance to the next segment.
- Pause, resume and speed controls wait for the final device command result. Unsupported controls display an error. Seeking or selecting another segment creates a new playback session. Leaving the device tab stops the viewing session.
- Download a segment, or choose a clip range and create an export task. Another independent playback session saves media to managed platform storage, usually taking close to the selected recording duration. Requests are limited to six hours and processed sequentially on each media node. Completed outputs can be played and downloaded. Navigation does not cancel exports; pending or capturing jobs can be cancelled explicitly.
Exports do not change the original device recordings. Device-side delete, soft delete and restore are managed by the device storage policy and are not offered here. The device tab does not include AI search. Device file URIs and private paths cannot be used as browser playback URLs.
Querying requires devices.view and devices.control; viewing also requires streams.view and streams.play. Listing exports requires recordings.view; creating one requires devices.control and recordings.download. Output playback and download use recordings.play and recordings.download respectively.
Input and displayed times use the browser's local timezone; synchronize deployment and device clocks. Speed, seek, codecs and concurrent playback limits depend on the target model. An export whose actual duration differs from the requested range warns about possible recording gaps; verify its content before delivery.
SIP 486 Busy here can indicate an existing live-preview or playback session. Some devices allow only one media session: manually pause and stop the live channel before device playback or export, then restart preview when finished. Playback failure or completion does not change the live channel's operating policy. For an invalid media announcement address, configure the device-reachable address on the selected media node and retry after its runtime state updates.
Acceptance check
- An ordinary user can find a requested channel and time range within one minute.
- Browser playback and file download both complete on the real network.
- Accounts with different permissions cannot read each other's unauthorized recordings.
- Soft delete is recoverable and physical delete affects only explicit targets.
- A clip job has a final result and its output is traceable to source files.