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

Unified Diff: webrtc/examples/objc/AppRTCDemo/ARDSDPUtils.m

Issue 1690313002: Update iOS AppRTCDemo to use the updated Objective-C API. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Update against master Created 4 years, 9 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: webrtc/examples/objc/AppRTCDemo/ARDSDPUtils.m
diff --git a/webrtc/examples/objc/AppRTCDemo/ARDSDPUtils.m b/webrtc/examples/objc/AppRTCDemo/ARDSDPUtils.m
index 498a0015112e7de94f4cb35a3caf878aa48f7ced..be93ae26f81ac2e341f7849c411db41d9e4b53c3 100644
--- a/webrtc/examples/objc/AppRTCDemo/ARDSDPUtils.m
+++ b/webrtc/examples/objc/AppRTCDemo/ARDSDPUtils.m
@@ -10,15 +10,15 @@
#import "ARDSDPUtils.h"
-#import "RTCLogging.h"
-#import "RTCSessionDescription.h"
+#import "webrtc/api/objc/RTCSessionDescription.h"
+#import "webrtc/base/objc/RTCLogging.h"
@implementation ARDSDPUtils
+ (RTCSessionDescription *)
descriptionForDescription:(RTCSessionDescription *)description
preferredVideoCodec:(NSString *)codec {
- NSString *sdpString = description.description;
+ NSString *sdpString = description.sdp;
NSString *lineSeparator = @"\n";
NSString *mLineSeparator = @" ";
// Copied from PeerConnectionClient.java.
« no previous file with comments | « webrtc/examples/objc/AppRTCDemo/ARDJoinResponse.m ('k') | webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698