Add [CHANNEL+1] placeholder support for Hikvision-style channel numbering
- Added [CHANNEL+1], [channel+1], {CHANNEL+1}, {channel+1} placeholders to builder.go
- Updated 14 camera brands with universal channel patterns
- Hikvision: replaced 10 hardcoded patterns with 6 universal patterns
- Hiwatch: replaced 4 hardcoded patterns with 8 universal patterns (including ISAPI)
- Other brands: Annke, Swann, Abus, 7links, LevelOne, AlienDVR, Oswoo, AV102IP-40, Acvil, TBKVision, Deltaco, Night Owl
- Universal patterns placed first for faster discovery, hardcoded patterns kept as fallback
- Supports both 0-based (channel=0 -> 101) and 1-based (channel=1 -> 101) numbering
- Added 6 high-priority patterns to popular_stream_patterns.json
This commit is contained in:
@@ -31,6 +31,54 @@
|
||||
"notes": "Common RTSP sub stream for ONVIF cameras",
|
||||
"model_count": 9998
|
||||
},
|
||||
{
|
||||
"url": "/Streaming/Channels/[CHANNEL+1]01",
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"notes": "Hikvision main stream - 0-based channel input (channel 0 -> 101, 1 -> 201)",
|
||||
"model_count": 9500
|
||||
},
|
||||
{
|
||||
"url": "/Streaming/Channels/[CHANNEL]01",
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"notes": "Hikvision main stream - 1-based channel input (channel 1 -> 101, 2 -> 201)",
|
||||
"model_count": 9490
|
||||
},
|
||||
{
|
||||
"url": "/Streaming/Channels/[CHANNEL+1]02",
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"notes": "Hikvision sub stream - 0-based channel input (channel 0 -> 102, 1 -> 202)",
|
||||
"model_count": 9480
|
||||
},
|
||||
{
|
||||
"url": "/Streaming/Channels/[CHANNEL]02",
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"notes": "Hikvision sub stream - 1-based channel input (channel 1 -> 102, 2 -> 202)",
|
||||
"model_count": 9470
|
||||
},
|
||||
{
|
||||
"url": "/Streaming/Channels/[CHANNEL+1]03",
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"notes": "Hikvision third stream - 0-based channel input (channel 0 -> 103, 1 -> 203)",
|
||||
"model_count": 9460
|
||||
},
|
||||
{
|
||||
"url": "/Streaming/Channels/[CHANNEL]03",
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"notes": "Hikvision third stream - 1-based channel input (channel 1 -> 103, 2 -> 203)",
|
||||
"model_count": 9450
|
||||
},
|
||||
{
|
||||
"url": "/ch2",
|
||||
"type": "FFMPEG",
|
||||
|
||||
Reference in New Issue
Block a user