Repository navigation
KVision v2.7.6 (2.7.6-2)
KVision v2.7.6
Update (
2.7.6-2): Enlarging a camera tile (double-click /F/1x1view) 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.
- Added a "Test Ports" button in NVR Settings that runs concurrent TCP probes for SDK (
- Remote Recorder (WAN / NAT) Mode (
NvrSettingsPanel,Player,ViewportsLayout,ViewportSettingsDialog,SideBar):- Added a per-recorder "Remote recorder (WAN / NAT)" toggle (marked with a
WANbadge 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, disablesnobuffer), uses Sub-Stream (02) in multi-camera grids and seamlessly switches to Main Stream (01) when enlarged or in1x1view (unless Sub-Stream is manually forced), staggers camera startup by200 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.
- Added a per-recorder "Remote recorder (WAN / NAT)" toggle (marked with a
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 raw33+SDK channel handles like3302), and reads OSD camera names viaNET_DVR_GET_PICCFG_V40/V30. - Eliminated ID collisions between analog and IP channels in ISAPI XML parsing on Hybrid DVRs.
- Fixed the SDK fallback used when HTTP ISAPI (
- Native Qt HTTP/HTTPS ISAPI & Security (
HikvisionManager,HikvisionISAPI):- Replaced external
curlsubprocesses with native Qt networking (QNetworkAccessManagerwith HTTPS redirect following and fast TCP port pre-check) and added anHTTP 401retry guard so a typo in credentials cannot trigger Hikvision's 30-minute Illegal Login Lock.
- Replaced external
- SDK Fallback for Archive Timeline & Calendar (
HikvisionISAPI):- Added automatic fallback to
NET_DVR_FindFile_V40over the SDK port (8000) when HTTP/ISAPI (80) is closed, allowing archive recording bars and calendar indicators to work over the SDK port alone.
- Added automatic fallback to
- FFmpeg
< 5.0/>= 5.0& Reconnect Fixes (QmlAVOptions,QmlAVPlayer,Player):- Fixed FFmpeg
< 5.0vs>= 5.0(LIBAVFORMAT_VERSION_MAJOR < 59) RTSP-timeout/-stimeouttranslation so timeouts do not fail in passive listen mode or get ignored on modern Debian/Ubuntu/Arch systems. - Preserved
InvalidMediastatus inQmlAVPlayerinstead of resetting it toNoMedia/ hammering closed ports every 1 second, enabled asynchronousNET_DVR_MakeKeyFrameSubrequests, and fixed automatic Sub-to-Main stream fallback forhikvision://channels.
- Fixed FFmpeg
- Documentation, Packaging & Localization: Updated
README.mdwith 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.