GithubHelp home page GithubHelp logo

pjsip2.5-g729codec's People

Contributors

dmsaravanan avatar saravnandm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pjsip2.5-g729codec's Issues

PJSIP compilation for all archietecture

After applying patches to PJSIP library for G729, It is able to compile library with only architecture arm64. If I try to build them with different architecture, It gives following error.
Undefined symbols for architecture armv7s: "_main", referenced from: implicit entry/start for main executable ld: symbol(s) not found for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [../bin/samples/arm-apple-darwin9/pjsua2_demo] Error 1 make[2]: *** [pjsua2_demo] Error 2 make[1]: *** [samples] Error 2 make: *** [all] Error 1

Please guide me if any particular settings for different architecture is required

Unable to integrate G729 with pjsip

I followed your tutorial and tried to integrate G729 with PJSIP
I used the following tools and tecnology

  1. PJSIP 2.5
  2. NDK 13B
  3. SWIG
    and some others necessary tools.
    But when i execute command ./configure-android
    There is no statement, that show, g729 CODEC enabled successfully.
    Kindly guide me, what should i do or any step that i missed.
    Thanks in advance

Getting Error while compiling the bcg729 with pjsip.

Totally(7_errors)::
Undefined symbols for architecture i386:
"_bcg729Decoder", referenced from:
_g729_codec_decode in libpjmedia-codec.a(g729.o)
"_bcg729Encoder", referenced from:
_g729_codec_encode in libpjmedia-codec.a(g729.o)
"_closeBcg729DecoderChannel", referenced from:
_g729_dealloc_codec in libpjmedia-codec.a(g729.o)
_g729_codec_close in libpjmedia-codec.a(g729.o)
"_closeBcg729EncoderChannel", referenced from:
_g729_dealloc_codec in libpjmedia-codec.a(g729.o)
_g729_codec_close in libpjmedia-codec.a(g729.o)
"_initBcg729DecoderChannel", referenced from:
_g729_codec_open in libpjmedia-codec.a(g729.o)
"_initBcg729EncoderChannel", referenced from:
_g729_codec_open in libpjmedia-codec.a(g729.o)
ld: symbol(s) not found for architecture i386

ld: library not found for -lpjmedia-codec
clang: error: linker command failed with exit code 1 (use -v to see invocation)

And also we want instructions for integrating bcg729 into PJSIP. Your Instruction blog has been removed.

Can you help us to fix this bug ?

linking error in xcode for i386

Hi saravanandm,
You are a genius!!!
this is really helpful to me for integrate g729 in pjsip2.5. I am just stuck somewhere with xcode build.
I have successfully merge patch and files in pjsip2.5 and also make successful.
but when I build project in xcode for simulator with iphone4s. it's shown build failed and giving some linker errors attached here.
pjsip

Terminated by SIGFPE

Based on pjsip2.8, I am using this project, g729 code well.
However, sometimes the program is terminated by SIGFPE signal generation.
Have you experienced the above problem or do you know anything about it?

pjsip not able to register in only IPV6 network

I updated pjsip library version to 2.5.5 to add support for IPV6 network.
In config_site.h file added this line
#define PJ_HAS_IPV6 1

But still it is not able to register with IPV6 network. Is there any other settings I need to add or somewhere I am missing? Any help will be appreciate.

Thanks.

Call Connected but only one way communication.

Hello,
firstly I am very thankful to you for providing the source code of G-729. I have followed your steps and able to build the PJ project with g-729 successfully. I can see the libs being generated for g-729.
I am able to make the call successfully. The caller is receiving the ringing tone but the caller is not able to hear the called person's voice.
Can you please suggest the reason behind this problem and also the possible solution. I will be very thankful to you.

library not found for -lbdIMADpj

Hello saravanandm,
First of all BIG Thanks for the share pjsip2.5-g729codec Patches It's more help me to integrate g729 into PJSip2.5.

But I am little bit stuck into 'lbdIMADpj' library not found issue if you can help me out to solve this issue.
I follow your all patches information and steps all.

Here I attached the screen shot for that.

When I fire below command it's successfully done.

ARCH="-arch i386" CFLAGS="-O2 -m32 -mios-simulator-version-min=9.3" LDFLAGS="-O2 -m32 -mios-simulator-version-min=9.3" ./configure-iphone

screen shot 2016-06-13 at 6 13 01 pm

Then after I fire following command and few processing happened and gives error attached into image.
make dep
screen shot 2016-06-13 at 6 01 51 pm

Your help much more appreciated.

Apply pjproject-2.5.diff patch

Sorry for the dumb question but which command should I do to apply the pjproject-2.5.diff patch ?
I have both pjsip2.5-g729codec and pjproject-2.5 folder.
I copied pjproject-2.5.diff into pjproject-2.5 folder and run:
patch -p0 < pjproject-2.5.diff
But it only says:
* Only garbage was found in the patch input.

420006 status code while placing a call

@saravanandm
I successfully build pjsip with G729 with the help of your code. Also I can see G729 integrated by the list of available codecs in my source code.
While placing a call , It returns me status 420006 due to this it is not possible to make call. I am using this code to make call
`pj_status_t status;

    pj_str_t uri = pj_str([dialedUser UTF8String]);
    status = pjsua_call_make_call(voipManager._sip_acc_id, &uri, 0, NULL, NULL, NULL);
    NSLog(@"status return = %i", status);
    if (status != PJ_SUCCESS)
    {
        //error_exit("Error making call", status);
        NSLog(@"Error making call...");
    }
    else
    {
        NSLog(@"Call Successfully placed...");
    }`

From pjsip sources , as per my understanding I also updated config_site.h like this

`#define PJMEDIA_HAS_G7221_CODEC 1

define PJMEDIA_HAS_G729_CODEC 1

define PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE 1 //updated to solve 420006

include <pj/config_site_sample.h>`

As per pjsip resources this status code is the cause of missing media
[pjsip] Error making call: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]. How can I accomplish missing resources to make call enabled. Your suggestion will be very helpful to me.

Thanks.

Blog link broken

Your blog has been removed. how can i integrate g729 codec with pjsip-2.5 library?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.