From 311bf33e8497548fb209823e65690b5d255ac251 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Thu, 24 Dec 2020 12:48:10 -0600 Subject: [PATCH] Add special error text for an unexpected early termination --- Limelight/ViewControllers/StreamFrameViewController.m | 5 +++++ moonlight-common/moonlight-common-c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Limelight/ViewControllers/StreamFrameViewController.m b/Limelight/ViewControllers/StreamFrameViewController.m index c6e2e09..593393f 100644 --- a/Limelight/ViewControllers/StreamFrameViewController.m +++ b/Limelight/ViewControllers/StreamFrameViewController.m @@ -400,6 +400,11 @@ message = @"Your network connection isn't performing well. Reduce your video bitrate setting or try a faster connection."; break; + case ML_ERROR_UNEXPECTED_EARLY_TERMINATION: + title = @"Connection Error"; + message = @"Something went wrong on your host PC when starting the stream.\n\nMake sure you don't have any DRM-protected content open on your host PC. You can also try restarting your host PC.\n\nIf the issue persists, try reinstalling your GPU drivers and GeForce Experience."; + break; + default: title = @"Connection Terminated"; message = @"The connection was terminated"; diff --git a/moonlight-common/moonlight-common-c b/moonlight-common/moonlight-common-c index cca2ba9..3aa2463 160000 --- a/moonlight-common/moonlight-common-c +++ b/moonlight-common/moonlight-common-c @@ -1 +1 @@ -Subproject commit cca2ba9aabfc0e9ae18b980e7ecc08abb3888ec1 +Subproject commit 3aa246385680454c8564d28ca3a8807eb4f56195