Add special error text for an early termination

This commit is contained in:
Cameron Gutman 2020-12-24 11:24:01 -06:00
parent 0b56b1685a
commit 47cad71fcd
2 changed files with 8 additions and 1 deletions

View File

@ -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