Skip to content

KVision v2.7.6 (2.7.6-2)

Choose a tag to compare

@Arkanista Arkanista released this 13 Nov 14:19
· 37 commits to master since this release

KVision v2.7.6

Update (2.7.6-2): Enlarging a camera tile (double-click / F / 1x1 view) now seamlessly switches to Main Stream (01) even in "Remote recorder (WAN / NAT)" mode, unless Sub-Stream (02) is manually forced in viewport settings. Also prevented duplicate RTSP sessions on rapid enlarge/shrink toggles.

New Features

  • TCP Port Reachability Verifier (NvrSettingsPanel, HikvisionManager, Player):
    • Added a "Test Ports" button in NVR Settings that runs concurrent TCP probes for SDK (8000), RTSP (554), and HTTP (80) ports, showing open/unreachable status, response latency (ms), and clear guidance on each port's role.
    • Added automatic background RTSP port verification when Live View fails: viewports now display an explicit "RTSP port (554) unreachable" message instead of a generic "No Media" error when RTSP is blocked by NAT/firewall.
  • Remote Recorder (WAN / NAT) Mode (NvrSettingsPanel, Player, ViewportsLayout, ViewportSettingsDialog, SideBar):
    • Added a per-recorder "Remote recorder (WAN / NAT)" toggle (marked with a WAN badge in the recorder list).
    • Automatically enforces RTSP over TCP, extends FFmpeg demuxer probe buffers and timeouts (analyzeduration: 3s, probesize: 2 MB, timeout/rw_timeout: 15s, demuxer_timeout: 20s, disables nobuffer), uses Sub-Stream (02) in multi-camera grids and seamlessly switches to Main Stream (01) when enlarged or in 1x1 view (unless Sub-Stream is manually forced), staggers camera startup by 200 ms, and applies exponential reconnect backoff (3s -> 6s -> 12s -> 15s).
    • Locks manual per-viewport FFmpeg option overrides while WAN mode is enabled so global LAN defaults cannot silently break remote streams.

Bug Fixes & Improvements (Issue #9 & Remote NVR/DVR Connections)

  • SDK Hybrid DVR & NVR Camera Discovery (HikvisionManager::discoverCameras):
    • Fixed the SDK fallback used when HTTP ISAPI (80) is closed behind NAT: properly enumerates both analog BNC/coax channels (byChanNum) and IP channels (NET_DVR_GET_IPPARACFG_V40) on Hybrid DVRs and NVRs, maps RTSP channel indices accurately (byChanNum + 1.. instead of raw 33+ SDK channel handles like 3302), and reads OSD camera names via NET_DVR_GET_PICCFG_V40 / V30.
    • Eliminated ID collisions between analog and IP channels in ISAPI XML parsing on Hybrid DVRs.
  • Native Qt HTTP/HTTPS ISAPI & Security (HikvisionManager, HikvisionISAPI):
    • Replaced external curl subprocesses with native Qt networking (QNetworkAccessManager with HTTPS redirect following and fast TCP port pre-check) and added an HTTP 401 retry guard so a typo in credentials cannot trigger Hikvision's 30-minute Illegal Login Lock.
  • SDK Fallback for Archive Timeline & Calendar (HikvisionISAPI):
    • Added automatic fallback to NET_DVR_FindFile_V40 over the SDK port (8000) when HTTP/ISAPI (80) is closed, allowing archive recording bars and calendar indicators to work over the SDK port alone.
  • FFmpeg < 5.0 / >= 5.0 & Reconnect Fixes (QmlAVOptions, QmlAVPlayer, Player):
    • Fixed FFmpeg < 5.0 vs >= 5.0 (LIBAVFORMAT_VERSION_MAJOR < 59) RTSP -timeout / -stimeout translation so timeouts do not fail in passive listen mode or get ignored on modern Debian/Ubuntu/Arch systems.
    • Preserved InvalidMedia status in QmlAVPlayer instead of resetting it to NoMedia / hammering closed ports every 1 second, enabled asynchronous NET_DVR_MakeKeyFrameSub requests, and fixed automatic Sub-to-Main stream fallback for hikvision:// channels.
  • Documentation, Packaging & Localization: Updated README.md with a Remote Recorder (WAN / NAT) port-forwarding guide, tools/install_ubuntu.sh, changelogs (CHANGELOG.md, debian/changelog, packaging/arch/changelog, SideBar.qml), PKGBUILD (2.7.6-2), and all 22 language translations.