Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# ScreenRecordAPI
* Postman documentation available here [documenation](https://documenter.getpostman.com/view/29925722/2s9YJc1NWX)

## Short (quick description)
The temporary base url is at https://screenrecordapi-production.up.railway.app

1. To start recording, send a POST request to https://screenrecordapi-production.up.railway.app/record/start
you will get an UUID in the response JSON access it with .data.uuid

2. The binary chunks should be sent to POST https://screenrecordapi-production.up.railway.app/record/upload/:uuid

3. Stop the record with POST https://screenrecordapi-production.up.railway.app/record/stop/:uuid
2 changes: 2 additions & 0 deletions nixpacks.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[phases.setup]
nixPkgs = ["...", "ffmpeg"]