Add warning if no key frames can be received in 10 seconds

This commit is contained in:
Cameron Gutman
2020-08-29 21:27:44 -07:00
parent c5d58e1aab
commit 1aae65575c
4 changed files with 7 additions and 1 deletions

View File

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