From 3f1699258dd3194a2290660c173edcaf8d4acbc1 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 18 Oct 2020 17:44:52 -0500 Subject: [PATCH] Increase inactivity threshold to 60 seconds before killing the stream --- Limelight/ViewControllers/StreamFrameViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Limelight/ViewControllers/StreamFrameViewController.m b/Limelight/ViewControllers/StreamFrameViewController.m index 96f101f6..8820efd4 100644 --- a/Limelight/ViewControllers/StreamFrameViewController.m +++ b/Limelight/ViewControllers/StreamFrameViewController.m @@ -169,9 +169,9 @@ } #if !TARGET_OS_TV - // Terminate the stream if the app is inactive for 10 seconds + // Terminate the stream if the app is inactive for 60 seconds Log(LOG_I, @"Starting inactivity termination timer"); - _inactivityTimer = [NSTimer scheduledTimerWithTimeInterval:10 + _inactivityTimer = [NSTimer scheduledTimerWithTimeInterval:60 target:self selector:@selector(inactiveTimerExpired:) userInfo:nil