From 8d745551a02aa45223c4fbd59d9fe0c5b5489e6e Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Thu, 12 Mar 2015 10:25:09 +0100 Subject: [PATCH] Remove traces when DTLS cannot work --- coreapi/linphonecall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index 90be48b28..1c03ec931 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -2368,7 +2368,7 @@ void static start_dtls_on_all_streams(LinphoneCall *call) { SalMediaDescription *remote_desc = sal_call_get_remote_media_description(call->op); SalMediaDescription *result_desc = sal_call_get_final_media_description(call->op); if( remote_desc == NULL || result_desc == NULL ){ - ms_warning("Invalid remote or result media description, disabling DTLS"); + /* this can happen in some tricky cases (early-media without SDP in the 200). In that case, simply skip DTLS code */ return; } @@ -2403,7 +2403,7 @@ void static set_dtls_fingerprint_on_all_streams(LinphoneCall *call) { SalMediaDescription *result_desc = sal_call_get_final_media_description(call->op); if( remote_desc == NULL || result_desc == NULL ){ - ms_warning("Invalid remote or final media desc, aborting DTLS fingerprinting"); + /* this can happen in some tricky cases (early-media without SDP in the 200). In that case, simply skip DTLS code */ return; }