Add an example app for iOS native API.

Demonstrates how to use the iOS native API to wrap components into
C++ classes.

This CL also introduces a native API wrapper for the capturer.

The C++ code is forked from the corresponding CL for Android at
https://webrtc-review.googlesource.com/c/src/+/60540

Bug: webrtc:8832
Change-Id: I12d9f30e701c0222628e329218f6d5bfca26e6e0
Reviewed-on: https://webrtc-review.googlesource.com/61422
Commit-Queue: Anders Carlsson <andersc@webrtc.org>
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22484}
This commit is contained in:
Anders Carlsson
2018-03-15 09:41:03 +01:00
committed by Commit Bot
parent 8cf0a87bc3
commit 7311918269
18 changed files with 817 additions and 5 deletions

View File

@ -22,7 +22,7 @@ RTC_EXPORT
RTC_EXPORT
@interface RTCVideoCapturer : NSObject
@property(nonatomic, readonly, weak) id<RTCVideoCapturerDelegate> delegate;
@property(nonatomic, weak) id<RTCVideoCapturerDelegate> delegate;
- (instancetype)initWithDelegate:(id<RTCVideoCapturerDelegate>)delegate;