Don't terminate the stream when resigning active on tvOS
This commit is contained in:
parent
96e317fe31
commit
34f8696a5e
1 changed files with 1 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue