mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-06 13:49:44 +00:00
stop warning about missing tls
This commit is contained in:
parent
f8cd001a22
commit
92762859a4
2 changed files with 7 additions and 3 deletions
|
|
@ -1955,9 +1955,11 @@ static int apply_transports(LinphoneCore *lc){
|
|||
transport_error(lc,"tcp",tr->tcp_port);
|
||||
}
|
||||
}
|
||||
if (tr->tls_port!=0){
|
||||
if (sal_listen_port (sal,anyaddr,tr->tls_port,SalTransportTLS,TRUE)!=0){
|
||||
transport_error(lc,"tls",tr->tls_port);
|
||||
if (linphone_core_sip_transport_supported(LinphoneTransportTls)){
|
||||
if (tr->tls_port!=0){
|
||||
if (sal_listen_port (sal,anyaddr,tr->tls_port,SalTransportTLS,TRUE)!=0){
|
||||
transport_error(lc,"tls",tr->tls_port);
|
||||
}
|
||||
}
|
||||
}
|
||||
apply_user_agent(lc);
|
||||
|
|
|
|||
|
|
@ -542,6 +542,8 @@ static void _call_with_ice(bool_t random_ports) {
|
|||
CU_ASSERT_TRUE(wait_for(pauline->lc,marie->lc,&pauline->stat.number_of_LinphoneCallStreamsRunning,2));
|
||||
CU_ASSERT_TRUE(wait_for(pauline->lc,marie->lc,&marie->stat.number_of_LinphoneCallStreamsRunning,2));
|
||||
|
||||
CU_ASSERT_TRUE(check_ice(pauline,marie,LinphoneIceStateHostConnection));
|
||||
|
||||
liblinphone_tester_check_rtcp(marie,pauline);
|
||||
/*then close the call*/
|
||||
linphone_core_terminate_all_calls(pauline->lc);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue