mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix duplicated codecs in config.
This commit is contained in:
parent
3e1a0348cb
commit
7404ff6163
2 changed files with 7 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
2
oRTP
2
oRTP
|
|
@ -1 +1 @@
|
|||
Subproject commit ba73b8155b3a6aa64f8df95dee6b25ca9b95cbca
|
||||
Subproject commit a80e7b5949e64ec01d4149d5e0f56c9843df35b0
|
||||
Loading…
Add table
Reference in a new issue