diff --git a/.gitignore b/.gitignore index 8c7582c3a2..c43e108f51 100644 --- a/.gitignore +++ b/.gitignore @@ -71,3 +71,4 @@ /xcodebuild /.vscode !webrtc/* +out_ios_libs diff --git a/README.md b/README.md index e91fb16ce7..23f82d3f4b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ +This repository is a private branch of [Google's WebRTC Source](https://chromium.googlesource.com/external/webrtc.git). + +This repository is used to compile [SendBirdWebRTC](https://github.com/sendbird/sendbird-webrtc-ios), and keep track of SendBird's changes. + +In order to use this repository as a reflection of Google's Public WebRTC source, refer to this [medium guide](https://medium.com/@bilalbayasut/github-how-to-make-a-fork-of-public-repository-private-6ee8cacaf9d3) to fork public repository into this private repository. + +--- + **WebRTC is a free, open software 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. diff --git a/sdk/objc/api/peerconnection/RTCPeerConnection.h b/sdk/objc/api/peerconnection/RTCPeerConnection.h index bb8d87bc2d..38a5dc2a4d 100644 --- a/sdk/objc/api/peerconnection/RTCPeerConnection.h +++ b/sdk/objc/api/peerconnection/RTCPeerConnection.h @@ -343,6 +343,7 @@ RTC_OBJC_EXPORT typedef void (^RTCStatisticsCompletionHandler)(RTC_OBJC_TYPE(RTCStatisticsReport) *); +RTC_OBJC_EXPORT @interface RTC_OBJC_TYPE (RTCPeerConnection) (Stats) diff --git a/tools_webrtc/ios/build_ios_libs.py b/tools_webrtc/ios/build_ios_libs.py index b0d28c0151..538bbad2e8 100755 --- a/tools_webrtc/ios/build_ios_libs.py +++ b/tools_webrtc/ios/build_ios_libs.py @@ -33,8 +33,8 @@ SDK_FRAMEWORK_NAME = 'WebRTC.framework' DEFAULT_ARCHS = ENABLED_ARCHS = ['arm64', 'arm', 'x64', 'x86'] -IOS_DEPLOYMENT_TARGET = '10.0' -LIBVPX_BUILD_VP9 = False +IOS_DEPLOYMENT_TARGET = '9.0' +LIBVPX_BUILD_VP9 = True sys.path.append(os.path.join(SCRIPT_DIR, '..', 'libs')) from generate_licenses import LicenseBuilder @@ -59,7 +59,7 @@ def _ParseArgs(): 'If specified together with -c, deletes the dir.') parser.add_argument('-r', '--revision', type=int, default=0, help='Specifies a revision number to embed if building the framework.') - parser.add_argument('-e', '--bitcode', action='store_true', default=False, + parser.add_argument('-e', '--bitcode', action='store_true', default=True, help='Compile with bitcode.') parser.add_argument('--verbose', action='store_true', default=False, help='Debug logging.')