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

Unified Diff: talk/examples/objc/AppRTCDemo/ARDSDPUtils.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/ARDSDPUtils.m
diff --git a/talk/examples/objc/AppRTCDemo/ARDSDPUtils.m b/talk/examples/objc/AppRTCDemo/ARDSDPUtils.m
index 481b6ce18f349e1b191c8a4a6080607ad3d67594..25e8d4eaa68d9b68dc0d33c461b2dc2b591ed9d1 100644
--- a/talk/examples/objc/AppRTCDemo/ARDSDPUtils.m
+++ b/talk/examples/objc/AppRTCDemo/ARDSDPUtils.m
@@ -27,7 +27,7 @@
#import "ARDSDPUtils.h"
-#import "ARDLogging.h"
+#import "RTCLogging.h"
#import "RTCSessionDescription.h"
@implementation ARDSDPUtils
@@ -71,11 +71,11 @@
}
}
if (mLineIndex == -1) {
- ARDLog(@"No m=video line, so can't prefer %@", codec);
+ RTCLog(@"No m=video line, so can't prefer %@", codec);
return description;
}
if (!codecRtpMap) {
- ARDLog(@"No rtpmap for %@", codec);
+ RTCLog(@"No rtpmap for %@", codec);
return description;
}
NSArray *origMLineParts =
@@ -99,7 +99,7 @@
[lines replaceObjectAtIndex:mLineIndex
withObject:newMLine];
} else {
- ARDLog(@"Wrong SDP media description format: %@", lines[mLineIndex]);
+ RTCLogWarning(@"Wrong SDP media description format: %@", lines[mLineIndex]);
}
NSString *mangledSdpString = [lines componentsJoinedByString:lineSeparator];
return [[RTCSessionDescription alloc] initWithType:description.type

Powered by Google App Engine
This is Rietveld 408576698