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.
|
config->setInt("video", "show_local", 0); // So : write ourself to turn off camera before starting the core.
|
||||||
mCore->start();
|
mCore->start();
|
||||||
setPathAfterStart();
|
setPathAfterStart();
|
||||||
|
auto videoPolicy = mCore->getVideoActivationPolicy();
|
||||||
|
videoPolicy->setAutomaticallyAccept(true);
|
||||||
|
videoPolicy->setAutomaticallyInitiate(false);
|
||||||
|
mCore->setVideoActivationPolicy(videoPolicy);
|
||||||
mIterateTimer->start();
|
mIterateTimer->start();
|
||||||
}
|
}
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue