diff options
| author | Luke Hoersten <[email protected]> | 2026-06-21 11:16:18 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-06-21 11:16:18 -0500 |
| commit | 39b04799c8ec4c2fa74ab4468ef89550e40aebfd (patch) | |
| tree | b9ea408f133ebb025d9bb965c2f4e3129bd98a5f /main/stream_server.h | |
| parent | 796bc17cea7ee8d74e03b9eeb266bedf89240fc3 (diff) | |
scrypted: log attachListener early-return when no camera assigned
Silent early-return at 'if (!v.cameraId) return;' makes a brand-new
viewport with no camera selected look identical (in the console) to
one that subscribed successfully — there's no positive or negative
signal until you try to fire a camera event. After observing a fresh
viewport produce zero output on a doorbell press, switching the
early-return to a warning that says 'no camera assigned — open
Settings and pick a camera; subscription skipped' so the missing
configuration becomes self-evident.
Diffstat (limited to 'main/stream_server.h')
0 files changed, 0 insertions, 0 deletions
