mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Fix activespeaker black camera on start and when entering in fullscreen (Windows/Mac).
This commit is contained in:
parent
4cb92069fd
commit
374dfb6be2
2 changed files with 12 additions and 10 deletions
|
|
@ -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})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 30c10c2fc620369a2aaf584c78290298957241e6
|
||||
Subproject commit ac38c341c4a8a045e48bb170b15ff23431903763
|
||||
Loading…
Add table
Reference in a new issue