fix : do not force capture and display unless video is not supported
This commit is contained in:
parent
a638a7d852
commit
2b328583ec
2 changed files with 3 additions and 8 deletions
|
|
@ -85,9 +85,9 @@ void CoreModel::start() {
|
||||||
// Useful if the app was built without video support.
|
// Useful if the app was built without video support.
|
||||||
// (The capture/display attributes are reset by the core in this case.)
|
// (The capture/display attributes are reset by the core in this case.)
|
||||||
auto config = mCore->getConfig();
|
auto config = mCore->getConfig();
|
||||||
if (mCore->videoSupported()) {
|
if (!mCore->videoSupported()) {
|
||||||
config->setInt("video", "capture", 1);
|
config->setInt("video", "capture", 0);
|
||||||
config->setInt("video", "display", 1);
|
config->setInt("video", "display", 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO : set the real transport type when sdk will be updated
|
// TODO : set the real transport type when sdk will be updated
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,3 @@
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Qml template used for welcome and login/register pages
|
|
||||||
**/
|
|
||||||
import QtCore
|
import QtCore
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue