From 07ea6b46723e6d7eeef1b12d86e979e6357dba42 Mon Sep 17 00:00:00 2001 From: Sondre Olsen Date: Tue, 24 Sep 2024 15:56:44 +0200 Subject: [PATCH] Add MediaConfig payload --- src/robot_interface/telemetry/payloads.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/robot_interface/telemetry/payloads.py b/src/robot_interface/telemetry/payloads.py index a90a1ac6..18207d1d 100644 --- a/src/robot_interface/telemetry/payloads.py +++ b/src/robot_interface/telemetry/payloads.py @@ -55,6 +55,13 @@ class VideoStream: type: str +@dataclass +class MediaConfig(TelemetryPayload): + url: str + token: str + media_connection_type: str + + @dataclass class RobotStatusPayload: isar_id: str