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

Unified Diff: webrtc/api/objc/RTCPeerConnectionFactory.mm

Issue 1825713003: Remove WEBRTC_IOS from RTCPeerConnectionFactory public header. (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
« no previous file with comments | « webrtc/api/objc/RTCPeerConnectionFactory.h ('k') | webrtc/base/objc/RTCMacros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « webrtc/api/objc/RTCPeerConnectionFactory.h ('k') | webrtc/base/objc/RTCMacros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698