protect_get_rtsp_streams
Retrieve active RTSP stream sessions for a UniFi camera, returning published URLs per quality level. Use to check which streams are currently active before starting new ones.
Instructions
Get active RTSPS stream sessions for a camera. Returns the per-quality stream URLs currently published (keys typically: high, medium, low, package). Empty/missing keys mean no session is currently active at that quality — use protect_create_rtsp_stream to start one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Camera ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| high | No | RTSPS URL for the high-quality stream | |
| medium | No | RTSPS URL for the medium-quality stream | |
| low | No | RTSPS URL for the low-quality stream | |
| package | No | RTSPS URL for the package-camera stream |