Skip to content

Provides precompiled WebRTC binaries for Linux ARM64.

License

Notifications You must be signed in to change notification settings

TzuHuanTai/Native-WebRTC-Build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Native-WebRTC-Build

This repository provides an automated way to build the native WebRTC library for the ARM64 platform using GitHub Actions. The primary purpose of this build is to support my project, RaspberryPi-WebRTC.

Release Artifacts

Each successful build produces a release containing the following artifact:

  • libwebrtc-arm64.tar.gz
    • WebRTC header files (include/*.h)
    • WebRTC static library (lib/libwebrtc.a)

You can download the latest release from the Releases page.

Usage

To use the compiled WebRTC library in your ARM64 project, download the libwebrtc-arm64.tar.gz file and extract it:

tar -xzf libwebrtc-arm64.tar.gz -C /your/destination/path

Include the extracted headers and link the static library in your project.

Build Process

The build process leverages a custom GitHub Actions workflow to compile WebRTC from the official source: WebRTC Source.

Build Configuration

The WebRTC build is configured with the following parameters:

gn gen out/Release --args="
    target_os=\"linux\"
    target_cpu=\"arm64\"
    is_debug=false
    rtc_include_tests=false
    rtc_use_x11=false
    rtc_use_h264=true
    rtc_use_pipewire=false
    use_rtti=true
    use_glib=false
    use_custom_libcxx=false
    rtc_build_tools=false
    rtc_build_examples=false
    is_component_build=false
    is_component_ffmpeg=true
    ffmpeg_branding=\"Chrome\"
    proprietary_codecs=true
    clang_use_chrome_plugins=false
"

Version Management

WebRTC versions are managed based on the releases listed on Chromium Dash. When a new version is released, a corresponding tag is created in this repository.

Once the tag is pushed to GitHub, it triggers the GitHub Actions workflow to start the build process. After the build completes, an automatic release is generated containing the compiled WebRTC artifacts.

About

Provides precompiled WebRTC binaries for Linux ARM64.

Resources

License

Stars

Watchers

Forks

Packages

No packages published