Skip to content

fix(library): show real camera reachability instead of static OFFLINE#9

Merged
keyldev merged 1 commit into
mainfrom
fix/library-camera-reachability-status
Jun 6, 2026
Merged

fix(library): show real camera reachability instead of static OFFLINE#9
keyldev merged 1 commit into
mainfrom
fix/library-camera-reachability-status

Conversation

@keyldev

@keyldev keyldev commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator
  • the library status badge was a hardcoded "OFFLINE" label bound to nothing
  • add IReachabilityProbe (Core contract) + TcpReachabilityProbe (Infra, connect-only)
  • CameraRowViewModel probes the RTSP port; badge shows CHECKING…/ONLINE/OFFLINE + color
  • probes run in parallel on load, refresh, and group-filter change
  • wire via DI; App still references Core only

Summary

Fixing Issue #6

  • the library status badge was a hardcoded "OFFLINE" label bound to nothing
  • add IReachabilityProbe (Core contract) + TcpReachabilityProbe (Infra, connect-only)
  • CameraRowViewModel probes the RTSP port; badge shows CHECKING…/ONLINE/OFFLINE + color
  • probes run in parallel on load, refresh, and group-filter change
  • wire via DI; App still references Core only

Related

Type

  • Bug fix
  • Feature
  • Refactor / cleanup
  • Docs / CI
  • Other:

Checklist

  • Builds with 0 warnings (TreatWarningsAsErrors=true).
  • Tests pass (dotnet test); new Core logic has unit tests.
  • No layering violation — App references Core only (Infrastructure / Video / Devices wired via DI in a head).
  • Scope stays within one phase (didn't pull work from a later phase's "Не входит").
  • README / docs updated if public commands, options, or setup changed.

Platforms tested

  • Windows
  • Linux
  • macOS
  • Android
  • iOS
  • CI build only

Screenshots / notes

image

- the library status badge was a hardcoded "OFFLINE" label bound to nothing
- add IReachabilityProbe (Core contract) + TcpReachabilityProbe (Infra, connect-only)
- CameraRowViewModel probes the RTSP port; badge shows CHECKING…/ONLINE/OFFLINE + color
- probes run in parallel on load, refresh, and group-filter change
- wire via DI; App still references Core only
@keyldev keyldev merged commit 8390279 into main Jun 6, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant