fix codec settings

This commit is contained in:
Jehan Monnier 2012-08-30 12:46:02 +02:00
parent 29857c38c3
commit b652b2bd53
2 changed files with 3 additions and 2 deletions

View file

@ -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];
}
}

@ -1 +1 @@
Subproject commit d98fa4ed52f40001bef50be65c971a52ab845660
Subproject commit e1f018f274274d7574ebadd27659098453d8d1b5