All Projects → stasel → WebRTC

stasel / WebRTC

Licence: other
Unofficial distribution of up to date WebRTC framework binaries for iOS and macOS

Programming Languages

shell
77523 projects
python
139335 projects - #7 most used programming language
ruby
36898 projects - #4 most used programming language
swift
15916 projects

Projects that are alternatives of or similar to WebRTC

LNPhotoBrowser
模仿微信朋友圈的图片浏览器
Stars: ✭ 19 (-83.33%)
Mutual labels:  objcective-c
Lkimagekit
A high-performance image framework, including a series of capabilities such as image views, image downloader, memory caches, disk caches, image decoders and image processors.
Stars: ✭ 2,063 (+1709.65%)
Mutual labels:  objcective-c
unity-objc-spam-generater
Unity导出的ios马甲包代码混淆
Stars: ✭ 34 (-70.18%)
Mutual labels:  objcective-c
ikyle.me-code-examples
Smaller code examples from my blog posts on ikyle.me
Stars: ✭ 29 (-74.56%)
Mutual labels:  objcective-c
iOS-Interview
📚 Comprehensive list of questions and problems to pass an interview for the iOS Developer position
Stars: ✭ 127 (+11.4%)
Mutual labels:  objcective-c
DoProject
一个完整项目从头开始需要的工具、技术、SDK等总结
Stars: ✭ 31 (-72.81%)
Mutual labels:  objcective-c

WebRTC Binaries for iOS and macOS

Latest version Release Date Total Downloads Cocoapods

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 here or 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 source code or to the output binaries.
  • Dynamic framework (xcframework format) which contains multiple binaries for macOS and iOS.
  • Since Xcode 14, bitcode is deprecated. Version M103 and above does not include bitcode.

📢 Requirements

  • iOS 12+
  • macOS 10.11+
  • macOS Catalyst 11.0+

📀 Binaries included

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

🚚 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("103.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"))
]

Cocoapods

Add the following line to your Podfile:

pod 'WebRTC-lib'

And then run

pod install

Read more about Cocoapods: https://cocoapods.org

Carthage

Requires Carthage version 0.38 or higher

Add the following dependency to the Cartfile in your project:

binary "https://raw.githubusercontent.com/stasel/WebRTC/latest/WebRTC.json"

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

Manual

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

👷 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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].