mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-26 00:08:13 +00:00
Set from C++ in waiting of linphonerc-factory integration :
[video] automatically_accept=1 automatically_initiate=0
This commit is contained in:
parent
6849b8d378
commit
449fc17f78
1 changed files with 4 additions and 0 deletions
|
|
@ -92,6 +92,10 @@ void CoreModel::start() {
|
|||
config->setInt("video", "show_local", 0); // So : write ourself to turn off camera before starting the core.
|
||||
mCore->start();
|
||||
setPathAfterStart();
|
||||
auto videoPolicy = mCore->getVideoActivationPolicy();
|
||||
videoPolicy->setAutomaticallyAccept(true);
|
||||
videoPolicy->setAutomaticallyInitiate(false);
|
||||
mCore->setVideoActivationPolicy(videoPolicy);
|
||||
mIterateTimer->start();
|
||||
}
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue