mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-02 02:16:24 +00:00
fix crash with ICE in case of no incoming SDP
This commit is contained in:
parent
7eefcf399f
commit
44bafb091a
2 changed files with 1 additions and 3 deletions
|
|
@ -637,7 +637,7 @@ LinphoneCall * linphone_call_new_incoming(LinphoneCore *lc, LinphoneAddress *fro
|
|||
linphone_call_init_media_streams(call);
|
||||
switch (linphone_core_get_firewall_policy(call->core)) {
|
||||
case LinphonePolicyUseIce:
|
||||
linphone_call_prepare_ice(call,TRUE);
|
||||
linphone_call_prepare_ice(call,md!=NULL);
|
||||
break;
|
||||
case LinphonePolicyUseStun:
|
||||
call->ping_time=linphone_core_run_stun_tests(call->core,call);
|
||||
|
|
|
|||
|
|
@ -634,7 +634,6 @@ static void call_with_ice(void){
|
|||
}
|
||||
|
||||
static void call_with_ice_no_sdp(void){
|
||||
#ifdef 0
|
||||
LinphoneCoreManager* marie = linphone_core_manager_new( "marie_rc");
|
||||
LinphoneCoreManager* pauline = linphone_core_manager_new( "pauline_rc");
|
||||
|
||||
|
|
@ -643,7 +642,6 @@ static void call_with_ice_no_sdp(void){
|
|||
|
||||
linphone_core_manager_destroy(marie);
|
||||
linphone_core_manager_destroy(pauline);
|
||||
#endif
|
||||
}
|
||||
|
||||
static void call_with_ice_random_ports(void){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue