Play audio with rtp stream

This commit is contained in:
2026-03-01 04:45:39 +01:00
parent 4219afb93c
commit 20cc348995
5 changed files with 47 additions and 777 deletions

View File

@@ -10,6 +10,26 @@ Requires [uv](https://docs.astral.sh/uv/) and Python 3.14.
uv sync
```
Copy `.env.example` to `.env` and fill in your values:
```sh
cp .env.example .env
```
```env
HOST=192.168.1.1 # UniFi controller IP
API_KEY= # API key from UniFi OS profile → API Tokens
```
## API Reference
[UniFi Protect API v6.2.88](https://developer.ui.com/protect/v6.2.88)
> **Note:** For use cases requiring real-time event subscriptions (WebSocket),
speaker volume control, or access to settings not exposed by the official API,
consider [uiprotect](https://github.com/uilibs/uiprotect) — an unofficial Python
library wrapping the private UniFi Protect API.
## Run
```sh