mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-03 14:25:38 +02:00
ongoingcallpage: remove useless code
Calling a conference and stopping the call will lead the camera opened. This code seems useless and bugguy. Change-Id: Iff06b03838a2e13fe378f60f84df96ceb7735f1f
This commit is contained in:
parent
564581b1f7
commit
1a4fffffee
1 changed files with 0 additions and 9 deletions
|
@ -319,15 +319,6 @@ Rectangle {
|
|||
target: CurrentCall
|
||||
|
||||
function onPreviewIdChanged() {
|
||||
if (CurrentCall.previewId !== "") {
|
||||
if (root.callPreviewId !== "" &&
|
||||
root.callPreviewId !== CurrentCall.previewId) {
|
||||
VideoDevices.stopDevice(root.callPreviewId)
|
||||
}
|
||||
VideoDevices.startDevice(CurrentCall.previewId)
|
||||
} else {
|
||||
VideoDevices.stopDevice(root.callPreviewId)
|
||||
}
|
||||
root.callPreviewId = CurrentCall.previewId
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue