Chromium Code Reviews| 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 |