Skip to main content
POST
Upload recording segment (fmp4)

Authorizations

Authorization
string
header
required

JWT access token. Paste the token only; the Bearer prefix is added automatically.

Headers

X-Device-Key
string
required

Device API key (adk_)

Path Parameters

stream_path
string
required

Stream path (mediamtx path name)

Body

multipart/form-data
segment
file
required

fmp4 segment bytes

metadata
string
required

JSON: filename, stream_id, segment_number, ntp_ns, sha256

Response

Duplicate (same sha256)

The response is of type object.