@@ -806,13 +806,20 @@ enum Camera {
806806 CAMERA_GUESTPORT = 2 ; // Guest port camera.
807807}
808808
809+ enum StreamingProtocol {
810+ STREAMING_PROTOCOL_UNSPECIFIED = 0 ; // Streaming protocol not specified.
811+ STREAMING_PROTOCOL_RTSP_H264 = 1 ; // RTSP streaming protocol using H264 codec.
812+ STREAMING_PROTOCOL_RTSP_MJPEG = 2 ; // RTSP streaming protocol using MJPEG codec.
813+ }
814+
815+
809816// Camera parameters.
810817message CameraParameters {
811818 int32 h264_bitrate = 1 ; // Bitrate of the h264 stream (bit/sec).
812819 int32 mjpg_bitrate = 2 ; // Bitrate of the MJPG stream used for still pictures (bit/sec).
813820
814821 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.
822+ int32 white_balance = 4 ; // White balance temp (Pioneer/Pro/X1/X3: 2800..9300, Ultra: 2300..15000), -1 for auto.
816823 int32 hue = 5 ; // Hue (-40..40), 0 as default. Only available on Pioneer/Pro/X1/X3.
817824 float gain = 9 ; // Iso gain (0..1). Only available on Pioneer/Pro/X1/X3.
818825
@@ -827,6 +834,7 @@ message CameraParameters {
827834 Resolution resolution = 6 ; // Stream, recording and image resolution (deprecated).
828835 Resolution stream_resolution = 10 ; // Stream resolution.
829836 Resolution recording_resolution = 11 ; // Recording and image resolution.
837+ StreamingProtocol streaming_protocol = 20 ; // Streaming protocol.
830838 Framerate framerate = 7 ; // Stream and recording framerate.
831839 Camera camera = 8 ; // Which camera the parameters belong to.
832840 bool fixed_framerate = 19 ; // Prioritize fixed frame rate over quality on Ultra.
0 commit comments