mirror of
https://github.com/matrix-org/openwebrtc-ios-sdk.git
synced 2026-11-17 04:00:52 +00:00
SDK for adding OpenWebRTC to your iOS apps using CocoaPods
- Objective-C 73.7%
- JavaScript 24.2%
- Ruby 2.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| Resources | ||
| Screenshots | ||
| SDK | ||
| .gitignore | ||
| LICENSE | ||
| OpenWebRTC-SDK.podspec | ||
| OpenWebRTC.podspec | ||
| README.md | ||
WARNING! Work in progress, breaking changes ahead :)
[WIP] OpenWebRTC iOS SDK
SDK for adding OpenWebRTC to your iOS apps using CocoaPods
Installation
The SDK uses CocoaPods as library dependency manager. In order to set this up:
sudo gem install cocoapods
pod setup
The OpenWebRTC SDK is made up of 2 different pods:
OpenWebRTC- Contains the pre-build frameworkOpenWebRTC.framework.OpenWebRTC-SDK- Contains helper classes for quickly developing native apps. Currently available only as a Development Pod, meaning that you need need to reference its location by:path(example below).
WARNING! There are remaing issues in the .podspec's that requires you to manually fix a few things in your Xcode workspace, see below. We hope to sort these out ASAP. If you have an idea of what might be wrong, let us know!
Fix dylibs
There is currently a bug that forces a manual fix. Add the following dynamic libs to the Frameworks folder of your main project:
libresolv.dyliblibc++.dylib
Usage
Example Podfile:
platform :ios, '8.0'
target 'NativeDemo' do
pod 'OpenWebRTC', '~> 0.1'
pod 'OpenWebRTC-SDK', :path => '../../../openwebrtc-ios-sdk/OpenWebRTC-SDK.podspec'
end
Overview
As a quick overview, there are the classes to know to use the SDK.