@@ -717,6 +717,7 @@ enum Resolution {
717
717
RESOLUTION_UNSPECIFIED = 0 ; // Resolution not specified.
718
718
RESOLUTION_FULLHD_1080P = 1 ; // 1080p Full HD resolution.
719
719
RESOLUTION_HD_720P = 2 ; // 720p HD resolution.
720
+ RESOLUTION_UHD_4K = 3 ; // 4K Ultra HD resolution.
720
721
}
721
722
722
723
// Available camera frame rates.
@@ -735,15 +736,20 @@ enum Camera {
735
736
736
737
// Camera parameters.
737
738
message CameraParameters {
739
+ reserved 2 ;
740
+ reserved "mjpg_bitrate" ;
741
+
738
742
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
+
740
744
int32 exposure = 3 ; // Shutter speed (1/10000 * s), -1 for automatic exposure.
741
745
int32 white_balance = 4 ; // White balance temperature (2800..9300), -1 for automatic white balance.
742
746
int32 hue = 5 ; // Hue (-40..40), 0 as default.
743
747
744
748
float gain = 9 ; // Iso gain (0..1).
745
749
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.
747
753
Framerate framerate = 7 ; // Stream and recording framerate.
748
754
Camera camera = 8 ; // Which camera the parameters belong to.
749
755
}
0 commit comments