diff --git a/src/robot_interface/telemetry/media_connection_type.py b/src/robot_interface/telemetry/media_connection_type.py new file mode 100644 index 00000000..6530adcf --- /dev/null +++ b/src/robot_interface/telemetry/media_connection_type.py @@ -0,0 +1,5 @@ +from enum import Enum + + +class MediaConnectionType(str, Enum): + LiveKit: str = "LiveKit" diff --git a/src/robot_interface/telemetry/payloads.py b/src/robot_interface/telemetry/payloads.py index 18207d1d..e175606d 100644 --- a/src/robot_interface/telemetry/payloads.py +++ b/src/robot_interface/telemetry/payloads.py @@ -6,6 +6,7 @@ from transitions import State from robot_interface.models.mission.status import RobotStatus +from robot_interface.telemetry.media_connection_type import MediaConnectionType @dataclass @@ -59,7 +60,7 @@ class VideoStream: class MediaConfig(TelemetryPayload): url: str token: str - media_connection_type: str + media_connection_type: MediaConnectionType @dataclass