mirror of
https://github.com/rustdesk/hbb_common.git
synced 2025-07-04 00:45:32 +00:00
Merge pull request #25 from adwinwhite/view-camera
Add camera connection type and related permission.
This commit is contained in:
commit
d52ef0de30
@ -62,6 +62,8 @@ message FileTransfer {
|
|||||||
bool show_hidden = 2;
|
bool show_hidden = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message ViewCamera {}
|
||||||
|
|
||||||
message OSLogin {
|
message OSLogin {
|
||||||
string username = 1;
|
string username = 1;
|
||||||
string password = 2;
|
string password = 2;
|
||||||
@ -76,6 +78,7 @@ message LoginRequest {
|
|||||||
oneof union {
|
oneof union {
|
||||||
FileTransfer file_transfer = 7;
|
FileTransfer file_transfer = 7;
|
||||||
PortForward port_forward = 8;
|
PortForward port_forward = 8;
|
||||||
|
ViewCamera view_camera = 9;
|
||||||
}
|
}
|
||||||
bool video_ack_required = 9;
|
bool video_ack_required = 9;
|
||||||
uint64 session_id = 10;
|
uint64 session_id = 10;
|
||||||
@ -603,6 +606,7 @@ message PermissionInfo {
|
|||||||
Restart = 5;
|
Restart = 5;
|
||||||
Recording = 6;
|
Recording = 6;
|
||||||
BlockInput = 7;
|
BlockInput = 7;
|
||||||
|
Camera = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
Permission permission = 1;
|
Permission permission = 1;
|
||||||
@ -660,6 +664,7 @@ message OptionMessage {
|
|||||||
// starting from 15 please, do not use removed fields
|
// starting from 15 please, do not use removed fields
|
||||||
BoolOption follow_remote_cursor = 15;
|
BoolOption follow_remote_cursor = 15;
|
||||||
BoolOption follow_remote_window = 16;
|
BoolOption follow_remote_window = 16;
|
||||||
|
BoolOption disable_camera = 17;
|
||||||
}
|
}
|
||||||
|
|
||||||
message TestDelay {
|
message TestDelay {
|
||||||
|
@ -11,6 +11,7 @@ enum ConnType {
|
|||||||
FILE_TRANSFER = 1;
|
FILE_TRANSFER = 1;
|
||||||
PORT_FORWARD = 2;
|
PORT_FORWARD = 2;
|
||||||
RDP = 3;
|
RDP = 3;
|
||||||
|
VIEW_CAMERA = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message RegisterPeerResponse { bool request_pk = 2; }
|
message RegisterPeerResponse { bool request_pk = 2; }
|
||||||
|
@ -2212,6 +2212,7 @@ pub mod keys {
|
|||||||
pub const OPTION_ENABLE_KEYBOARD: &str = "enable-keyboard";
|
pub const OPTION_ENABLE_KEYBOARD: &str = "enable-keyboard";
|
||||||
pub const OPTION_ENABLE_CLIPBOARD: &str = "enable-clipboard";
|
pub const OPTION_ENABLE_CLIPBOARD: &str = "enable-clipboard";
|
||||||
pub const OPTION_ENABLE_FILE_TRANSFER: &str = "enable-file-transfer";
|
pub const OPTION_ENABLE_FILE_TRANSFER: &str = "enable-file-transfer";
|
||||||
|
pub const OPTION_ENABLE_CAMERA: &str = "enable-camera";
|
||||||
pub const OPTION_ENABLE_AUDIO: &str = "enable-audio";
|
pub const OPTION_ENABLE_AUDIO: &str = "enable-audio";
|
||||||
pub const OPTION_ENABLE_TUNNEL: &str = "enable-tunnel";
|
pub const OPTION_ENABLE_TUNNEL: &str = "enable-tunnel";
|
||||||
pub const OPTION_ENABLE_REMOTE_RESTART: &str = "enable-remote-restart";
|
pub const OPTION_ENABLE_REMOTE_RESTART: &str = "enable-remote-restart";
|
||||||
@ -2362,6 +2363,7 @@ pub mod keys {
|
|||||||
OPTION_ENABLE_KEYBOARD,
|
OPTION_ENABLE_KEYBOARD,
|
||||||
OPTION_ENABLE_CLIPBOARD,
|
OPTION_ENABLE_CLIPBOARD,
|
||||||
OPTION_ENABLE_FILE_TRANSFER,
|
OPTION_ENABLE_FILE_TRANSFER,
|
||||||
|
OPTION_ENABLE_CAMERA,
|
||||||
OPTION_ENABLE_AUDIO,
|
OPTION_ENABLE_AUDIO,
|
||||||
OPTION_ENABLE_TUNNEL,
|
OPTION_ENABLE_TUNNEL,
|
||||||
OPTION_ENABLE_REMOTE_RESTART,
|
OPTION_ENABLE_REMOTE_RESTART,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user