logs cleanup

This commit is contained in:
Simon Morlat 2013-07-31 23:57:14 +02:00
parent 7614c63d61
commit d85aeddbd1
2 changed files with 3 additions and 2 deletions

View file

@ -454,7 +454,7 @@ void linphone_core_send_initial_subscribes(LinphoneCore *lc){
for(elem=lc->friends;elem!=NULL;elem=elem->next){
LinphoneFriend *f=(LinphoneFriend*)elem->data;
LinphoneProxyConfig* cfg;
if (!f->initial_subscribes_sent) {
if (f->subscribe && !f->initial_subscribes_sent) {
lc->initial_subscribes_sent=FALSE; /*at least 1 was not sent */
if ((cfg=linphone_core_lookup_known_proxy(f->lc,linphone_friend_get_address(f)))) {
/*check if already registered*/

View file

@ -187,7 +187,8 @@ static MSList *make_codec_list(LinphoneCore *lc, const MSList *codecs, int bandw
PayloadType *pt=(PayloadType*)it->data;
if (pt->flags & PAYLOAD_TYPE_ENABLED){
if (bandwidth_limit>0 && !linphone_core_is_payload_type_usable_for_bandwidth(lc,pt,bandwidth_limit)){
ms_message("Codec %s/%i eliminated because of audio bandwidth constraint.",pt->mime_type,pt->clock_rate);
ms_message("Codec %s/%i eliminated because of audio bandwidth constraint of %i kbit/s",
pt->mime_type,pt->clock_rate,bandwidth_limit);
continue;
}
if (linphone_core_check_payload_type_usability(lc,pt)){