Skip to content

Commit 3e5d4d4

Browse files
Merge pull request #196 from BluEye-Robotics/4k
Add support for 4k, remove mjpg_bitrate
2 parents 6af397e + 3d281f6 commit 3e5d4d4

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

protobuf_definitions/message_formats.proto

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,7 @@ enum Resolution {
717717
RESOLUTION_UNSPECIFIED = 0; // Resolution not specified.
718718
RESOLUTION_FULLHD_1080P = 1; // 1080p Full HD resolution.
719719
RESOLUTION_HD_720P = 2; // 720p HD resolution.
720+
RESOLUTION_UHD_4K = 3; // 4K Ultra HD resolution.
720721
}
721722

722723
// Available camera frame rates.
@@ -735,15 +736,20 @@ enum Camera {
735736

736737
// Camera parameters.
737738
message CameraParameters {
739+
reserved 2;
740+
reserved "mjpg_bitrate";
741+
738742
int32 h264_bitrate = 1; // Bitrate of the h264 stream (bit/sec).
739-
int32 mjpg_bitrate = 2; // Bitrate of the MJPG stream used for still pictures (bit/sec).
743+
740744
int32 exposure = 3; // Shutter speed (1/10000 * s), -1 for automatic exposure.
741745
int32 white_balance = 4; // White balance temperature (2800..9300), -1 for automatic white balance.
742746
int32 hue = 5; // Hue (-40..40), 0 as default.
743747

744748
float gain = 9; // Iso gain (0..1).
745749

746-
Resolution resolution = 6; // Stream, recording and image resolution.
750+
Resolution resolution = 6; // Stream, recording and image resolution (deprecated).
751+
Resolution stream_resolution = 10; // Stream resolution.
752+
Resolution recording_resolution = 11; // Recording and image resolution.
747753
Framerate framerate = 7; // Stream and recording framerate.
748754
Camera camera = 8; // Which camera the parameters belong to.
749755
}

0 commit comments

Comments
 (0)