mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 01:39:20 +00:00
Hide remote video view in 1-1 call when it is paused by remote
This commit is contained in:
parent
5fb42ce09f
commit
490f9e96db
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ class ControlsViewModel {
|
|||
|
||||
func isVideoCallOrConferenceActive() -> Bool {
|
||||
if let currentCall = core.currentCall, let params = currentCall.params {
|
||||
return params.videoEnabled && (currentCall.conference == nil || params.videoDirection == MediaDirection.SendRecv)
|
||||
return currentCall.state != .PausedByRemote && params.videoEnabled && (currentCall.conference == nil || params.videoDirection == MediaDirection.SendRecv)
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue