Chromium Code Reviews| Index: webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory.mm |
| diff --git a/webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory.mm b/webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory.mm |
| index 9c9fd75ac0908c815d3f40e0327a0c2229849e76..423a9fe0c9495520174f433619bc8e44affffb52 100644 |
| --- a/webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory.mm |
| +++ b/webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory.mm |
| @@ -48,6 +48,20 @@ |
| return self; |
| } |
| + |
| +- (BOOL) startAecDump:(int)fileDescriptor |
|
tkchin_webrtc
2016/08/24 00:42:20
nit: remove space after (BOOL)
peah-webrtc
2016/08/25 09:25:08
Done.
|
| + fileSizeLimitBytes:(int)fileSizeLimitBytes { |
|
tkchin_webrtc
2016/08/24 00:42:20
nit: objC naming conventions
startAecDumpWithFile
peah-webrtc
2016/08/25 09:25:08
Done.
|
| + // Pass the file to the recorder. The file ownership |
| + // is passed to the recorder, and the recorder |
| + // closes the file when needed. |
| + return _nativeFactory->StartAecDump(fileDescriptor, fileSizeLimitBytes); |
| +} |
| + |
| +- (void)stopAecDump { |
| + // The file is closed by the call below. |
| + _nativeFactory->StopAecDump(); |
| +} |
| + |
| - (RTCAVFoundationVideoSource *)avFoundationVideoSourceWithConstraints: |
| (nullable RTCMediaConstraints *)constraints { |
| return [[RTCAVFoundationVideoSource alloc] initWithFactory:self |