mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-10 05:34:17 +00:00
Add warning if no key frames can be received in 10 seconds
This commit is contained in:
parent
829ebba622
commit
2e87f5ff85
2 changed files with 6 additions and 1 deletions
|
@ -79,6 +79,11 @@ void Session::clConnectionTerminated(int errorCode)
|
|||
emit s_ActiveSession->displayLaunchError("No video received from host. Check the host PC's firewall and port forwarding rules.");
|
||||
break;
|
||||
|
||||
case ML_ERROR_NO_VIDEO_FRAME:
|
||||
s_ActiveSession->m_UnexpectedTermination = true;
|
||||
emit s_ActiveSession->displayLaunchError("Your network connection isn't performing well. Reduce your video bitrate setting or try a faster connection.");
|
||||
break;
|
||||
|
||||
default:
|
||||
s_ActiveSession->m_UnexpectedTermination = true;
|
||||
emit s_ActiveSession->displayLaunchError("Connection terminated");
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit e74fe2b016abd9708d0ad4170b50bc8f55a00cc7
|
||||
Subproject commit 1b022a0d05976c81a18ce57dd0367499a73c59e2
|
Loading…
Reference in a new issue