Commit b27f010d authored by Simon Morlat's avatar Simon Morlat
Browse files

fix test not so reliable because of SIP INFO preventing a reINVITE to happen.

parent 77e67b24
...@@ -98,6 +98,14 @@ static void early_media_with_multicast_base(bool_t video) { ...@@ -98,6 +98,14 @@ static void early_media_with_multicast_base(bool_t video) {
linphone_core_enable_video_display(pauline2->lc, TRUE); linphone_core_enable_video_display(pauline2->lc, TRUE);
linphone_core_enable_video_capture(marie->lc, TRUE); linphone_core_enable_video_capture(marie->lc, TRUE);
linphone_core_enable_video_display(marie->lc, FALSE); linphone_core_enable_video_display(marie->lc, FALSE);
linphone_core_set_video_device(pauline->lc, liblinphone_tester_mire_id);
linphone_core_set_video_device(pauline2->lc, liblinphone_tester_mire_id);
linphone_core_set_video_device(marie->lc, liblinphone_tester_mire_id);
linphone_core_set_avpf_mode(pauline->lc, LinphoneAVPFEnabled);
linphone_core_set_avpf_mode(pauline2->lc, LinphoneAVPFEnabled);
linphone_core_set_avpf_mode(marie->lc, LinphoneAVPFEnabled);
marie_policy.automatically_initiate=TRUE; marie_policy.automatically_initiate=TRUE;
marie_policy.automatically_accept=TRUE; marie_policy.automatically_accept=TRUE;
...@@ -181,7 +189,7 @@ static void early_media_with_multicast_base(bool_t video) { ...@@ -181,7 +189,7 @@ static void early_media_with_multicast_base(bool_t video) {
BC_ASSERT_TRUE(linphone_call_params_video_multicast_enabled(linphone_call_get_current_params(linphone_core_get_current_call(pauline->lc)))); BC_ASSERT_TRUE(linphone_call_params_video_multicast_enabled(linphone_call_get_current_params(linphone_core_get_current_call(pauline->lc))));
BC_ASSERT_TRUE(linphone_call_params_video_multicast_enabled(linphone_call_get_current_params(linphone_core_get_current_call(marie->lc)))); BC_ASSERT_TRUE(linphone_call_params_video_multicast_enabled(linphone_call_get_current_params(linphone_core_get_current_call(marie->lc))));
} }
params=linphone_call_params_copy(linphone_call_get_current_params(linphone_core_get_current_call(pauline->lc))); params = linphone_core_create_call_params(pauline->lc, linphone_core_get_current_call(pauline->lc));
linphone_call_params_enable_audio_multicast(params,FALSE); linphone_call_params_enable_audio_multicast(params,FALSE);
linphone_call_params_enable_video_multicast(params,FALSE); linphone_call_params_enable_video_multicast(params,FALSE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment