This repository contains unofficial distribution of WebRTC framework binaries for iOS and macOS.
Since version M80, Google has deprecated their mobile binary libraries distributions (Was officially using the GoogleWebRTC pod). To get the most up to date WebRTC library, you can compile it on your own, or you can use precompiled binaries from other sources.
The binary releases correspond with official Chromium releases and branches as specified in the Chromium dashboard.
|Platform / arch||armv7||arm64||x86||x86_x64|
macOS Catalyst is not supported.
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
dependencies: [ .Package(url: "https://github.com/stasel/WebRTC.git", .upToNextMajor("94.0.0")) ]
latest branch to get the most up to date binary:
dependencies: [ .Package(url: "https://github.com/stasel/WebRTC.git", .branch("latest")) ]
Add the following line to your
And then run
Read more about Cocoapods: https://cocoapods.org
Requires Carthage version 0.38 or higher
Add the following dependency to the
Cartfile in your project:
Then update the dependencies using the following command:
carthage update --use-xcframeworks
And finally, add the xcframework located in
./Carthage/Build/WebRTC.xcframework to your target(s) embedded frameworks.
Read more about Carthage: https://github.com/Carthage/Carthage
To import WebRTC to your code add the following import statement
If you wish to see how to use WebRTC I highly recommend checking out my WebRTC demo iOS app: https://github.com/stasel/WebRTC-iOS
If you wish to compile your own WebRTC binary framework, please refer to the following official guide: https://webrtc.googlesource.com/src/+/refs/heads/master/docs/native-code/ios/index.md
You can also take a look at the build script I created for more details.
|Last commit: 4 days ago|
Release notes: https://groups.google.com/g/discuss-webrtc/c/tFyWdqW2sQM
WebRTC Branch: branch-heads/4606
SHA 256 checksum: