diff --git a/VoidLink/ViewControllers/StreamFrameViewController.m b/VoidLink/ViewControllers/StreamFrameViewController.m index 635ec838..8ca232f8 100644 --- a/VoidLink/ViewControllers/StreamFrameViewController.m +++ b/VoidLink/ViewControllers/StreamFrameViewController.m @@ -736,7 +736,7 @@ #if !TARGET_OS_TV // Terminate the stream if the app is inactive for 60 seconds Log(LOG_I, @"Starting inactivity termination timer"); - _inactivityTimer = [NSTimer scheduledTimerWithTimeInterval:60 + _inactivityTimer = [NSTimer scheduledTimerWithTimeInterval:1800 target:self selector:@selector(inactiveTimerExpired:) userInfo:nil @@ -763,7 +763,7 @@ // This fires when the home button is pressed - (void)applicationDidEnterBackground:(UIApplication *)application { - /* + Log(LOG_I, @"Terminating stream immediately for backgrounding"); if (_inactivityTimer != nil) { @@ -771,8 +771,7 @@ _inactivityTimer = nil; } - [self returnToMainFrame]; - */ + // [self returnToMainFrame]; } - (void)expandSettingsView{