linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Default audio codecs IOS (Amit Bagga)


From: Amit Bagga
Subject: Re: [Linphone-developers] Default audio codecs IOS (Amit Bagga)
Date: Thu, 1 Oct 2015 13:13:32 +0530

What do u want to achieve ?

You only want to show the codecs that you enable.

Thank you,
AB

Sent from my iPhone

> On 01-Oct-2015, at 12:52 PM, Matt Cornish <address@hidden> wrote:
> 
> Hi Amit,
> 
> Thanks for your reply.
> 
> I tried the below code in the (void)startLibLinphone function but it did not 
> work. All codecs are still the same.
> 
> It would be good if there was just fields in the linphonerc file you could 
> use to specify what codecs should be enabled.
> 
> Cheers,
> Matt.
> 
>> On 1/10/15 5:34 am, address@hidden wrote:
>> 
>>    2. Re: Default audio codecs IOS (Amit Bagga)
>> 
>> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Tue, 29 Sep 2015 16:49:41 +0400
>> From: John Mathew <address@hidden>
>> To: address@hidden
>> Subject: Re: [Linphone-developers] Default audio codecs IOS
>> Message-ID:
>>    <address@hidden>
>> Content-Type: text/plain; charset="utf-8"
>> 
>> Matt,
>> 
>> Am also facing the same issue. The audio.plist Boolean gets activated only
>> when we move to the settings tab at least once.
>> 
>> I have observed that, the media streamer and ortp libraries are getting
>> initialised and controlled somewhere in the settingsviewcontroller .
>> 
>> Someone from linphone should be able to put some light on this.
>>> On Sep 29, 2015 16:35, "Matt Cornish" <address@hidden> wrote:
>>> 
>>> 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
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: 
>> <http://lists.nongnu.org/archive/html/linphone-developers/attachments/20150929/da857f85/attachment.html>
>> 
>> ------------------------------
>> 
>> Message: 2
>> Date: Tue, 29 Sep 2015 18:28:45 +0530
>> From: Amit Bagga <address@hidden>
>> To: address@hidden
>> Subject: Re: [Linphone-developers] Default audio codecs IOS
>> Message-ID:
>>    <address@hidden>
>> Content-Type: text/plain; charset="utf-8"
>> 
>> - (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);
>> 
>>             }
>> 
>>         }
>> 
>>     }
>> }
>> 
>> Please add the code to the function mentioned  to enable and disable,
>> 
>> Thank You,
>> AB
>> 
>> 
>> 
>>> On Tue, Sep 29, 2015 at 12:33 PM, Matt Cornish <address@hidden> wrote:
>>> 
>>> 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
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: 
>> <http://lists.nongnu.org/archive/html/linphone-developers/attachments/20150929/2bbe6d29/attachment.html>
>> 
>> ------------------------------
>> 
>> _______________________________________________
>> Linphone-developers mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/linphone-developers
>> 
>> 
>> End of Linphone-developers Digest, Vol 151, Issue 23
>> ****************************************************
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]