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

Side by Side Diff: webrtc/examples/objc/AppRTCDemo/ARDWebSocketChannel.m

Issue 1972483002: Pass around the candidate removals events in IOS clients Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Merge with head Created 4 years, 7 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
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 ARDSignalingMessage *answer = 226 ARDSignalingMessage *answer =
227 [[ARDSessionDescriptionMessage alloc] 227 [[ARDSessionDescriptionMessage alloc]
228 initWithDescription:answerDescription]; 228 initWithDescription:answerDescription];
229 [self sendMessage:answer]; 229 [self sendMessage:answer];
230 break; 230 break;
231 } 231 }
232 case kARDSignalingMessageTypeAnswer: 232 case kARDSignalingMessageTypeAnswer:
233 // Should not receive answer in loopback scenario. 233 // Should not receive answer in loopback scenario.
234 break; 234 break;
235 case kARDSignalingMessageTypeCandidate: 235 case kARDSignalingMessageTypeCandidate:
236 case kARDSignalingMessageTypeCandidateRemoval:
236 // Send back to server. 237 // Send back to server.
237 [self sendMessage:message]; 238 [self sendMessage:message];
238 break; 239 break;
239 case kARDSignalingMessageTypeBye: 240 case kARDSignalingMessageTypeBye:
240 // Nothing to do. 241 // Nothing to do.
241 return; 242 return;
242 } 243 }
243 } 244 }
244 245
245 - (void)channel:(id<ARDSignalingChannel>)channel 246 - (void)channel:(id<ARDSignalingChannel>)channel
246 didChangeState:(ARDSignalingChannelState)state { 247 didChangeState:(ARDSignalingChannelState)state {
247 } 248 }
248 249
249 @end 250 @end
250 251
OLDNEW
« no previous file with comments | « webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.m ('k') | webrtc/examples/objc/AppRTCDemo/RTCICECandidate+JSON.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698