Index: tools_webrtc/ios/SDK/PodTest/PodTest/ViewController.m |
diff --git a/tools_webrtc/ios/SDK/PodTest/PodTest/ViewController.m b/tools_webrtc/ios/SDK/PodTest/PodTest/ViewController.m |
index 39a8c76ff27172ee68a99e94c6d657624e3ebf41..e8915a69cc81b8df62a56045c0c06399fb3feefc 100644 |
--- a/tools_webrtc/ios/SDK/PodTest/PodTest/ViewController.m |
+++ b/tools_webrtc/ios/SDK/PodTest/PodTest/ViewController.m |
@@ -13,7 +13,7 @@ |
@interface ViewController () |
@property (nonatomic, strong) RTCPeerConnectionFactory *factory; |
-@property (nonatomic, strong) RTCAVFoundationVideoSource *videoSource; |
+@property (nonatomic, strong) RTCVideoSource *videoSource; |
@end |
@implementation ViewController |
@@ -21,7 +21,7 @@ |
- (void)viewDidLoad { |
[super viewDidLoad]; |
self.factory = [[RTCPeerConnectionFactory alloc] init]; |
- self.videoSource = [self.factory avFoundationVideoSourceWithConstraints:nil]; |
+ self.videoSource = [self.factory videoSource]; |
} |
@end |