mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-22 23:48:36 +00:00
code cleaning
remove useless DTLS debug traces
This commit is contained in:
parent
c78383dda9
commit
92c1c6d4ac
1 changed files with 0 additions and 3 deletions
|
|
@ -2241,9 +2241,7 @@ static void linphone_call_start_audio_stream(LinphoneCall *call, bool_t muted, b
|
||||||
snprintf(rtcp_tool,sizeof(rtcp_tool)-1,"%s-%s",linphone_core_get_user_agent_name(),linphone_core_get_user_agent_version());
|
snprintf(rtcp_tool,sizeof(rtcp_tool)-1,"%s-%s",linphone_core_get_user_agent_name(),linphone_core_get_user_agent_version());
|
||||||
|
|
||||||
stream = sal_media_description_find_best_stream(call->resultdesc, SalAudio);
|
stream = sal_media_description_find_best_stream(call->resultdesc, SalAudio);
|
||||||
ms_message("DTLS: call_start_audio_stream, stream is %s", stream==NULL?"NULL":"not NULL");
|
|
||||||
if (stream && stream->dir!=SalStreamInactive && stream->rtp_port!=0){
|
if (stream && stream->dir!=SalStreamInactive && stream->rtp_port!=0){
|
||||||
ms_message("DTLS: call_start_audio_stream : we have stream and all stuff to start it");
|
|
||||||
playcard=lc->sound_conf.lsd_card ?
|
playcard=lc->sound_conf.lsd_card ?
|
||||||
lc->sound_conf.lsd_card : lc->sound_conf.play_sndcard;
|
lc->sound_conf.lsd_card : lc->sound_conf.play_sndcard;
|
||||||
captcard=lc->sound_conf.capt_sndcard;
|
captcard=lc->sound_conf.capt_sndcard;
|
||||||
|
|
@ -2252,7 +2250,6 @@ static void linphone_call_start_audio_stream(LinphoneCall *call, bool_t muted, b
|
||||||
call->audio_profile=make_profile(call,call->resultdesc,stream,&used_pt);
|
call->audio_profile=make_profile(call,call->resultdesc,stream,&used_pt);
|
||||||
|
|
||||||
if (used_pt!=-1){
|
if (used_pt!=-1){
|
||||||
ms_message("DTLS: call_start_audio_stream : we made a profile and have used_pt != -1");
|
|
||||||
call->current_params->audio_codec = rtp_profile_get_payload(call->audio_profile, used_pt);
|
call->current_params->audio_codec = rtp_profile_get_payload(call->audio_profile, used_pt);
|
||||||
if (playcard==NULL) {
|
if (playcard==NULL) {
|
||||||
ms_warning("No card defined for playback !");
|
ms_warning("No card defined for playback !");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue