feat(streaming): add backend streaming support with nginx-rtmp #1

Merged
dylan merged 31 commits from feat/rtmp-streaming into master 2026-06-20 01:33:56 +01:00
3 changed files with 29 additions and 13 deletions
Showing only changes of commit f6061c25ca - Show all commits

View File

@@ -0,0 +1,22 @@
meta {
name: Save Clip
type: http
seq: 3
}
post {
url: {{base_url}}/stream/clip
body: json
auth: inherit
}
body:json {
{
"duration": 60
}
}
settings {
encodeUrl: true
timeout: 0
}

View File

@@ -7,17 +7,13 @@ meta {
post {
url: {{base_url}}/stream/save
body: json
auth: bearer
}
auth:bearer {
token: {{token}}
auth: inherit
}
body:json {
{
"startTime": "2026-06-06T14:20:00Z",
"endTime": "2026-06-06T14:21:00Z"
"startTime": "2026-06-19T21:00:00Z",
"endTime": "2026-06-19T21:03:00Z"
}
}

View File

@@ -4,11 +4,9 @@ meta {
}
auth {
mode: apikey
mode: bearer
}
auth:apikey {
key:
value:
placement: header
}
auth:bearer {
token: {{token}}
}