@@ -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.
737738message 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