Git Product home page Git Product logo

Comments (5)

sunjihai avatar sunjihai commented on July 16, 2024 1

嗯嗯,用这种方式生成了libwebrtc.a文件,但是替换后编译不过。

from mediasoup-client-android.

zhangshaoju1987 avatar zhangshaoju1987 commented on July 16, 2024 1

嗯嗯,用这种方式生成了libwebrtc.a文件,但是替换后编译不过。
gn gen out/release/x64 --args='target_os="android" target_cpu="arm" is_debug=false is_component_build=false is_clang=true rtc_include_tests=false rtc_use_h264=true rtc_enable_protobuf=false use_rtti=true use_custom_libcxx=false'

按上述方式生产arm的静态库,相关的头文件也需要替换,linux上面把原来的src删除了,把webrtc_android的src通过软连接连接过去,再编译

from mediasoup-client-android.

zhangshaoju1987 avatar zhangshaoju1987 commented on July 16, 2024

webrtc-android-build

Precompiled binaries for webrtc android native

  • Build m79 with command like below
./tools_webrtc/android/build_aar.py --extra-gn-args 'is_debug=false is_component_build=false is_clang=true rtc_include_tests=false rtc_use_h264=true rtc_enable_protobuf=false use_rtti=true use_custom_libcxx=false' --build-dir ./out/release-build/

使用改命令后,无法找到"libwebrtc.a"文件。

libwebrtc.a不是用这种方式生成的
-- target_cpu=x86,x64,arm,arm64
gn gen out/release/x64 --args='target_os="android" target_cpu="x64" is_debug=false'
ninja -C out/release/x64

from mediasoup-client-android.

itcayman avatar itcayman commented on July 16, 2024

嗯嗯,用这种方式生成了libwebrtc.a文件,但是替换后编译不过。

请问解决了么,我替换后也是编译失败

from mediasoup-client-android.

haiyangwu avatar haiyangwu commented on July 16, 2024

@Big-Brain Thx for sharing. close issuse

from mediasoup-client-android.

Related Issues (20)

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.