Add dvrip protocol support to database schema

This commit is contained in:
eduard256
2026-04-03 21:35:09 +00:00
parent b099636f45
commit 467e2abbe9
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -100,7 +100,7 @@ Brand ID is auto-generated from brand name: lowercase, spaces to hyphens, specia
Ask (or parse from input):
- Brand name or brand_id (search in `brands/` directory if unclear)
- URL path (e.g. `/Streaming/Channels/101`)
- Protocol (`rtsp`, `http`, `https`, `rtsps`, `rtmp`, `mms`, `bubble`, `rtp`)
- Protocol (`rtsp`, `http`, `https`, `rtsps`, `rtmp`, `mms`, `bubble`, `rtp`, `dvrip`)
- Port number (e.g. `554`, `80`. Use `0` if unknown)
- Which models this stream works for (list of model names, or `*` for all)
@@ -152,7 +152,7 @@ Every brand file is `brands/{brand_id}.json`:
|-------|------|----------|-------|
| `id` | string | yes | Format: `{brand_id}-{N}` where N is sequential. Must be unique within file |
| `url` | string | yes | URL path only (no protocol://host:port prefix). Can contain placeholders |
| `protocol` | string | yes | One of: `rtsp`, `http`, `https`, `rtsps`, `rtmp`, `mms`, `bubble`, `rtp` |
| `protocol` | string | yes | One of: `rtsp`, `http`, `https`, `rtsps`, `rtmp`, `mms`, `bubble`, `rtp`, `dvrip` |
| `port` | int | yes | 0-65535. Use `0` if unknown (means "use default for protocol") |
| `models` | array | yes | Non-empty. Use `["*"]` if stream works for all models of this brand |
| `notes` | string | no | Only add if genuinely useful context exists |
+1 -1
View File
@@ -38,7 +38,7 @@ Each brand is a separate JSON file in `brands/` directory. Filename matches `bra
|-------|------|-------------|
| `id` | string | Unique within brand |
| `url` | string | URL path with placeholders |
| `protocol` | string | `rtsp`, `http`, `https`, `rtsps`, `rtmp`, `mms`, `bubble`, `rtp` |
| `protocol` | string | `rtsp`, `http`, `https`, `rtsps`, `rtmp`, `mms`, `bubble`, `rtp`, `dvrip` |
| `port` | int | Port number. `0` = unknown, use default for protocol |
| `models` | array | Camera models. `["*"]` = works for all models of this brand |
| `notes` | string | Optional. Human-readable notes |
+1 -1
View File
@@ -47,7 +47,7 @@
},
"protocol": {
"type": "string",
"description": "Network protocol: rtsp, http, https, mms, rtmp, rtsps, bubble, rtp, or future protocols"
"description": "Network protocol: rtsp, http, https, mms, rtmp, rtsps, bubble, rtp, dvrip, or future protocols"
},
"port": {
"type": "integer",
+1 -1
View File
@@ -45,7 +45,7 @@
},
"protocol": {
"type": "string",
"description": "Network protocol"
"description": "Network protocol: rtsp, http, https, mms, rtmp, rtsps, bubble, rtp, dvrip, or future protocols"
},
"port": {
"type": "integer",