Coder Social home page Coder Social logo

iby / pexip-swift-sdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pexip/pexip-swift-sdk

0.0 0.0 0.0 17.79 MB

Pexip Swift SDK (iOS, macOS)

Home Page: https://pexip.github.io/pexip-swift-sdk

License: Apache License 2.0

Shell 0.18% Ruby 0.57% Python 0.64% Swift 98.60%

pexip-swift-sdk's Introduction

Pexip Swift SDK for iOS and macOS

Swift Platforms CocoaPods Compatible Swift Package Manager

Pexip Swift SDK is a collection of frameworks for self hosted Pexip Infinity installations that enables customers to build bespoke applications for Apple platforms or add Pexip to existing mobile or desktop experiences and workflows.

Features

  • Built upon the Pexip Client REST API for Infinity
  • Uses media signaling with WebRTC
  • Granulated into multiple libraries in order to be flexible and future proof. Pexip might provide other media signaling technologies in the future, or Infinity might be interchanged with the next generation APIs from Pexip at some point.

Products

  • PexipInfinityClient - a fluent client for Pexip Infinity REST API v2, conference controls, conference events, media signaling and token refreshing.
  • PexipRTC - Pexip WebRTC-based media stack for sending and receiving video streams
  • PexipMedia - core components for working with audio and video
  • PexipVideoFilters - a set of built-in video filters ready to use in your video conferencing app (background blur, background replacement, etc)
  • PexipScreenCapture - high level APIs for screen capture on iOS and macOS
  • PexipCore - extensions, utilities and shared components
  • WebRTC - WebRTC binaries for Apple platforms

Requirements

  • iOS 13.0+
  • macOS 10.15+
  • Swift 5.5 with structured concurrency support
  • Xcode 13
  • Pexip Infinity v29 and higher

โš ๏ธ The project doesn't compile on Xcode 14.3 because of incorrect availability attributes CGDisplayStream.h file (introduced: is 13.0 instead of 10.8). Let's hope it's fixed in future Xcode versions.

Installation

Swift Package Manager

To add a package dependency to your Xcode project, select File > Add Packages and enter https://github.com/pexip/pexip-swift-sdk as a repository URL.

You can also add the following dependency to your Package.swift file:

import PackageDescription

let package = Package(
    name: "MyLibrary",
    platforms: [
        .iOS(.v13),
        .macOS(.v10_15)
    ],
    dependencies: [
        .package(url: "https://github.com/pexip/pexip-swift-sdk", from: "0.1.0")
    ],
    targets: [
        .target(
            name: "MyLibrary",
            dependencies: [
                .product(name: "PexipInfinityClient", package: "pexip-swift-sdk"),
                .product(name: "PexipRTC", package: "pexip-swift-sdk"),
                // ...
            ],
        ),
    ]
)

CocoaPods

source 'https://github.com/pexip/pexip-pod-specs.git'

pod 'PexipInfinityClient'
pod 'PexipRTC'

Manually

  • Download the archives from the GitHub releases
  • Add the xcframeworks as embedded frameworks to your target in Xcode

Examples

Development

  • Download and install the latest version of Xcode.
  • Open Xcode and install additional tools.
  • Install SwiftLint brew install swiftlint
  • Download the source code git clone [email protected]:pexip/pexip-swift-sdk.git
  • Review and add custom Git hooks git config core.hooksPath .githooks
  • Open the Package.swift with Xcode or run open Package.swift from the command line.
  • Build "Cmd+B"
  • Test "Cmd+U"

License

Pexip Swift SDK is released under the Apache Software License, version 2.0. See LICENSE for details.

pexip-swift-sdk's People

Contributors

vadymmarkov 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.