1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-25 17:23:58 +02:00

fix: close camera when call ends

Change-Id: I81beded4eed352c90e49ad1060efa8d7ac4e83d2
This commit is contained in:
Aline Gondim Santos 2022-10-14 16:31:58 -03:00
parent 3455a13147
commit 3f33fb19e5

View file

@ -46,6 +46,10 @@ Rectangle {
property var linkedWebview: null
property string callPreviewId: ""
onCallPreviewIdChanged: {
controlPreview.start()
}
color: "black"
onAccountPeerPairChanged: {
@ -318,7 +322,6 @@ Rectangle {
isGrid)
callOverlay.isVideoMuted = !AvAdapter.isCapturing()
callOverlay.sharingActive = AvAdapter.isSharing()
previewRenderer.rendererId = previewId
previewRenderer.visible = (AvAdapter.isSharing() || AvAdapter.isCapturing()) && participantsLayer.count == 0
}