diff --git a/app/src/main/java/com/limelight/Game.java b/app/src/main/java/com/limelight/Game.java index aa9d6457..36c3f230 100644 --- a/app/src/main/java/com/limelight/Game.java +++ b/app/src/main/java/com/limelight/Game.java @@ -1596,6 +1596,10 @@ public class Game extends Activity implements SurfaceHolder.Callback, message = getResources().getString(R.string.no_video_received_error); break; + case MoonBridge.ML_ERROR_NO_VIDEO_FRAME: + message = getResources().getString(R.string.no_frame_received_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 fa08c87f..6a9fe82e 100644 --- a/app/src/main/java/com/limelight/nvstream/jni/MoonBridge.java +++ b/app/src/main/java/com/limelight/nvstream/jni/MoonBridge.java @@ -35,6 +35,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_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 f2c1d03d..9e4651e4 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 f2c1d03d8e268375de00352a1228a5669b016b61 +Subproject commit 9e4651e460a92168ffa86f54be9a5033c6e9064c diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 362bd608..fa9d32d7 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -73,6 +73,7 @@ Your current launcher does not allow for creating pinned shortcuts. Video decoder failed to initialize. Your device may not support the selected resolution or frame rate. No video received from host. Check the host PC\'s firewall and port forwarding rules. + Your network connection isn\'t performing well. Reduce your video bitrate setting or try a faster connection. Establishing Connection