mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
Remove preview camera in waitig room on outgoing call. SDK Call doesn't have the information that it is an audio or a video call.
This commit is contained in:
parent
efcf2c3f22
commit
c5879d44db
2 changed files with 2 additions and 4 deletions
|
|
@ -107,7 +107,6 @@ Item{
|
|||
color: CameraViewStyle.pauseView.backgroundColor
|
||||
radius: CameraViewStyle.radius
|
||||
visible: mainItem.isPaused
|
||||
onVisibleChanged: console.log(visible)
|
||||
Rectangle{
|
||||
anchors.centerIn: parent
|
||||
height: CameraViewStyle.pauseView.button.iconSize
|
||||
|
|
@ -156,7 +155,6 @@ Item{
|
|||
}
|
||||
Rectangle{
|
||||
visible: mainItem.currentDevice && mainItem.currentDevice.isMuted
|
||||
onVisibleChanged: console.log(visible)
|
||||
anchors.left: parent.left
|
||||
anchors.top: parent.top
|
||||
anchors.leftMargin: 15
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ Rectangle {
|
|||
color: WaitingRoomStyle.backgroundColor
|
||||
property ConferenceInfoModel conferenceInfoModel
|
||||
property CallModel callModel // Store the call for processing calling.
|
||||
property bool previewLoaderEnabled: true
|
||||
property bool previewLoaderEnabled: callModel ? callModel.videoEnabled : true
|
||||
property var _sipAddressObserver: callModel ? SipAddressesModel.getSipAddressObserver(callModel.fullPeerAddress, callModel.fullLocalAddress) : undefined
|
||||
|
||||
signal cancel()
|
||||
|
|
@ -29,7 +29,7 @@ Rectangle {
|
|||
mainItem.previewLoaderEnabled = false// Need it to close camera.
|
||||
}
|
||||
function open(){
|
||||
mainItem.previewLoaderEnabled = true
|
||||
mainItem.previewLoaderEnabled = callModel ? callModel.videoEnabled : true
|
||||
}
|
||||
|
||||
//onCallModelChanged: callModel ? contentsStack.replace(callingComponent) : contentsStack.replace(cameraComponent)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue