Index: talk/examples/objc/AppRTCDemo/ios/ARDVideoCallViewController.m |
diff --git a/talk/examples/objc/AppRTCDemo/ios/ARDVideoCallViewController.m b/talk/examples/objc/AppRTCDemo/ios/ARDVideoCallViewController.m |
index 2f07c7a4cc48c635ebf4b9314202ef048a453ac5..149beef4679afc8bb6c0c53f9c2c178397dc16fb 100644 |
--- a/talk/examples/objc/AppRTCDemo/ios/ARDVideoCallViewController.m |
+++ b/talk/examples/objc/AppRTCDemo/ios/ARDVideoCallViewController.m |
@@ -30,6 +30,7 @@ |
#import "RTCAVFoundationVideoSource.h" |
#import "ARDAppClient.h" |
+#import "ARDLogging.h" |
#import "ARDVideoCallView.h" |
@interface ARDVideoCallViewController () <ARDAppClientDelegate, |
@@ -69,13 +70,13 @@ |
didChangeState:(ARDAppClientState)state { |
switch (state) { |
case kARDAppClientStateConnected: |
- NSLog(@"Client connected."); |
+ ARDLog(@"Client connected."); |
break; |
case kARDAppClientStateConnecting: |
- NSLog(@"Client connecting."); |
+ ARDLog(@"Client connecting."); |
break; |
case kARDAppClientStateDisconnected: |
- NSLog(@"Client disconnected."); |
+ ARDLog(@"Client disconnected."); |
[self hangup]; |
break; |
} |
@@ -83,7 +84,7 @@ |
- (void)appClient:(ARDAppClient *)client |
didChangeConnectionState:(RTCICEConnectionState)state { |
- NSLog(@"ICE state changed: %d", state); |
+ ARDLog(@"ICE state changed: %d", state); |
__weak ARDVideoCallViewController *weakSelf = self; |
dispatch_async(dispatch_get_main_queue(), ^{ |
ARDVideoCallViewController *strongSelf = weakSelf; |