ENH: request lan ip if liveview failed with lan tunnel
Change-Id: Ib987ce684873869e5abc71da9bad8600479c7146
This commit is contained in:
parent
f7175a3e14
commit
f28c9198a7
|
@ -127,12 +127,12 @@ void MediaPlayCtrl::Play()
|
||||||
}
|
}
|
||||||
if (m_machine.empty()) {
|
if (m_machine.empty()) {
|
||||||
Stop();
|
Stop();
|
||||||
SetStatus(_L("Initialize failed (No Device)!"));
|
SetStatus(_L("Initialize failed (No Device)!"), false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!m_camera_exists) {
|
if (!m_camera_exists) {
|
||||||
Stop();
|
Stop();
|
||||||
SetStatus(_L("Initialize failed (No Camera Device)!"));
|
SetStatus(_L("Initialize failed (No Camera Device)!"), false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -385,6 +385,14 @@ void MediaPlayCtrl::SetStatus(wxString const &msg2, bool hyperlink)
|
||||||
m_label_status->SetWindowStyle(style);
|
m_label_status->SetWindowStyle(style);
|
||||||
m_label_status->InvalidateBestSize();
|
m_label_status->InvalidateBestSize();
|
||||||
Layout();
|
Layout();
|
||||||
|
|
||||||
|
if (hyperlink && !m_tutk_support) {
|
||||||
|
m_next_retry = wxDateTime(); // stop retry
|
||||||
|
if (wxGetApp().show_ip_address_enter_dialog()) {
|
||||||
|
m_failed_retry = 0;
|
||||||
|
m_next_retry = wxDateTime::Now();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool MediaPlayCtrl::IsStreaming() const { return m_streaming; }
|
bool MediaPlayCtrl::IsStreaming() const { return m_streaming; }
|
||||||
|
|
Loading…
Reference in New Issue