Index: webrtc/api/objc/RTCPeerConnectionFactory.mm |
diff --git a/webrtc/api/objc/RTCPeerConnectionFactory.mm b/webrtc/api/objc/RTCPeerConnectionFactory.mm |
index a7f9c594dc84535ff3a9d94d66132e2279a08880..a053afaaa517698a030b882d8c54a871de28e2ac 100644 |
--- a/webrtc/api/objc/RTCPeerConnectionFactory.mm |
+++ b/webrtc/api/objc/RTCPeerConnectionFactory.mm |
@@ -44,13 +44,16 @@ |
return self; |
} |
-#if defined(WEBRTC_IOS) |
+ |
- (RTCAVFoundationVideoSource *)avFoundationVideoSourceWithConstraints: |
(nullable RTCMediaConstraints *)constraints { |
+#if defined(WEBRTC_IOS) |
return [[RTCAVFoundationVideoSource alloc] initWithFactory:self |
constraints:constraints]; |
+#else |
+ return nil; |
+ #endif |
hjon_webrtc
2016/03/23 15:01:28
Indent :-)
|
} |
-#endif |
- (RTCAudioTrack *)audioTrackWithTrackId:(NSString *)trackId { |
return [[RTCAudioTrack alloc] initWithFactory:self |