mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-17 06:01:13 +00:00
Increase inactivity threshold to 60 seconds before killing the stream
This commit is contained in:
@@ -169,9 +169,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if !TARGET_OS_TV
|
#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");
|
Log(LOG_I, @"Starting inactivity termination timer");
|
||||||
_inactivityTimer = [NSTimer scheduledTimerWithTimeInterval:10
|
_inactivityTimer = [NSTimer scheduledTimerWithTimeInterval:60
|
||||||
target:self
|
target:self
|
||||||
selector:@selector(inactiveTimerExpired:)
|
selector:@selector(inactiveTimerExpired:)
|
||||||
userInfo:nil
|
userInfo:nil
|
||||||
|
|||||||
Reference in New Issue
Block a user