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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user