From 374dfb6be2f583dde6d9887c41b4e88b82d1342a Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Thu, 28 Jul 2022 16:00:08 +0200 Subject: [PATCH] Fix activespeaker black camera on start and when entering in fullscreen (Windows/Mac). --- linphone-app/ui/views/App/Calls/Incall.js | 20 +++++++++++--------- linphone-sdk | 2 +- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/linphone-app/ui/views/App/Calls/Incall.js b/linphone-app/ui/views/App/Calls/Incall.js index 1ee3e8134..5618a4ba4 100644 --- a/linphone-app/ui/views/App/Calls/Incall.js +++ b/linphone-app/ui/views/App/Calls/Incall.js @@ -127,19 +127,21 @@ function showFullscreen (window, callerId, qmlFile, position) { return } DesktopTools.DesktopTools.screenSaverStatus = false - var parameters = { + Utils.setTimeout(window, 1, function() { + var parameters = { caller: callerId, x:position.x, y:position.y, width:window.width, height:window.height, window:window - } - callerId._fullscreen = Utils.openWindow(Qt.resolvedUrl(qmlFile), parameters.window, { - properties: parameters - }, true) - if(callerId._fullscreen) { - callerId._fullscreen.cameraIsReady = Qt.binding(function(){ return !callerId.cameraIsReady}) - callerId._fullscreen.previewIsReady = Qt.binding(function(){ return !callerId.previewIsReady}) - } + } + callerId._fullscreen = Utils.openWindow(Qt.resolvedUrl(qmlFile), parameters.window, { + properties: parameters + }, true) + if(callerId._fullscreen) { + callerId._fullscreen.cameraIsReady = Qt.binding(function(){ return !callerId.cameraIsReady}) + callerId._fullscreen.previewIsReady = Qt.binding(function(){ return !callerId.previewIsReady}) + } + }) } diff --git a/linphone-sdk b/linphone-sdk index 30c10c2fc..ac38c341c 160000 --- a/linphone-sdk +++ b/linphone-sdk @@ -1 +1 @@ -Subproject commit 30c10c2fc620369a2aaf584c78290298957241e6 +Subproject commit ac38c341c4a8a045e48bb170b15ff23431903763