mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-10-21 15:56:55 +00:00
Increase inactivity threshold to 60 seconds before killing the stream
This commit is contained in:
1 parent
34f8696a5e
commit
3f1699258d
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user