mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Fix conference pausing on remote when pausing locally
This commit is contained in:
parent
5f7b4f3bcd
commit
0ceb1f9043
1 changed files with 8 additions and 4 deletions
|
|
@ -86,12 +86,16 @@ class ConferenceViewModel {
|
|||
}
|
||||
},
|
||||
onParticipantDeviceLeft: { (conference: Conference, device: ParticipantDevice) in
|
||||
Log.i("[Conference] onParticipantDeviceJoined Entered conference")
|
||||
self.isConferenceLocallyPaused.value = true
|
||||
if (conference.isMe(uri: device.address!)) {
|
||||
Log.i("[Conference] Left conference")
|
||||
self.isConferenceLocallyPaused.value = true
|
||||
}
|
||||
},
|
||||
onParticipantDeviceJoined: { (conference: Conference, device: ParticipantDevice) in
|
||||
Log.i("[Conference] onParticipantDeviceJoined Entered conference")
|
||||
self.isConferenceLocallyPaused.value = false
|
||||
if (conference.isMe(uri: device.address!)) {
|
||||
Log.i("[Conference] Joined conference")
|
||||
self.isConferenceLocallyPaused.value = false
|
||||
}
|
||||
},
|
||||
onStateChanged: { (conference: Conference, state: Conference.State) in
|
||||
Log.i("[Conference] State changed: \(state)")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue