Use video policy in linphone_core_init_default_params

This commit is contained in:
Pierre-Eric Pelloux-Prayer 2012-03-13 17:57:00 +01:00
parent bdeb9679fe
commit 160a80e48e
2 changed files with 2 additions and 2 deletions

View file

@ -4733,7 +4733,7 @@ void linphone_core_set_media_encryption_mandatory(LinphoneCore *lc, bool_t m) {
}
void linphone_core_init_default_params(LinphoneCore*lc, LinphoneCallParams *params) {
params->has_video=linphone_core_video_enabled(lc);
params->has_video=linphone_core_video_enabled(lc) && lc->video_policy.automatically_initiate;
params->media_encryption=linphone_core_get_media_encryption(lc);
params->in_conference=FALSE;
}

@ -1 +1 @@
Subproject commit 0481d7d11e445bf04b095f4adc6d3b76f9e86ee2
Subproject commit 308dd8b71118f98be39de88bc24968ae79c5c660