This commit is contained in:
Gautier Pelloux-Prayer 2016-08-18 14:11:03 +02:00
parent 3392c6f4e9
commit fc06da72da
2 changed files with 10 additions and 5 deletions

View file

@ -269,6 +269,15 @@ struct codec_name_pref_table codec_pref_table[] = {{"speex", 8000, "speex_8k_pre
#endif
}
// by default if handle_content_encoding is not set, we use plain text for debug purposes only
if ([self lpConfigStringForKey:@"handle_content_encoding" inSection:@"misc"] == nil) {
#ifdef DEBUG
[self lpConfigSetString:@"none" forKey:@"handle_content_encoding" inSection:@"misc"];
#else
[self lpConfigSetString:@"conflate" forKey:@"handle_content_encoding" inSection:@"misc"];
#endif
}
[self migrateFromUserPrefs];
}
return self;

View file

@ -48,12 +48,8 @@ sip_random_port=0
#by default it is set to 30 by liblinphone
history_max_size=-1
#whether SIP passwords are to be encrypted in configuration storage file
#whether SIP passwords must be encrypted in configuration storage file
store_ha1_passwd=0
#handle_content_encoding=none
[sound]
dtmf_player_amp=0.007