mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 15:26:09 +00:00
Add special error text for an early termination
This commit is contained in:
parent
0b56b1685a
commit
47cad71fcd
@ -111,6 +111,13 @@ void Session::clConnectionTerminated(int errorCode)
|
||||
emit s_ActiveSession->displayLaunchError(tr("Your network connection isn't performing well. Reduce your video bitrate setting or try a faster connection."));
|
||||
break;
|
||||
|
||||
case ML_ERROR_UNEXPECTED_EARLY_TERMINATION:
|
||||
s_ActiveSession->m_UnexpectedTermination = true;
|
||||
emit s_ActiveSession->displayLaunchError(tr("Something went wrong on your host PC when starting the stream.") + "\n\n" +
|
||||
tr("Make sure you don't have any DRM-protected content open on your host PC. You can also try restarting your host PC.") + "\n\n" +
|
||||
tr("If the issue persists, try reinstalling your GPU drivers and GeForce Experience."));
|
||||
break;
|
||||
|
||||
default:
|
||||
s_ActiveSession->m_UnexpectedTermination = true;
|
||||
emit s_ActiveSession->displayLaunchError(tr("Connection terminated"));
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit cca2ba9aabfc0e9ae18b980e7ecc08abb3888ec1
|
||||
Subproject commit 3aa246385680454c8564d28ca3a8807eb4f56195
|
Loading…
x
Reference in New Issue
Block a user