Skip to content
forked from AlexKMDev/WebRTC

Unofficial builds of Google WebRTC iOS Framework

License

Notifications You must be signed in to change notification settings

pkuhonker/WebRTC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebRTC iOS framework

[!!!] Please report all WebRTC related (not specific to this binary build) bugs and questions to discussion group or official bug tracker

Contents

Installation

Cocoapods (add to Podfile):

pod "WebRTC"

Carthage (add to Cartfile):

github "Anakros/WebRTC"

Manual: just download framework from the latest release and copy it to your project

You can only use the binary release, because the whole WebRTC repository takes ~12Gb of disk space

Unstable versions

Cocoapods (will install specified unstable version or any higher version):

pod "WebRTC", ">= 56.0.14835-beta"

Carthage (there is no way to auto-update to the latest unstable version at the current moment, so you should specify corresponding version tag):

github "Anakros/WebRTC" "56.0.14835-beta"

Usage

Swift

import WebRTC

let device = UIDevice.string(for: UIDevice.deviceType())

print(device)
print(RTCInitializeSSL())

Objective-C

@import WebRTC;

NSString *device = [UIDevice stringForDeviceType:[UIDevice deviceType]];

NSLog(@"%@", device);
NSLog(@"%d", RTCInitializeSSL());

Bitcode

Bitcode isn't supported in the upstream for now. So you should disable it in the project build settings.

Information

Built from https://chromium.googlesource.com/external/webrtc/ using webrtc/build/ios/build_ios_libs.sh script without any modifications.

Links

WebRTC Homepage

WebRTC discussion group

CocoaDocs

CocoaPods Page

WebRTC Bug Tracker

About

Unofficial builds of Google WebRTC iOS Framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 97.7%
  • C 1.4%
  • Ruby 0.9%