This is WebRTC framework for iOS that SendBird builds on top of Google WebRTC. It includes additional features required for SendBirdCall SDK, such as enabled bitcode and VP9 codec.
iOS 11.0 or higher
Install WebRTC Framework from Swift Package Manager
-
Go to your Swift Package Manager's File tab and select Swift Packages. Then choose
Add package dependency
-
Add SendBirdWebRTC into your Package Repository with the following URL:
https://github.com/sendbird/sendbird-webrtc-ios
-
To add the package, select appropriate dependency rule and click
Add Package
.
Install WebRTC Framework from CocoaPods
Add below into your Podfile.
platform :ios, '11.0'
use_frameworks!
target YOUR_PROJECT_TARGET do
pod 'SendBirdWebRTC'
end
Install WebRTC Framework through CocoaPods.
pod install
Now you can see installed WebRTC framework by inspecting YOUR_PROJECT.xcworkspace
.
Install WebRTC Framework from Carthage
Requires Carthage version 0.38 or higher
- Add
binary "https://raw.githubusercontent.com/sendbird/sendbird-webrtc-ios/master/SendBirdWebRTC.json"
to your Cartfile. - Run
carthage update --use-xcframeworks
. - Go to your Xcode project's
"General"
settings. Open<YOUR_XCODE_PROJECT_DIRECTORY>/Carthage/Build/iOS
in Finder and dragWebRTC.framework
to the"Embedded Binaries"
section in Xcode. Make sureCopy items if needed
is selected and clickFinish
.