FIX: [STUDIO-2940] prefer use remote tunnel for liveview

Change-Id: I23708989e6d5ab38724e5da2cff2fe9d648bf730
This commit is contained in:
chunmao.guo 2023-05-18 12:27:16 +08:00 committed by Lane.Wei
parent f8bc0fd2d2
commit 3dc94b6f12
3 changed files with 3 additions and 3 deletions

View file

@ -2373,7 +2373,7 @@ bool MachineObject::is_camera_busy_off()
int MachineObject::get_local_camera_proto()
{
if (!is_function_supported(PrinterFunction::FUNC_REMOTE_TUNNEL)) return 0;
if (!is_function_supported(PrinterFunction::FUNC_LOCAL_TUNNEL)) return 0;
return local_camera_proto;
}