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

Unified Diff: webrtc/examples/objc/AppRTCDemo/ARDWebSocketChannel.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: Created 4 years, 10 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/ARDWebSocketChannel.m
diff --git a/webrtc/examples/objc/AppRTCDemo/ARDWebSocketChannel.m b/webrtc/examples/objc/AppRTCDemo/ARDWebSocketChannel.m
index 90cadc6ad1e5f99d5f5c3bc17b5fe7e3d302dc3d..b5c722b876e62d797e13f74e784d652b6a440615 100644
--- a/webrtc/examples/objc/AppRTCDemo/ARDWebSocketChannel.m
+++ b/webrtc/examples/objc/AppRTCDemo/ARDWebSocketChannel.m
@@ -10,7 +10,7 @@
#import "ARDWebSocketChannel.h"
-#import "RTCLogging.h"
+#import "webrtc/base/objc/RTCLogging.h"
#import "SRWebSocket.h"
#import "ARDSignalingMessage.h"
@@ -222,7 +222,7 @@ static NSString const *kARDWSSMessagePayloadKey = @"msg";
dsc = [dsc stringByReplacingOccurrencesOfString:@"offer"
withString:@"answer"];
RTCSessionDescription *answerDescription =
- [[RTCSessionDescription alloc] initWithType:@"answer" sdp:dsc];
+ [[RTCSessionDescription alloc] initWithType:RTCSdpTypeAnswer sdp:dsc];
ARDSignalingMessage *answer =
[[ARDSessionDescriptionMessage alloc]
initWithDescription:answerDescription];

Powered by Google App Engine
This is Rietveld 408576698