Skip to content

stumbleapp/libwebrtc-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

149 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libWebRTC Builder

Pre-built WebRTC binaries and complete C++ headers for all platforms.
Built from source every week.


Platforms

  • 🍎 iOS — .xcframework — arm64, x64
  • 🖥️ macOS — .framework + .a — arm64, x64
  • 🤖 Android — .aar — arm64, armv7, x64, x86
  • 🪟 Windows — .lib — x64, x86
  • 🐧 Linux — .a — arm64, armv7, x64, x86

The Problem

Most pre-built WebRTC binaries ship with incomplete headers. Abseil's generated files are often missing:

fatal error: 'absl/base/internal/int128_have_intrinsic.inc' file not found

libWebRTC Builder fixes this by building from source and packaging everything — every generated file, every header.


Download

VERSION=$(curl -s https://api.github.com/repos/stumbleapp/libwebrtc-builder/releases/latest | jq -r .tag_name | tr -d v)

# Headers
curl -LOJ https://github.com/stumbleapp/libwebrtc-builder/releases/download/v${VERSION}/libwebrtc-headers-${VERSION}.zip

# iOS arm64
curl -LOJ https://github.com/stumbleapp/libwebrtc-builder/releases/download/v${VERSION}/libwebrtc-ios-arm64-${VERSION}.zip
# iOS x64
curl -LOJ https://github.com/stumbleapp/libwebrtc-builder/releases/download/v${VERSION}/libwebrtc-ios-x64-${VERSION}.zip

# macOS arm64
curl -LOJ https://github.com/stumbleapp/libwebrtc-builder/releases/download/v${VERSION}/libwebrtc-macos-arm64-${VERSION}.zip
# macOS x64
curl -LOJ https://github.com/stumbleapp/libwebrtc-builder/releases/download/v${VERSION}/libwebrtc-macos-x64-${VERSION}.zip

# Android (arm64, armv7, x64, x86)
curl -LOJ https://github.com/stumbleapp/libwebrtc-builder/releases/download/v${VERSION}/libwebrtc-android-${VERSION}.zip

# Windows x64
curl -LOJ https://github.com/stumbleapp/libwebrtc-builder/releases/download/v${VERSION}/libwebrtc-win-x64-${VERSION}.zip
# Windows x86
curl -LOJ https://github.com/stumbleapp/libwebrtc-builder/releases/download/v${VERSION}/libwebrtc-win-x86-${VERSION}.zip

# Linux arm64
curl -LOJ https://github.com/stumbleapp/libwebrtc-builder/releases/download/v${VERSION}/libwebrtc-linux-arm64-${VERSION}.zip
# Linux armv7
curl -LOJ https://github.com/stumbleapp/libwebrtc-builder/releases/download/v${VERSION}/libwebrtc-linux-armv7-${VERSION}.zip
# Linux x64
curl -LOJ https://github.com/stumbleapp/libwebrtc-builder/releases/download/v${VERSION}/libwebrtc-linux-x64-${VERSION}.zip
# Linux x86
curl -LOJ https://github.com/stumbleapp/libwebrtc-builder/releases/download/v${VERSION}/libwebrtc-linux-x86-${VERSION}.zip

Usage

CMake

add_library(webrtc SHARED IMPORTED)
set_target_properties(webrtc PROPERTIES
  IMPORTED_LOCATION "libwebrtc.so"
  INTERFACE_INCLUDE_DIRECTORIES "include"
)
target_link_libraries(app webrtc)

CocoaPods

pod 'libWebRTC', :git => 'https://github.com/stumbleapp/libwebrtc-builder'

Schedule

  • Auto: Every week (Sunday UTC)
  • Manual: Actions → Run workflow

Credits

Source, Tools and Patches

GitHub Actions


Built with ❤️ using GitHub Actions

About

Pre-built WebRTC binaries with complete C++ headers, built every week if new versions exist.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors