mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-06 06:51:28 +03:00
view camera (#11040)
* view camera Signed-off-by: 21pages <sunboeasy@gmail.com> * `No cameras` prompt if no cameras available, `peerGetSessionsCount` use connType as parameter Signed-off-by: 21pages <sunboeasy@gmail.com> * fix, use video_service_name rather than display_idx as key in qos,etc Signed-off-by: 21pages <sunboeasy@gmail.com> --------- Signed-off-by: 21pages <sunboeasy@gmail.com> Co-authored-by: Adwin White <adwinw01@gmail.com> Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
This commit is contained in:
@@ -316,6 +316,7 @@ impl InvokeUiSession for SciterHandler {
|
||||
ConnType::RDP => {}
|
||||
ConnType::PORT_FORWARD => {}
|
||||
ConnType::FILE_TRANSFER => {}
|
||||
ConnType::VIEW_CAMERA => {}
|
||||
ConnType::DEFAULT_CONN => {
|
||||
crate::keyboard::client::start_grab_loop();
|
||||
}
|
||||
@@ -557,6 +558,8 @@ impl SciterSession {
|
||||
|
||||
let conn_type = if cmd.eq("--file-transfer") {
|
||||
ConnType::FILE_TRANSFER
|
||||
} else if cmd.eq("--view-camera") {
|
||||
ConnType::VIEW_CAMERA
|
||||
} else if cmd.eq("--port-forward") {
|
||||
ConnType::PORT_FORWARD
|
||||
} else if cmd.eq("--rdp") {
|
||||
|
||||
Reference in New Issue
Block a user