linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] How to set Audio codec priority


From: Nabeel
Subject: Re: [Linphone-developers] How to set Audio codec priority
Date: Thu, 12 May 2016 00:15:55 +0100

Hi Rajesh,

linphonerc_default are settings used to create the linphonerc settings at first linphone run
linphonerc_factory are settings overriding whatever is in the linphonerc_default file.

Example:

if there is a linphone_factory with:

[sip]
media_encryption_mandatory=1

Even if you set
media_encryption_mandatory=0

in your linphonerc_default, the media_encryption_mandatory setting will stick to 1.

I'm not sure of the exact mime names and sampling rates required, but you can use something like this to order the codecs:


[audio_codec_0]
mime=g729
rate=8000
enabled=1

[audio_codec_1]
mime=pcmu
rate=8000
enabled=1

On 11 May 2016 at 04:37, Rajesh Jadav <address@hidden> wrote:
Hi, Nabeel

I am building linphone android project. There is two files of linphonerc in res>raw folder.
First is linphonerc_default and second is linphonerc_factory. which file i to use?

You have replay to use codecs like this:

[audio_codec_0], [audio_codec_1], [audio_codec_2] ...

but can you give me example of how to set g729 first and then pcmu. It would be helpful.

Regards,
Rajesh Jadav
Jr. Software Developer
Ecosmob Technologies Pvt. Ltd.


reply via email to

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