allows 30 min background streaming
This commit is contained in:
@@ -736,7 +736,7 @@
|
||||
#if !TARGET_OS_TV
|
||||
// Terminate the stream if the app is inactive for 60 seconds
|
||||
Log(LOG_I, @"Starting inactivity termination timer");
|
||||
_inactivityTimer = [NSTimer scheduledTimerWithTimeInterval:60
|
||||
_inactivityTimer = [NSTimer scheduledTimerWithTimeInterval:1800
|
||||
target:self
|
||||
selector:@selector(inactiveTimerExpired:)
|
||||
userInfo:nil
|
||||
@@ -763,7 +763,7 @@
|
||||
|
||||
// This fires when the home button is pressed
|
||||
- (void)applicationDidEnterBackground:(UIApplication *)application {
|
||||
/*
|
||||
|
||||
Log(LOG_I, @"Terminating stream immediately for backgrounding");
|
||||
|
||||
if (_inactivityTimer != nil) {
|
||||
@@ -771,8 +771,7 @@
|
||||
_inactivityTimer = nil;
|
||||
}
|
||||
|
||||
[self returnToMainFrame];
|
||||
*/
|
||||
// [self returnToMainFrame];
|
||||
}
|
||||
|
||||
- (void)expandSettingsView{
|
||||
|
||||
Reference in New Issue
Block a user