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:
+170
-88
@@ -5,35 +5,117 @@
|
||||
"source": "ispyconnect.com",
|
||||
"entries": [
|
||||
{
|
||||
"models": ["ALL"],
|
||||
"models": [
|
||||
"ALL"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"url": "/Streaming/Channels/[CHANNEL+1]01"
|
||||
},
|
||||
{
|
||||
"models": [
|
||||
"ALL"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"url": "/Streaming/Channels/[CHANNEL]01"
|
||||
},
|
||||
{
|
||||
"models": ["ALL"],
|
||||
"models": [
|
||||
"ALL"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"url": "/Streaming/Channels/[CHANNEL+1]02"
|
||||
},
|
||||
{
|
||||
"models": [
|
||||
"ALL"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"url": "/Streaming/Channels/[CHANNEL]02"
|
||||
},
|
||||
{
|
||||
"models": ["ALL"],
|
||||
"models": [
|
||||
"ALL"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"url": "/ISAPI/Streaming/Channels/[CHANNEL+1]01"
|
||||
},
|
||||
{
|
||||
"models": [
|
||||
"ALL"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"url": "/ISAPI/Streaming/Channels/[CHANNEL]01"
|
||||
},
|
||||
{
|
||||
"models": ["ALL"],
|
||||
"models": [
|
||||
"ALL"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"url": "/ISAPI/Streaming/Channels/[CHANNEL+1]02"
|
||||
},
|
||||
{
|
||||
"models": [
|
||||
"ALL"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"url": "/ISAPI/Streaming/Channels/[CHANNEL]02"
|
||||
},
|
||||
{
|
||||
"models": ["ALL"],
|
||||
"models": [
|
||||
"ALL"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"url": "/Streaming/Channels/[CHANNEL]01"
|
||||
},
|
||||
{
|
||||
"models": [
|
||||
"ALL"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"url": "/Streaming/Channels/[CHANNEL]02"
|
||||
},
|
||||
{
|
||||
"models": [
|
||||
"ALL"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"url": "/ISAPI/Streaming/Channels/[CHANNEL]01"
|
||||
},
|
||||
{
|
||||
"models": [
|
||||
"ALL"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"url": "/ISAPI/Streaming/Channels/[CHANNEL]02"
|
||||
},
|
||||
{
|
||||
"models": [
|
||||
"ALL"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
@@ -82,69 +164,6 @@
|
||||
"port": 554,
|
||||
"url": "/Streaming/Channels/1"
|
||||
},
|
||||
{
|
||||
"models": [
|
||||
"ALL",
|
||||
"B220",
|
||||
"C6T",
|
||||
"D110",
|
||||
"DS-H216Q",
|
||||
"DS-I102",
|
||||
"DS-I113",
|
||||
"DS-I114",
|
||||
"DS-I114W",
|
||||
"DS-i126",
|
||||
"ds-i200",
|
||||
"DS-I200(D)",
|
||||
"ds-i203",
|
||||
"DS-I213",
|
||||
"ds-i214",
|
||||
"DS-I214(B)",
|
||||
"ds-i214w(b)",
|
||||
"ds-i223",
|
||||
"DS-I400(C)",
|
||||
"ds-l122",
|
||||
"ds-n241w",
|
||||
"i100",
|
||||
"i110",
|
||||
"I114",
|
||||
"i114w",
|
||||
"I120",
|
||||
"IPC-B120-I",
|
||||
"IPC-B140",
|
||||
"IPC-B622-G2/ZS",
|
||||
"IPC-D082-G2/S",
|
||||
"IPC-D120",
|
||||
"IPC-T640-Z",
|
||||
"l110",
|
||||
"Other",
|
||||
"VDP-D2201",
|
||||
"VDP-D2211W(B)",
|
||||
"watch"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"url": "/Streaming/Channels/101"
|
||||
},
|
||||
{
|
||||
"models": [
|
||||
"ALL",
|
||||
"DS-I102",
|
||||
"ds-i200",
|
||||
"Ds-i203",
|
||||
"DS-I214(B)",
|
||||
"DS-I214W(B)",
|
||||
"DS-I253",
|
||||
"ds-i458",
|
||||
"HiWatch DS-N208(C)",
|
||||
"i450s"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"url": "/ISAPI/Streaming/Channels/101"
|
||||
},
|
||||
{
|
||||
"models": [
|
||||
"DC-I200",
|
||||
@@ -256,16 +275,6 @@
|
||||
"port": 554,
|
||||
"url": "/h264_stream"
|
||||
},
|
||||
{
|
||||
"models": [
|
||||
"ds-i200",
|
||||
"VDP-D2201"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 555,
|
||||
"url": "/Streaming/Channels/102"
|
||||
},
|
||||
{
|
||||
"models": [
|
||||
"Ds-i203"
|
||||
@@ -275,16 +284,6 @@
|
||||
"port": 8000,
|
||||
"url": "/"
|
||||
},
|
||||
{
|
||||
"models": [
|
||||
"DS-I214(B)",
|
||||
"DS-I405"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"url": "/ISAPI/Streaming/Channels/102"
|
||||
},
|
||||
{
|
||||
"models": [
|
||||
"DS-I220",
|
||||
@@ -345,6 +344,89 @@
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"url": "/onvif1"
|
||||
},
|
||||
{
|
||||
"models": [
|
||||
"ALL",
|
||||
"B220",
|
||||
"C6T",
|
||||
"D110",
|
||||
"DS-H216Q",
|
||||
"DS-I102",
|
||||
"DS-I113",
|
||||
"DS-I114",
|
||||
"DS-I114W",
|
||||
"DS-i126",
|
||||
"ds-i200",
|
||||
"DS-I200(D)",
|
||||
"ds-i203",
|
||||
"DS-I213",
|
||||
"ds-i214",
|
||||
"DS-I214(B)",
|
||||
"ds-i214w(b)",
|
||||
"ds-i223",
|
||||
"DS-I400(C)",
|
||||
"ds-l122",
|
||||
"ds-n241w",
|
||||
"i100",
|
||||
"i110",
|
||||
"I114",
|
||||
"i114w",
|
||||
"I120",
|
||||
"IPC-B120-I",
|
||||
"IPC-B140",
|
||||
"IPC-B622-G2/ZS",
|
||||
"IPC-D082-G2/S",
|
||||
"IPC-D120",
|
||||
"IPC-T640-Z",
|
||||
"l110",
|
||||
"Other",
|
||||
"VDP-D2201",
|
||||
"VDP-D2211W(B)",
|
||||
"watch"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"url": "/Streaming/Channels/101"
|
||||
},
|
||||
{
|
||||
"models": [
|
||||
"ALL",
|
||||
"DS-I102",
|
||||
"ds-i200",
|
||||
"Ds-i203",
|
||||
"DS-I214(B)",
|
||||
"DS-I214W(B)",
|
||||
"DS-I253",
|
||||
"ds-i458",
|
||||
"HiWatch DS-N208(C)",
|
||||
"i450s"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"url": "/ISAPI/Streaming/Channels/101"
|
||||
},
|
||||
{
|
||||
"models": [
|
||||
"ds-i200",
|
||||
"VDP-D2201"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 555,
|
||||
"url": "/Streaming/Channels/102"
|
||||
},
|
||||
{
|
||||
"models": [
|
||||
"DS-I214(B)",
|
||||
"DS-I405"
|
||||
],
|
||||
"type": "FFMPEG",
|
||||
"protocol": "rtsp",
|
||||
"port": 554,
|
||||
"url": "/ISAPI/Streaming/Channels/102"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user