mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 09:49:26 +00:00
add test for very special case where ICE video call is accepted by call params instead of policy
This commit is contained in:
parent
74ad3ed63f
commit
3611dcf6d7
1 changed files with 13 additions and 0 deletions
|
|
@ -3909,6 +3909,18 @@ static void video_call_with_re_invite_inactive_followed_by_re_invite() {
|
|||
static void video_call_with_re_invite_inactive_followed_by_re_invite_no_sdp() {
|
||||
video_call_with_re_invite_inactive_followed_by_re_invite_base(TRUE);
|
||||
}
|
||||
static void video_call_ice_params() {
|
||||
LinphoneCoreManager* marie = linphone_core_manager_new( "marie_rc");
|
||||
LinphoneCoreManager* pauline = linphone_core_manager_new( "pauline_rc");
|
||||
linphone_core_set_stun_server(marie->lc,"stun.linphone.org");
|
||||
linphone_core_set_firewall_policy(marie->lc,LinphonePolicyUseIce);
|
||||
linphone_core_set_stun_server(pauline->lc,"stun.linphone.org");
|
||||
linphone_core_set_firewall_policy(pauline->lc,LinphonePolicyUseIce);
|
||||
video_call_base(marie,pauline,FALSE,LinphoneMediaEncryptionNone,TRUE,TRUE);
|
||||
CU_FAIL("200ok ice list is wrong, missing reflexive candidates");
|
||||
linphone_core_manager_destroy(marie);
|
||||
linphone_core_manager_destroy(pauline);
|
||||
}
|
||||
#endif
|
||||
|
||||
test_t call_tests[] = {
|
||||
|
|
@ -3960,6 +3972,7 @@ test_t call_tests[] = {
|
|||
{ "Video call using policy with callee video disabled", video_call_using_policy_with_callee_video_disabled },
|
||||
{ "Video call using policy with caller video disabled", video_call_using_policy_with_caller_video_disabled },
|
||||
{ "Video call without SDP",video_call_no_sdp},
|
||||
{ "Video call with ICE accepted using call params",video_call_ice_params},
|
||||
{ "SRTP ice video call", srtp_video_ice_call },
|
||||
{ "ZRTP ice video call", zrtp_video_ice_call },
|
||||
{ "Call with video added", call_with_video_added },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue