Skip to content
Snippets Groups Projects
Commit 1a4fffff authored by Sébastien Blin's avatar Sébastien Blin
Browse files

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
parent 564581b1
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment