diff options
| -rw-r--r-- | scrypted/scrypted-viewport.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scrypted/scrypted-viewport.ts b/scrypted/scrypted-viewport.ts index 4bd5fe4..846c8e3 100644 --- a/scrypted/scrypted-viewport.ts +++ b/scrypted/scrypted-viewport.ts @@ -663,6 +663,8 @@ class ScryptedViewportProvider extends ScryptedDeviceBase if (pending) clearTimeout(pending); this.bindingDebounce.set(nid, setTimeout(() => { this.bindingDebounce.delete(nid); + const tag = v.name || v.storage.getItem("display_name") || nid; + this.console.log(`onBindingChanged "${tag}": re-attach (host=${v.host || "?"} cameraId=${v.cameraId || "?"})`); this.detachListener(nid); // Any active stream for this viewport is now stale (camera // or orientation may have changed). Stop cleanly; if it |
