FIX: Revert "prefer local tunnel for P1P liveview"
This reverts commit 34605e0ba1d2428a433ebd1d3958fef6cb5f57bb. Change-Id: I877b4de52c5d96753b97a1afe375aca177802c4c Jira: none (cherry picked from commit 93aba987f3926f6fa85ca30684e90f5b2e7a56bb)
This commit is contained in:
parent
6021d12110
commit
23018b4ced
|
@ -191,7 +191,7 @@ void MediaPlayCtrl::Play()
|
|||
m_button_play->SetIcon("media_stop");
|
||||
NetworkAgent *agent = wxGetApp().getAgent();
|
||||
std::string agent_version = agent ? agent->get_version() : "";
|
||||
if (m_lan_proto > MachineObject::LVL_None && (m_lan_mode || m_lan_proto == MachineObject::LVL_Local || !m_remote_support) && !m_disable_lan && !m_lan_ip.empty()) {
|
||||
if (m_lan_proto > MachineObject::LVL_None && (m_lan_mode || !m_remote_support) && !m_disable_lan && !m_lan_ip.empty()) {
|
||||
m_disable_lan = m_remote_support && !m_lan_mode; // try remote next time
|
||||
if (m_lan_proto == MachineObject::LVL_Local)
|
||||
m_url = "bambu:///local/" + m_lan_ip + ".?port=6000&user=" + m_lan_user + "&passwd=" + m_lan_passwd;
|
||||
|
|
Loading…
Reference in New Issue