| Index: webrtc/examples/objc/AppRTCMobile/ARDAppClient.m
|
| diff --git a/webrtc/examples/objc/AppRTCMobile/ARDAppClient.m b/webrtc/examples/objc/AppRTCMobile/ARDAppClient.m
|
| index 1020621cc1bd2b91340963ac20609688aaacd8f6..a8cdcb56df4f8a1e31f7be8d53bf16b25c2013c8 100644
|
| --- a/webrtc/examples/objc/AppRTCMobile/ARDAppClient.m
|
| +++ b/webrtc/examples/objc/AppRTCMobile/ARDAppClient.m
|
| @@ -317,7 +317,9 @@ - (void)disconnect {
|
| _peerConnection = nil;
|
| self.state = kARDAppClientStateDisconnected;
|
| #if defined(WEBRTC_IOS)
|
| - RTCStopInternalCapture();
|
| + if (kARDAppClientEnableTracing) {
|
| + RTCStopInternalCapture();
|
| + }
|
| #endif
|
| }
|
|
|
|
|