diff --git a/app/src/main/java/com/limelight/Game.java b/app/src/main/java/com/limelight/Game.java index e6a52b77..d463baa2 100644 --- a/app/src/main/java/com/limelight/Game.java +++ b/app/src/main/java/com/limelight/Game.java @@ -1605,6 +1605,10 @@ public class Game extends Activity implements SurfaceHolder.Callback, message = getResources().getString(R.string.no_frame_received_error); break; + case MoonBridge.ML_ERROR_UNEXPECTED_EARLY_TERMINATION: + message = getResources().getString(R.string.early_termination_error); + break; + default: message = getResources().getString(R.string.conn_terminated_msg); break; diff --git a/app/src/main/java/com/limelight/nvstream/jni/MoonBridge.java b/app/src/main/java/com/limelight/nvstream/jni/MoonBridge.java index da92271c..9b6594c2 100644 --- a/app/src/main/java/com/limelight/nvstream/jni/MoonBridge.java +++ b/app/src/main/java/com/limelight/nvstream/jni/MoonBridge.java @@ -36,6 +36,7 @@ public class MoonBridge { public static final int ML_ERROR_GRACEFUL_TERMINATION = 0; public static final int ML_ERROR_NO_VIDEO_TRAFFIC = -100; public static final int ML_ERROR_NO_VIDEO_FRAME = -101; + public static final int ML_ERROR_UNEXPECTED_EARLY_TERMINATION = -102; public static final int ML_PORT_INDEX_TCP_47984 = 0; public static final int ML_PORT_INDEX_TCP_47989 = 1; diff --git a/app/src/main/jni/moonlight-core/moonlight-common-c b/app/src/main/jni/moonlight-core/moonlight-common-c index cca2ba9a..3aa24638 160000 --- a/app/src/main/jni/moonlight-core/moonlight-common-c +++ b/app/src/main/jni/moonlight-core/moonlight-common-c @@ -1 +1 @@ -Subproject commit cca2ba9aabfc0e9ae18b980e7ecc08abb3888ec1 +Subproject commit 3aa246385680454c8564d28ca3a8807eb4f56195 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 99455617..60ea0090 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -76,6 +76,7 @@ Video decoder failed to initialize. Your device may not support the selected resolution or frame rate. No video received from host. Your network connection isn\'t performing well. Reduce your video bitrate setting or try a faster connection. + 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. Check your firewall and port forwarding rules for port(s):