Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1788)

Unified Diff: talk/examples/objc/AppRTCDemo/ios/ARDVideoCallViewController.m

Issue 1241283004: iOS: Move AppRTC logging methods to public headers. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 149beef4679afc8bb6c0c53f9c2c178397dc16fb..d919d75b114b075574c7560183e45048f57deef3 100644
--- a/talk/examples/objc/AppRTCDemo/ios/ARDVideoCallViewController.m
+++ b/talk/examples/objc/AppRTCDemo/ios/ARDVideoCallViewController.m
@@ -28,9 +28,9 @@
#import "ARDVideoCallViewController.h"
#import "RTCAVFoundationVideoSource.h"
+#import "RTCLogging.h"
#import "ARDAppClient.h"
-#import "ARDLogging.h"
#import "ARDVideoCallView.h"
@interface ARDVideoCallViewController () <ARDAppClientDelegate,
@@ -70,13 +70,13 @@
didChangeState:(ARDAppClientState)state {
switch (state) {
case kARDAppClientStateConnected:
- ARDLog(@"Client connected.");
+ RTCLog(@"Client connected.");
break;
case kARDAppClientStateConnecting:
- ARDLog(@"Client connecting.");
+ RTCLog(@"Client connecting.");
break;
case kARDAppClientStateDisconnected:
- ARDLog(@"Client disconnected.");
+ RTCLog(@"Client disconnected.");
[self hangup];
break;
}
@@ -84,7 +84,7 @@
- (void)appClient:(ARDAppClient *)client
didChangeConnectionState:(RTCICEConnectionState)state {
- ARDLog(@"ICE state changed: %d", state);
+ RTCLog(@"ICE state changed: %d", state);
__weak ARDVideoCallViewController *weakSelf = self;
dispatch_async(dispatch_get_main_queue(), ^{
ARDVideoCallViewController *strongSelf = weakSelf;

Powered by Google App Engine
This is Rietveld 408576698