[!] Please report all WebRTC related (not specific to this binary build) bugs and questions to discussion group or official bug tracker. You more likely to find professional help there.
WebRTC SDK for iOS
This pod contains the WebRTC iOS SDK in binary form. It is a dynamic library that contains the armv7, arm64 and x86_64 slices. Bitcode is not supported. Our currently provided API’s are Objective C only.
Changes
1.0.1
1.0.0
- Built from: https://chromium.googlesource.com/external/webrtc/+log/branch-heads/m74
- Added RTCStatisticsReport.h header to framework
How to build artifact
-
Install chrome depot_tools - guide
-
Create folder and navigate to it in terminal
cd ${PATH_TO_FOLDER}
-
Fetch WebRTC ( and wait )
fetch --nohooks webrtc_ios
-
Synchronize gclient
gclient sync --with_branch_heads --with_tags
-
Navigate to src folder
cd ./src/
-
Checkout actual release branch
git checkout -b branch_m74 branch-heads/m74
Actual branch:Branch ID: m74
Last commit SHA-1: cc1b32545db7823b85f5a83a92ed5f85970492c9
Last commit message: Partially revert https://webrtc-review.googlesource.com/c/src/+/110461.
-
Synchronize gclient ( again )
gclient sync --with_branch_heads --with_tags
-
One by one apply patches ( download they from this repo )
git apply patch_1.0.0.diff
...
-
Build .fat-framework
python tools_webrtc/ios/build_ios_libs.py
-
Validate framework Framework will be at path -
/src/out_ios_libs/WebRTC.framework
Validate archs ( should contain stringx86_64 i386 armv7 arm64
)lipo -info ${PATH_TO_FOLDER}/src/out_ios_libs/WebRTC.framework/WebRTC
Getting started
If you are new to WebRTC valuable resources can be found at webrtc.org/start/. More documentation can be found at https://webrtc.org/native-code/ios/. Sample code can be found here.
Notice
While WebRTC source code is licensed under BSD, it depends on many other open sourced projects. The list of relevant transitive licenses are enclosed in LICENSE.md.
Terms of Service
WebRTC is a free, open project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for browsers, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC Mobile libraries are part of Google’s effort to facilitate the adoption of WebRTC on Android and iOS. They can be integrated with projects in Apple’s Xcode and Android studio directly, giving developers the opportunity to start experimenting with WebRTC. The libraries are published weekly as a snapshot of the WebRTC source code at https://webrtc.googlesource.com/src. They are targeted for developers that want to try out WebRTC on mobile devices.
Thank you, -The WebRTC Team