forked from mirrors/linphone-iphone
Prevent from from going to sleep when video is active in call
This commit is contained in:
parent
8909ae7279
commit
8b5668e8ce
1 changed files with 1 additions and 0 deletions
|
|
@ -97,6 +97,7 @@ class ActiveCallView: UIView { // = currentCall
|
|||
self.pauseCallButtons.first?.isHidden = video != true
|
||||
self.recordCallButtons.last?.isHidden = video == true
|
||||
self.pauseCallButtons.last?.isHidden = video == true
|
||||
UIApplication.shared.isIdleTimerDisabled = video == true
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue