/v1/leases/{lease}/recording/stopPOSTno-recording when nothing was recorded since the last
stop. recording-failed when the video writer failed (for example a full disk).ghosthand tunnel url --new-token. The unix socket needs no tokenrequest (record stop), maxDuration, leaseEnded
(release, idle timeout or force), daemonStopped, or disconnected (the iPhone
left USB).title and detail are for people.curl -X POST "https://ghosthand.dev/macs/studio/v1/leases/42/recording/stop" \ -H "Authorization: Bearer <token>"
{ "path": "/tmp/demo.mp4", "durationSeconds": 12.4, "bytes": 4381022, "width": 828, "height": 1792, "frames": 372, "droppedFrames": 0, "audio": true, "stoppedBy": "request" }