fix : do not force capture and display unless video is not supported

This commit is contained in:
gaelle 2025-08-06 09:41:40 +02:00
parent a638a7d852
commit 2b328583ec
2 changed files with 3 additions and 8 deletions

View file

@ -85,9 +85,9 @@ void CoreModel::start() {
// Useful if the app was built without video support.
// (The capture/display attributes are reset by the core in this case.)
auto config = mCore->getConfig();
if (mCore->videoSupported()) {
config->setInt("video", "capture", 1);
config->setInt("video", "display", 1);
if (!mCore->videoSupported()) {
config->setInt("video", "capture", 0);
config->setInt("video", "display", 0);
}
// TODO : set the real transport type when sdk will be updated

View file

@ -1,8 +1,3 @@
/**
* Qml template used for welcome and login/register pages
**/
import QtCore
import QtQuick
import QtQuick.Layouts