This patched WebRTC version simplify integration with Audio Effects SDK.
This repository contains a distribution of WebRTC framework binaries for iOS and macOS with added RTCAudioCustomProcessing delegate. This repository is fork of WebRTC community-driven build.
- All binaries in this repository are compiled from the official WebRTC source code.
- scripts/build.sh downloads official WebRTC and applies patch that adds Objective-C/Swift API for custom audio processing.
- Dynamic framework (xcframework format) which contains multiple binaries for macOS and iOS.
- iOS 12+
- macOS 10.11+
- macOS Catalyst 11.0+
Platform / arch | arm64 | x86_x64 |
---|---|---|
iOS (device) | ✅ | N/A |
iOS (simulator) | ✅ | ✅ |
macOS | ✅ | ✅ |
macOS Catalyst | ✅ | ✅ |
Looking for 32 bit binaries? Please use Version M94 or lower
Xcode has a built-in support for Swift package manager. You can easily add the package by selecting File > Swift Packages > Add Package Dependency. Read more in Apple documentation.
Or, you can add the following dependency to your Package.swift
file:
dependencies: [
.package(url: "https://github.com/EffectsSDK/WebRTC.git", .upToNextMajor("136.0.0"))
]
Use the latest
branch to get the most up to date binary:
dependencies: [
.package(url: "https://github.com/EffectsSDK/WebRTC.git", branch: "latest")
]
- Download the framework from the releases section.
- Unzip the file.
- Add the xcframework to your target(s) embedded frameworks.
To import WebRTC to your code add the following import statement
import WebRTC
- BSD 3-Clause License
- WebRTC License: https://webrtc.org/support/license