Preserve onboard preview recordings across backpressure and share the complete spatial scene
This commit is contained in:
@@ -98,6 +98,7 @@ def project_sensor(snapshot, node_id):
|
||||
"network_applied": connected or attempt.get("phase") == "network_applied",
|
||||
"reason_code": None if connected else attempt.get("public_error_code"),
|
||||
"acquisition_id": acquisition.get("acquisition_id"),
|
||||
"acquisition_phase": acquisition.get("state"),
|
||||
},
|
||||
"live_settings": snapshot.get("viewer_settings", {}),
|
||||
"frames": snapshot.get("metrics", {}),
|
||||
@@ -149,6 +150,8 @@ class NodeK1Sensor:
|
||||
return item
|
||||
if action == "close-peer":
|
||||
await self.peers.close(params.get("peer_id"))
|
||||
if params.get("retire_view") is True:
|
||||
await self.peers.release_view(params.get("view_id"))
|
||||
return {"ok": True}
|
||||
if action == "offer":
|
||||
acquisition_id = item["control"]["acquisition_id"]
|
||||
|
||||
Reference in New Issue
Block a user