From f8fbf40f987c0cc20c7dc9b9e2ebeb9ad95f0c65 Mon Sep 17 00:00:00 2001 From: Adwin White Date: Sun, 16 Feb 2025 18:18:58 +0800 Subject: [PATCH] feat: add camera connection type --- protos/message.proto | 3 +++ protos/rendezvous.proto | 1 + 2 files changed, 4 insertions(+) diff --git a/protos/message.proto b/protos/message.proto index 55b5650..565d360 100644 --- a/protos/message.proto +++ b/protos/message.proto @@ -62,6 +62,8 @@ message FileTransfer { bool show_hidden = 2; } +message ViewCamera {} + message OSLogin { string username = 1; string password = 2; @@ -76,6 +78,7 @@ message LoginRequest { oneof union { FileTransfer file_transfer = 7; PortForward port_forward = 8; + ViewCamera view_camera = 15; } bool video_ack_required = 9; uint64 session_id = 10; diff --git a/protos/rendezvous.proto b/protos/rendezvous.proto index 2fc0d90..b9b8ed7 100644 --- a/protos/rendezvous.proto +++ b/protos/rendezvous.proto @@ -11,6 +11,7 @@ enum ConnType { FILE_TRANSFER = 1; PORT_FORWARD = 2; RDP = 3; + VIEW_CAMERA = 4; } message RegisterPeerResponse { bool request_pk = 2; }