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

Side by Side Diff: webrtc/examples/objc/AppRTCDemo/ARDJoinResponse.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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2014 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2014 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #import "ARDJoinResponse+Internal.h" 11 #import "ARDJoinResponse+Internal.h"
12 12
13 #import "ARDSignalingMessage.h" 13 #import "ARDSignalingMessage.h"
14 #import "ARDUtilities.h" 14 #import "ARDUtilities.h"
15 #import "RTCICEServer+JSON.h" 15 #import "RTCIceServer+JSON.h"
16 16
17 static NSString const *kARDJoinResultKey = @"result"; 17 static NSString const *kARDJoinResultKey = @"result";
18 static NSString const *kARDJoinResultParamsKey = @"params"; 18 static NSString const *kARDJoinResultParamsKey = @"params";
19 static NSString const *kARDJoinInitiatorKey = @"is_initiator"; 19 static NSString const *kARDJoinInitiatorKey = @"is_initiator";
20 static NSString const *kARDJoinRoomIdKey = @"room_id"; 20 static NSString const *kARDJoinRoomIdKey = @"room_id";
21 static NSString const *kARDJoinClientIdKey = @"client_id"; 21 static NSString const *kARDJoinClientIdKey = @"client_id";
22 static NSString const *kARDJoinMessagesKey = @"messages"; 22 static NSString const *kARDJoinMessagesKey = @"messages";
23 static NSString const *kARDJoinWebSocketURLKey = @"wss_url"; 23 static NSString const *kARDJoinWebSocketURLKey = @"wss_url";
24 static NSString const *kARDJoinWebSocketRestURLKey = @"wss_post_url"; 24 static NSString const *kARDJoinWebSocketRestURLKey = @"wss_post_url";
25 25
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 ARDJoinResultType result = kARDJoinResultTypeUnknown; 73 ARDJoinResultType result = kARDJoinResultTypeUnknown;
74 if ([resultString isEqualToString:@"SUCCESS"]) { 74 if ([resultString isEqualToString:@"SUCCESS"]) {
75 result = kARDJoinResultTypeSuccess; 75 result = kARDJoinResultTypeSuccess;
76 } else if ([resultString isEqualToString:@"FULL"]) { 76 } else if ([resultString isEqualToString:@"FULL"]) {
77 result = kARDJoinResultTypeFull; 77 result = kARDJoinResultTypeFull;
78 } 78 }
79 return result; 79 return result;
80 } 80 }
81 81
82 @end 82 @end
OLDNEW
« no previous file with comments | « webrtc/examples/objc/AppRTCDemo/ARDCEODTURNClient.m ('k') | webrtc/examples/objc/AppRTCDemo/ARDSDPUtils.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698