From bf437669fb4ea56d4af0cbfd64b9aba3d1d0e830 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 29 Aug 2020 21:21:46 -0700 Subject: [PATCH] Add warning if no key frames can be received in 10 seconds --- 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 0edd14d..66eb9ed 100644 --- a/Limelight/ViewControllers/StreamFrameViewController.m +++ b/Limelight/ViewControllers/StreamFrameViewController.m @@ -258,6 +258,11 @@ message = @"No video received from host. Check the host PC's firewall and port forwarding rules."; break; + case ML_ERROR_NO_VIDEO_FRAME: + title = @"Connection Error"; + message = @"Your network connection isn't performing well. Reduce your video bitrate setting or try a faster connection."; + 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 f2c1d03..9e4651e 160000 --- a/moonlight-common/moonlight-common-c +++ b/moonlight-common/moonlight-common-c @@ -1 +1 @@ -Subproject commit f2c1d03d8e268375de00352a1228a5669b016b61 +Subproject commit 9e4651e460a92168ffa86f54be9a5033c6e9064c