Диагностика запуска live-камеры в интерфейсе

This commit is contained in:
DCCONSTRUCTIONS
2026-08-23 13:54:21 +03:00
parent 687c050c28
commit 3e5aedd74d
5 changed files with 58 additions and 0 deletions
+10
View File
@@ -247,6 +247,10 @@ def test_live_viewer_diagnostic_endpoint_accepts_only_bounded_events(
for event_code in (
"live_camera_source_projected",
"live_camera_window_admitted",
"live_camera_player_effect_started",
"live_camera_playback_authority_missing",
"live_camera_media_source_open",
"live_camera_websocket_open",
):
boundary_event = LiveViewerDiagnosticEvent(
schema_version="missioncore.live-viewer-diagnostic/v2",
@@ -256,6 +260,12 @@ def test_live_viewer_diagnostic_endpoint_accepts_only_bounded_events(
viewer_instance_id="00000000-0000-4000-8000-000000000004",
lifecycle_generation=1,
stream_id="camera-preview-2",
transport_epoch=(
1
if event_code
not in {"live_camera_source_projected", "live_camera_window_admitted"}
else None
),
)
with caplog.at_level(
logging.INFO,