|
From: | Amit Bagga |
Subject: | Re: [Linphone-developers] Default audio codecs IOS |
Date: | Tue, 29 Sep 2015 18:28:45 +0530 |
- (void)startLibLinphone {
//FORCE CODECS ON THE LC
PayloadType *pt;
const MSList *elem;
for (elem=linphone_core_get_audio_codecs(theLinphoneCore);elem!=NULL;elem=elem->next){
pt=(PayloadType*)elem->data;
NSString *pref=[LinphoneManager getPreferenceForCodec:pt->mime_type withRate:pt->clock_rate];
if(pref) {
NSLog(@"Codec Settings %@",pref);
if(strcmp([pref UTF8String], "g729_preference") == 0) {
linphone_core_enable_payload_type(theLinphoneCore,pt,true);
}
}
}
Hi,
I'm having trouble changing the default audio codecs used on IOS.
There is a settings file Audio.plist that has all the codecs and a boolean "DefaultValue" modifying this to true does not make a difference. I can't seem to find where else the preferred codecs are set.
I have not been working with the Android version but I will be needing to do the same with this.
If anyone could point me in the right direction that would be great.
Cheers,
Matt.
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
[Prev in Thread] | Current Thread | [Next in Thread] |