From 83befb52c3c8b6c6bed256c70b978fcf951df1b3 Mon Sep 17 00:00:00 2001 From: Juan Pablo Pino Bravo Date: Mon, 26 Jan 2026 15:26:05 +0100 Subject: [PATCH 1/3] Add mtu_size field to CameraParameters for video streaming --- protobuf_definitions/message_formats.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/protobuf_definitions/message_formats.proto b/protobuf_definitions/message_formats.proto index 59066141..a7fcc7c5 100644 --- a/protobuf_definitions/message_formats.proto +++ b/protobuf_definitions/message_formats.proto @@ -883,6 +883,8 @@ message CameraParameters { StreamingProtocol streaming_protocol = 20; // Streaming protocol. Framerate framerate = 7; // Stream and recording framerate. Camera camera = 8; // Which camera the parameters belong to. + + uint32 mtu_size = 24; // Network MTU size for video streaming (bytes). If unset, will default to 1400. } // Available temperature units. From 4b8e4d5ac4b1012d981558509d880a65be4b133a Mon Sep 17 00:00:00 2001 From: Juan Pablo Pino Bravo Date: Mon, 26 Jan 2026 15:30:57 +0100 Subject: [PATCH 2/3] Update protobuf_definitions/message_formats.proto Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- protobuf_definitions/message_formats.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protobuf_definitions/message_formats.proto b/protobuf_definitions/message_formats.proto index a7fcc7c5..f8ade6b7 100644 --- a/protobuf_definitions/message_formats.proto +++ b/protobuf_definitions/message_formats.proto @@ -884,7 +884,7 @@ message CameraParameters { Framerate framerate = 7; // Stream and recording framerate. Camera camera = 8; // Which camera the parameters belong to. - uint32 mtu_size = 24; // Network MTU size for video streaming (bytes). If unset, will default to 1400. + uint32 mtu_size = 24; // Network MTU size for video streaming (bytes). If 0 or unset, the system will use a default of 1400. } // Available temperature units. From d5fe3eb9b4e1b1739c92f49a21fda4b0767dd82a Mon Sep 17 00:00:00 2001 From: Juan Pablo Pino Bravo Date: Mon, 26 Jan 2026 15:33:27 +0100 Subject: [PATCH 3/3] Reorder comment and declaration for mtu_size in CameraParameters --- protobuf_definitions/message_formats.proto | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protobuf_definitions/message_formats.proto b/protobuf_definitions/message_formats.proto index f8ade6b7..a6520ec6 100644 --- a/protobuf_definitions/message_formats.proto +++ b/protobuf_definitions/message_formats.proto @@ -884,7 +884,8 @@ message CameraParameters { Framerate framerate = 7; // Stream and recording framerate. Camera camera = 8; // Which camera the parameters belong to. - uint32 mtu_size = 24; // Network MTU size for video streaming (bytes). If 0 or unset, the system will use a default of 1400. + // Network MTU size for video streaming (bytes). If 0 or unset, the system will use a default of 1400. + uint32 mtu_size = 24; } // Available temperature units.