Skip to content

Reference

device_record

Record the exact authority-bound device for proof capture. Start validates that the claimed device is currently available and always forwards its literal identifier.

NameTypeRequiredDefaultConstraintsDescription
actionenum: start | stop | statusYesstart: begin recording. stop: finalize and save (all active recordings). status: list active recordings.
platformenum: ios | androidNoAuthority-bound platform; conflicting values are refused
outputPathstringNo(start only) Absolute output path. Defaults to /tmp/rn-dev-agent-proof-<platform>-<timestamp>.mp4.
deviceIdstringNoAuthority-bound exact device identifier; normally injected by the session
gifbooleanNo(stop only) When true, also convert each saved recording to GIF via ffmpeg.
gifPathstringNo(stop only) Override GIF output path. Defaults to the recording path with .gif extension.
device_record(action: <enum: start | stop | status>)