feat(video): recover camera previews and reduce encoding and playout cost

Improve camera recovery, shared preview lifecycle and receiver playout diagnostics. Preserve qualified X4 runtime changes and restore async admission in loopback media tests.
This commit is contained in:
DCCONSTRUCTIONS
2026-10-29 09:10:01 +03:00
parent e06ff9a214
commit fa8bde584f
94 changed files with 8892 additions and 375 deletions
+5
View File
@@ -196,6 +196,11 @@ class Recovery:
decisions = []
for ident, state in self.states.items():
current = self.current.get(ident)
if current and current.get("file_transfer", {}).get("active") is True:
# Synchronous vendor downloads pause status polling. Do not
# treat an intentionally busy control channel as a lost camera.
self.absent.pop(ident, None)
continue
online = bool(current and current.get("online"))
if online:
self.absent.pop(ident, None)