From 34f8696a5ec1d3e44330a9ece50fd6945618a87b Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 18 Oct 2020 17:43:34 -0500 Subject: [PATCH] Don't terminate the stream when resigning active on tvOS --- Limelight/ViewControllers/StreamFrameViewController.m | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Limelight/ViewControllers/StreamFrameViewController.m b/Limelight/ViewControllers/StreamFrameViewController.m index 4800f8b..96f101f 100644 --- a/Limelight/ViewControllers/StreamFrameViewController.m +++ b/Limelight/ViewControllers/StreamFrameViewController.m @@ -168,11 +168,7 @@ [_inactivityTimer invalidate]; } -#if TARGET_OS_TV - // Terminate the stream immediately on tvOS - Log(LOG_I, @"Terminating stream after resigning active"); - [self returnToMainFrame]; -#else +#if !TARGET_OS_TV // Terminate the stream if the app is inactive for 10 seconds Log(LOG_I, @"Starting inactivity termination timer"); _inactivityTimer = [NSTimer scheduledTimerWithTimeInterval:10