commit | bcc5d87f0932e96efdd90dc7fcc50ebab301ce62 | [log] [tgz] |
---|---|---|
author | adam.fedor <adam.fedor@gmail.com> | Mon Nov 07 14:53:28 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Mon Nov 07 22:53:35 2016 +0000 |
tree | d44b73c87c6d6209a6c4c1be317781d8bdd81920 | |
parent | d83bf06167da78fc164b6722b5ad9258335810c8 [diff] [blame] |
Add a GN target for unit tests, get them working again and added a test. BUG=webrtc:3417 Review-Url: https://codereview.webrtc.org/2050153003 Cr-Commit-Position: refs/heads/master@{#14959}
diff --git a/webrtc/examples/objc/AppRTCMobile/ARDAppClient.m b/webrtc/examples/objc/AppRTCMobile/ARDAppClient.m index 9ef46b4..4a073f3 100644 --- a/webrtc/examples/objc/AppRTCMobile/ARDAppClient.m +++ b/webrtc/examples/objc/AppRTCMobile/ARDAppClient.m
@@ -318,7 +318,9 @@ _peerConnection = nil; self.state = kARDAppClientStateDisconnected; #if defined(WEBRTC_IOS) - RTCStopInternalCapture(); + if (kARDAppClientEnableTracing) { + RTCStopInternalCapture(); + } #endif }