Skip to content

Commit e9cac0e

Browse files
Merge pull request #224 from BluEye-Robotics/js/framerate
Remove fixed framerate, add eHDR options
2 parents 7ccc4a0 + 742da13 commit e9cac0e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

protobuf_definitions/message_formats.proto

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -799,14 +799,14 @@ enum Resolution {
799799
RESOLUTION_VGA_480P = 4; // VGA (640x480).
800800
RESOLUTION_HD_720P = 2; // 720p HD (1280x720).
801801
RESOLUTION_FULLHD_1080P = 1; // 1080p Full HD (1920x1080).
802-
RESOLUTION_UHD_4K = 3; // 4K Ultra HD (3840x2160).
802+
RESOLUTION_UHD_4K = 3; // 4K Ultra HD (3840x2160, Only supported on X3 Ultra).
803803
}
804804

805805
// Available camera frame rates.
806806
enum Framerate {
807807
FRAMERATE_UNSPECIFIED = 0; // Framerate not specified.
808808
FRAMERATE_FPS_30 = 1; // 30 frames per second.
809-
FRAMERATE_FPS_25 = 2; // 25 frames per second.
809+
FRAMERATE_FPS_25 = 2; // 25 frames per second. (Only supported on Pioneer/Pro/X1/X3)
810810
}
811811

812812
// Which camera to control.
@@ -819,11 +819,12 @@ enum Camera {
819819
enum StreamingProtocol {
820820
STREAMING_PROTOCOL_UNSPECIFIED = 0; // Streaming protocol not specified.
821821
STREAMING_PROTOCOL_RTSP_H264 = 1; // RTSP streaming protocol using H264 codec.
822-
STREAMING_PROTOCOL_RTSP_MJPEG = 2; // RTSP streaming protocol using MJPEG codec.
822+
STREAMING_PROTOCOL_RTSP_MJPEG = 2; // RTSP streaming protocol using MJPEG codec. No recording when activated.
823823
}
824824

825825
// Camera parameters.
826826
message CameraParameters {
827+
reserved 19;
827828
int32 h264_bitrate = 1; // Bitrate of the h264 stream (bit/sec).
828829
int32 mjpg_bitrate = 2; // Bitrate of the MJPG stream used for still pictures (bit/sec).
829830

@@ -839,14 +840,17 @@ message CameraParameters {
839840
int32 sharpness = 16; // Sharpness (-20..20), -20 as default. Only available on Ultra.
840841
int32 backlight_compensation = 17; // Backlight compensation (-150..150), 10 as default. Only available on Ultra.
841842
int32 denoise = 18; // Noise reduction (-20..20), -20 as default. Only available on Ultra.
843+
bool ehdr_enabled = 21; // Enable eHDR mode. Default true. Only available on Ultra.
844+
int32 ehdr_exposure_min_number = 22; // Minimum number of eHDR frames. (1..4), default 1. Only available on Ultra.
845+
// Maximum number of eHDR frames. (1..4), default 2. Only on Ultra. Setting larger than 2 can reduce the framerate.
846+
int32 ehdr_exposure_max_number = 23;
842847

843848
Resolution resolution = 6; // Stream, recording and image resolution (deprecated).
844849
Resolution stream_resolution = 10; // Stream resolution.
845850
Resolution recording_resolution = 11; // Recording and image resolution.
846851
StreamingProtocol streaming_protocol = 20; // Streaming protocol.
847852
Framerate framerate = 7; // Stream and recording framerate.
848853
Camera camera = 8; // Which camera the parameters belong to.
849-
bool fixed_framerate = 19; // Prioritize fixed frame rate over quality on Ultra.
850854
}
851855

852856
// Available temperature units.

0 commit comments

Comments
 (0)