diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index 82ebd8ab2..410d9137c 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -116,7 +116,8 @@ struct codec_name_pref_table codec_pref_table[]={ + (NSSet *)unsupportedCodecs { NSMutableSet *set = [NSMutableSet set]; for(int i=0;codec_pref_table[i].name!=NULL;++i) { - if(linphone_core_find_payload_type([LinphoneManager getLc],codec_pref_table[i].name, codec_pref_table[i].rate,-1) == NULL) { + if(linphone_core_find_payload_type([LinphoneManager getLc],codec_pref_table[i].name + , codec_pref_table[i].rate,LINPHONE_FIND_PAYLOAD_IGNORE_CHANNELS) == NULL) { [set addObject:codec_pref_table[i].prefname]; } } diff --git a/submodules/linphone b/submodules/linphone index d98fa4ed5..e1f018f27 160000 --- a/submodules/linphone +++ b/submodules/linphone @@ -1 +1 @@ -Subproject commit d98fa4ed52f40001bef50be65c971a52ab845660 +Subproject commit e1f018f274274d7574ebadd27659098453d8d1b5