Increase inactivity threshold to 60 seconds before killing the stream

This commit is contained in:
Cameron Gutman
2020-10-18 17:44:52 -05:00
parent 34f8696a5e
commit 3f1699258d

View File

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