Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.
/ WebRTC Public archive

Unofficial builds of Google WebRTC iOS Framework

License

Notifications You must be signed in to change notification settings

AlexKMDev/WebRTC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WebRTC iOS framework

Add to Podfile pod "WebRTC" to install it.

Information

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

Following patches applied:

diff --git a/webrtc/build/ios/build_ios_libs.sh b/webrtc/build/ios/build_ios_libs.sh
index 772fc68..6562b08 100755
--- a/webrtc/build/ios/build_ios_libs.sh
+++ b/webrtc/build/ios/build_ios_libs.sh
@@ -13,6 +13,10 @@
 # Exit on errors.
 set -e

+plistbuddy() {
+ /usr/libexec/PlistBuddy "$@"
+}
+
 # Globals.
 SCRIPT_DIR=$(cd $(dirname $0) && pwd)
 WEBRTC_BASE_DIR=${SCRIPT_DIR}/../../..
diff --git a/webrtc/build/common.gypi b/webrtc/build/common.gypi
index 36a2dae..1332809 100644
--- a/webrtc/build/common.gypi
+++ b/webrtc/build/common.gypi
@@ -155,7 +155,7 @@
 
     # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections.
     # Enabling this may break interop with Android clients that support H264.
-    'use_objc_h264%': 0,
+    'use_objc_h264%': 1,
 
     # Enable this to prevent extern symbols from being hidden on iOS builds.
     # The chromium settings we inherit hide symbols by default on Release
diff --git a/webrtc/system_wrappers/system_wrappers.gyp b/webrtc/system_wrappers/system_wrappers.gyp
index ea8fdb6..4ff2bab 100644
--- a/webrtc/system_wrappers/system_wrappers.gyp
+++ b/webrtc/system_wrappers/system_wrappers.gyp
@@ -44,6 +44,7 @@
         'include/timestamp_extrapolator.h',
         'include/trace.h',
         'include/utf_util_win.h',
+        'include/metrics_default.h',
         'source/aligned_malloc.cc',
         'source/atomic32_win.cc',
         'source/clock.cc',
@@ -76,6 +77,7 @@
         'source/trace_posix.h',
         'source/trace_win.cc',
         'source/trace_win.h',
+        'source/metrics_default.cc',
       ],
       'conditions': [
         ['enable_data_logging==1', {