Fix mixup between capture/display in daemon

This commit is contained in:
Yann Diorcet 2012-05-25 09:54:14 +02:00
parent ad12d2570a
commit 337eb39720

View file

@ -212,7 +212,7 @@ Daemon::Daemon(const char *config_path, const char *factory_config_path, const c
vtable.dtmf_received = dtmfReceived;
mLc = linphone_core_new(&vtable, config_path, factory_config_path, this);
linphone_core_set_user_data(mLc, this);
linphone_core_enable_video(mLc, display_video, capture_video);
linphone_core_enable_video(mLc, capture_video, display_video);
linphone_core_enable_echo_cancellation(mLc, false);
initCommands();
}