Add BUBBLE protocol support for XMeye/HiSilicon NVR/DVR cameras

Implemented comprehensive BUBBLE protocol support for Chinese NVR/DVR cameras (ZOSI, SANNCE, ANNKE, FLOUREON, XMeye). This proprietary protocol requires HTTP with embedded credentials and special handling.

Changes:
- Added BUBBLE entries to brand databases with main/sub stream support
- Extended URL placeholder system to support {channel} syntax
- Implemented BUBBLE-specific stream generation with credential embedding
- Added BUBBLE stream detection via Content-Type: video/bubble
- Updated Frigate/Go2RTC generators to convert BUBBLE URLs to bubble:// format
- Added BUBBLE patterns to popular stream database

Technical details:
- BUBBLE uses HTTP protocol with credentials in URL (bubble://user:pass@host:port/path)
- Supports dual streams: stream=0 (main) and stream=1 (sub)
- Requires video=copy parameter for optimal performance in go2rtc
- Detection prioritized before generic HTTP checks to ensure correct identification
This commit is contained in:
eduard256
2025-11-09 18:09:04 +03:00
parent 75afc987f4
commit 35293dec83
10 changed files with 266 additions and 10 deletions
+32
View File
@@ -4,6 +4,38 @@
"last_updated": "2025-10-17",
"source": "ispyconnect.com",
"entries": [
{
"models": [
"NVR",
"DVR",
"H.264",
"H.265",
"HiSilicon",
"Other"
],
"type": "BUBBLE",
"protocol": "bubble",
"port": 80,
"url": "/bubble/live?ch={channel}&stream=0",
"auth_required": true,
"notes": "Bubble Protocol - main stream (works with go2rtc bubble:// source)"
},
{
"models": [
"NVR",
"DVR",
"H.264",
"H.265",
"HiSilicon",
"Other"
],
"type": "BUBBLE",
"protocol": "bubble",
"port": 80,
"url": "/bubble/live?ch={channel}&stream=1",
"auth_required": true,
"notes": "Bubble Protocol - sub stream (lower quality)"
},
{
"models": [
"1080",