add_stream
Add or overwrite a go2rtc stream by name from a source URL to dynamically register or update camera feeds.
Instructions
Dynamically add or overwrite a stream on go2rtc (PUT /api/streams).
Rejects exec:, echo:, and expr: sources unless GO2RTC_ALLOW_EXEC_STREAMS=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_url | Yes | ||
| stream_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||