Index: webrtc/sdk/objc/Framework/Classes/RTCAVFoundationVideoSource.mm |
diff --git a/webrtc/sdk/objc/Framework/Classes/RTCAVFoundationVideoSource.mm b/webrtc/sdk/objc/Framework/Classes/RTCAVFoundationVideoSource.mm |
index 528e8cb62440d3a02e490ffe20b95f49b1f4ab0a..ba5af842d33ee1588e71716cc5531ccaa49cd5c0 100644 |
--- a/webrtc/sdk/objc/Framework/Classes/RTCAVFoundationVideoSource.mm |
+++ b/webrtc/sdk/objc/Framework/Classes/RTCAVFoundationVideoSource.mm |
@@ -32,6 +32,10 @@ |
return [super initWithNativeVideoSource:source]; |
} |
+- (void)adaptOutputFormatToWidth:(int)width height:(int)height fps:(int)fps { |
magjed_webrtc
2016/11/23 13:53:40
nit: I'm not sure if you need to line up the colon
kthelgason
2016/11/23 14:01:48
The styleguide reads to me like you only need to d
magjed_webrtc
2016/11/24 13:04:31
Acknowledged.
tkchin_webrtc
2016/11/30 22:08:52
there is some leeway here. I would prefer them on
kthelgason
2016/12/01 09:16:59
Acknowledged.
|
+ self.capturer->AdaptOutputFormat(width, height, fps); |
+} |
+ |
- (BOOL)canUseBackCamera { |
return self.capturer->CanUseBackCamera(); |
} |