@@ -787,9 +787,11 @@ message ErrorFlags {
787
787
// Available camera resolutions.
788
788
enum Resolution {
789
789
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).
793
795
}
794
796
795
797
// Available camera frame rates.
@@ -806,13 +808,20 @@ enum Camera {
806
808
CAMERA_GUESTPORT = 2 ; // Guest port camera.
807
809
}
808
810
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
+
809
818
// Camera parameters.
810
819
message CameraParameters {
811
820
int32 h264_bitrate = 1 ; // Bitrate of the h264 stream (bit/sec).
812
821
int32 mjpg_bitrate = 2 ; // Bitrate of the MJPG stream used for still pictures (bit/sec).
813
822
814
823
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.
816
825
int32 hue = 5 ; // Hue (-40..40), 0 as default. Only available on Pioneer/Pro/X1/X3.
817
826
float gain = 9 ; // Iso gain (0..1). Only available on Pioneer/Pro/X1/X3.
818
827
@@ -827,6 +836,7 @@ message CameraParameters {
827
836
Resolution resolution = 6 ; // Stream, recording and image resolution (deprecated).
828
837
Resolution stream_resolution = 10 ; // Stream resolution.
829
838
Resolution recording_resolution = 11 ; // Recording and image resolution.
839
+ StreamingProtocol streaming_protocol = 20 ; // Streaming protocol.
830
840
Framerate framerate = 7 ; // Stream and recording framerate.
831
841
Camera camera = 8 ; // Which camera the parameters belong to.
832
842
bool fixed_framerate = 19 ; // Prioritize fixed frame rate over quality on Ultra.
0 commit comments