Swiftpack.co -  stasel/WebRTC as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Unofficial distribution of WebRTC framework binaries for iOS.
.package(url: "https://github.com/stasel/WebRTC.git", from: "90.0.0")

WebRTC Binaries for iOS

This repository contains unofficial distribution of WebRTC framework binaries for iOS.

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.

๐Ÿ“ฆ Releases

The binary releases correspond with official Chromium releases and branches as specified in the Chromium dashboard.

๐Ÿ’ก Things to know

  • All binaries in this repository are compiled from the official WebRTC source code without any modifications to the sources code or to the output binaries.
  • Dynamic framework (xcframework format) which contains binaries for armv7, arm64, x86 and x86_x64.
  • Bitcode is included and this is the reason for the larger file size.
  • Supports both 32 bit and 64 bit.

๐Ÿ“ข Requirements

  • iOS 10+

๐Ÿšš Installation

Swift package manager

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/stasel/WebRTC.git", .upToNextMajor("90.0.0"))

Use the latest branch to get the most up to date binary:

dependencies: [
    .Package(url: "https://github.com/stasel/WebRTC.git", .branch("latest"))


  1. Download the framework from the releases section.
  2. Unzip the file.
  3. Add the xcframework to your target(s) embedded frameworks.


Coming soon


Coming soon

๐Ÿ‘ท Usage

To import WebRTC to your code add the following import statement

import WebRTC

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

๐Ÿ›  Compile your own WebRTC Frameworks

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.

๐Ÿ“ƒ License


Stars: 15
Last commit: 2 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jackโ€™d and SCRUFF. We are two of the worldโ€™s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

3 weeks ago

Release notes: https://groups.google.com/g/discuss-webrtc/c/Zrsn2hi8FV0/m/KIbn0EZPBQAJ WebRTC Branch: 4430 WebRTC Commit: dee77cf29effbbbe665cde8fede61e3d5ea24152 SHA 256 checksum: a9c4162321e1a94c11f6e7913a32d58c647ee7909371dca2df0b0ba3a0bbc50f

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API