diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 1bed57f2c..6247f39b8 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -3480,6 +3480,9 @@ void codecs_config_uninit(LinphoneCore *lc) lp_config_set_int(lc->config,key,"enabled",linphone_core_payload_type_enabled(lc,pt)); index++; } + sprintf(key,"audio_codec_%i",index); + lp_config_clean_section (lc->config,key); + index=0; for(node=config->video_codecs;node!=NULL;node=ms_list_next(node)){ pt=(PayloadType*)(node->data); @@ -3490,6 +3493,9 @@ void codecs_config_uninit(LinphoneCore *lc) lp_config_set_string(lc->config,key,"recv_fmtp",pt->recv_fmtp); index++; } + sprintf(key,"video_codec_%i",index); + lp_config_clean_section (lc->config,key); + ms_list_free(lc->codecs_conf.audio_codecs); ms_list_free(lc->codecs_conf.video_codecs); } diff --git a/oRTP b/oRTP index ba73b8155..a80e7b594 160000 --- a/oRTP +++ b/oRTP @@ -1 +1 @@ -Subproject commit ba73b8155b3a6aa64f8df95dee6b25ca9b95cbca +Subproject commit a80e7b5949e64ec01d4149d5e0f56c9843df35b0