Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(565)

Unified Diff: webrtc/build/ios/webrtc/PodTest/PodTest/ViewController.m

Issue 1829783003: Build dynamic framework with podspec for Objective-C API. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/build/ios/webrtc/PodTest/PodTest/ViewController.m
diff --git a/webrtc/build/ios/webrtc/PodTest/PodTest/ViewController.m b/webrtc/build/ios/webrtc/PodTest/PodTest/ViewController.m
new file mode 100644
index 0000000000000000000000000000000000000000..169c3185a86589b5dac902d05cfa9da97c82f7d6
--- /dev/null
+++ b/webrtc/build/ios/webrtc/PodTest/PodTest/ViewController.m
@@ -0,0 +1,30 @@
+//
+// ViewController.m
tkchin_webrtc 2016/03/23 17:52:56 ditto header + cleanup
hjon_webrtc 2016/03/25 00:09:46 Done.
+// PodTest
+//
+// Copyright © 2016 Google Inc. All rights reserved.
+//
+
+#import "ViewController.h"
+#import <WebRTC/WebRTC.h>
+
+@interface ViewController ()
+@property (nonatomic, strong) RTCPeerConnectionFactory* factory;
+@property (nonatomic, strong) RTCAVFoundationVideoSource* videoSource;
+@end
+
+@implementation ViewController
+
+- (void)viewDidLoad {
+ [super viewDidLoad];
+ // Do any additional setup after loading the view, typically from a nib.
+ self.factory = [[RTCPeerConnectionFactory alloc] init];
+// self.videoSource = [self.factory avFoundationVideoSourceWithConstraints:nil];
+}
+
+- (void)didReceiveMemoryWarning {
+ [super didReceiveMemoryWarning];
+ // Dispose of any resources that can be recreated.
+}
+
+@end

Powered by Google App Engine
This is Rietveld 408576698