【问题标题】:How to enable G729 audio codec in linphone 4.3.0 new SDK for android?如何在 linphone 4.3.0 new SDK for android 中启用 G729 音频编解码器?
【发布时间】:2020-05-12 12:33:24
【问题描述】:

你能帮帮我吗,如何在 linphone 4.3.0 SDK 中启用 G729 音频编解码器 请帮我解决这个问题,因为几天后我遇到了麻烦,您的帮助对我来说非常有用 希望有人帮助我...为此,,,在此先感谢

【问题讨论】:

    标签: android linphone g729


    【解决方案1】:
    Linphone 4.4.0 build steps as per below mention
    
    Build dependencies Need to required setup in Linux
    ------------------------------------------------------------------
    Common to all target platforms
    The following tools must be installed on the build machine:
    
    cmake >= 3.6
    python = 2.7 (python 3.7 if C# wrapper generation is disabled)
    pip
    yasm
    nasm
    doxygen
    Pystache (use pip install pystache)
    six (use pip install six)
    
    - Download the latest linphone-sdk
    $ git clone https://gitlab.linphone.org/BC/public/linphone-sdk.git -- recursive
    
    - Successfully Android SDK download after below mention command execute
    $ mkdir build
    $ cd build
    
    $ export ANDROID_HOME=$HOME/Android/Sdk && export PATH=$PATH:$ANDROID_HOME/tools && export PATH=$PATH:/opt/android-sdk/ndk-bundle
    
    $ cmake .. -DLINPHONESDK_PLATFORM:STRING=Android -DLINPHONESDK_ANDROID_ARCHS="arm64, armv7, x86_64, x86" -DENABLE_G729=YES -DENABLE_G729B_CNG=YES -DENABLE_VCARD=OFF -DENABLE_ILBC=OFF -DENABLE_SILK=OFF -DENABLE_ISAC=OFF -DENABLE_MKV=OFF -DENABLE_GSM=OFF -DENABLE_DOC=OFF -DENABLE_UNIT_TESTS=OFF -DENABLE_LIME=OFF -DENABLE_GPL_THIRD_PARTIES=OFF -DENABLE_NON_FREE_CODECS=OFF
    
    $ cmake --build .
    
    - Successfully build generate after go to linphone-sdk/build/maven_repository/org/linphone/linphone-sdk-android/4.4.0-alpha.221+1d24dfa/linphone-sdk-android-4.4.0-alpha.221+1d24dfa.aar
    
    - linphone-sdk-android-4.4.0-alpha.221+1d24dfa.aar this file import in android-studio and sync the project as per below mention steps
    
    1)File -> New -> New Module -> Import .jar/.aar and import your .aar.
    
    2)Then in your project’s build.gradle (the one under ‘app’) add the following:
    
    dependencies {
    compile project(':linphone-sdk-android-4.4.0-alpha.221+1d24dfa.aar')
    }
    
    3)Clean Build after all the above steps.
    

    【讨论】:

    • 干得好,兄弟,您节省了我的时间,工作正常感谢分享这些宝贵的步骤,非常感谢亲爱的
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-02-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-07-03
    相关资源
    最近更新 更多