@@ -787,9 +787,11 @@ message ErrorFlags {
787787// Available camera resolutions.
788788enum Resolution {
789789 RESOLUTION_UNSPECIFIED = 0 ; // Resolution not specified.
790- RESOLUTION_FULLHD_1080P = 1 ; // 1080p Full HD resolution.
791- RESOLUTION_HD_720P = 2 ; // 720p HD resolution.
792- RESOLUTION_UHD_4K = 3 ; // 4K Ultra HD resolution.
790+ RESOLUTION_VGA = 4 ; // VGA (640x480).
791+ RESOLUTION_SVGA = 5 ; // SVGA (800x600).
792+ RESOLUTION_HD_720P = 2 ; // 720p HD (1280x720).
793+ RESOLUTION_FULLHD_1080P = 1 ; // 1080p Full HD (1920x1080).
794+ RESOLUTION_UHD_4K = 3 ; // 4K Ultra HD (3840x2160).
793795}
794796
795797// Available camera frame rates.
@@ -806,13 +808,20 @@ enum Camera {
806808 CAMERA_GUESTPORT = 2 ; // Guest port camera.
807809}
808810
811+ enum StreamingProtocol {
812+ STREAMING_PROTOCOL_UNSPECIFIED = 0 ; // Streaming protocol not specified.
813+ STREAMING_PROTOCOL_RTSP_H264 = 1 ; // RTSP streaming protocol using H264 codec.
814+ STREAMING_PROTOCOL_RTSP_MJPEG = 2 ; // RTSP streaming protocol using MJPEG codec.
815+ }
816+
817+
809818// Camera parameters.
810819message CameraParameters {
811820 int32 h264_bitrate = 1 ; // Bitrate of the h264 stream (bit/sec).
812821 int32 mjpg_bitrate = 2 ; // Bitrate of the MJPG stream used for still pictures (bit/sec).
813822
814823 int32 exposure = 3 ; // Shutter speed (1/10000 * s), -1 for automatic exposure.
815- int32 white_balance = 4 ; // White balance temperature (Pioneer/Pro/X1/X3: 2800..9300, Ultra: 2300..15000), -1 for auto.
824+ int32 white_balance = 4 ; // White balance temp (Pioneer/Pro/X1/X3: 2800..9300, Ultra: 2300..15000), -1 for auto.
816825 int32 hue = 5 ; // Hue (-40..40), 0 as default. Only available on Pioneer/Pro/X1/X3.
817826 float gain = 9 ; // Iso gain (0..1). Only available on Pioneer/Pro/X1/X3.
818827
@@ -827,6 +836,7 @@ message CameraParameters {
827836 Resolution resolution = 6 ; // Stream, recording and image resolution (deprecated).
828837 Resolution stream_resolution = 10 ; // Stream resolution.
829838 Resolution recording_resolution = 11 ; // Recording and image resolution.
839+ StreamingProtocol streaming_protocol = 20 ; // Streaming protocol.
830840 Framerate framerate = 7 ; // Stream and recording framerate.
831841 Camera camera = 8 ; // Which camera the parameters belong to.
832842 bool fixed_framerate = 19 ; // Prioritize fixed frame rate over quality on Ultra.
0 commit comments