Giter Site home page Giter Site logo

milos1290 / webrtc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tylerjonesio/webrtc

0.0 0.0 0.0 91 KB

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

License: Other

Shell 60.64% Python 36.66% Swift 2.70%

webrtc's Introduction

WebRTC Binaries for iOS, macOS and tvOS

Latest version Release Date Total Downloads

This repository contains unofficial distribution of WebRTC framework binaries for iOS, macOS and tvOS.

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.
  • Certain patches have been applied to ensure proper compilation for all of the included platforms. They can be found in the patches/ directory.
  • Dynamic framework (xcframework format) which contains multiple binaries for macOS, iOS, and tvOS.

๐Ÿ“ข Requirements

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

๐Ÿ“€ Binaries included

Platform / arch arm64 x86_x64
iOS (device) โœ… N/A
iOS (simulator) โœ… โœ…
macOS โœ… โœ…
macOS Catalyst โœ… โœ…
tvOS (device) โœ… N/A
tvOS (simulator) โœ… โ›”๏ธ

๐Ÿšš 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/tylerjonesio/WebRTC.git", .upToNextMajor("117.0.0"))
]

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

dependencies: [
    .package(url: "https://github.com/tylerjonesio/WebRTC.git", branch: "latest")
]

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 the upstream 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/main/docs/native-code/ios/README.md

You can also take a look at the build script I created for more details.

๐Ÿ“ƒ License

webrtc's People

Contributors

stasel avatar tylerjonesio avatar ghenadievp avatar doesnotexist avatar tmolitor-stud-tu avatar allen-spicer-scoot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.