[Top][All Lists]

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

Re: [Linphone-developers] App crash while making outgoing call using G72

From: J Alex Antony Vijay
Subject: Re: [Linphone-developers] App crash while making outgoing call using G729 codec in linphone android
Date: Fri, 27 May 2016 10:42:23 +0530

Hi Rajesh,

    How did you enable g729 codec? can you share the code ?


    Use below code to enable/disable codecs:

String []codes = {"speex", "speex", "opus", "ilbc", "pcmu", "pcma", "silk", "silk", "gsm", "g722"};
int []bitrates = {8000, 16000, 48000, 8000, 8000, 8000, 16000, 24000, 8000, 8000, 8000};
for (int i = 0; i < codes.length; i++) {
PayloadType type = linphoneCore.findPayloadType(codes[i], bitrates[i]);
if (type != null) {
try {
linphoneCore.enablePayloadType(type, true); // true to enable. false to disable
} catch (LinphoneCoreException e) {}

On Fri, May 27, 2016 at 10:19 AM, Rajesh Jadav <address@hidden> wrote:

I have enabled G729 codec and use as default codec for making calls. When I make outgoing call application crashes.

When i debug app it comes in LinphoneCoreListenerBase listener with OutgoingEarlyMedia state before application crashes

The error is Fatal signal 11 (SIGSEGV), code 2, fault addr 0xbe33efec in tid 6067

App is working fine with other audio codecs.

Is there any issues with G729 codec in linphone?

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

Linphone-developers mailing list


J Alex Antony Vijay.

reply via email to

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