mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-18 04:39:41 +02:00
feat: add stop recording button and POST /api/recordings/stop/<id> endpoint to kill FFmpeg process
This commit is contained in:
1 parent
0d2ad322fe
commit
4c2e3ce600
4 files changed
+68
-2
No files matched your search
@@ -122,6 +122,7 @@ void main(List<String> args) async {
|
||||
..get('/api/recordings', recordingsApi.handleGetAll)
|
||||
..post('/api/recordings', recordingsApi.handlePost)
|
||||
..delete('/api/recordings/<id>', recordingsApi.handleDelete)
|
||||
..post('/api/recordings/stop/<id>', recordingsApi.handleStop)
|
||||
..get('/api/recordings/logs/<id>', recordingsApi.getLogHandler);
|
||||
// NOTE: /api/xtream is handled by proxyHandler in the Cascade below
|
||||
// Do NOT mount here as it would intercept and block the actual proxy
|
||||
|
||||
Reference in new issue
Block a user