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

Side by Side Diff: webrtc/examples/objc/AppRTCMobile/ARDAppClient.m

Issue 2050153003: Update Unit test for AppRTCMobile app (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: More styling Created 4 years, 1 month 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
« no previous file with comments | « webrtc/examples/BUILD.gn ('k') | webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 _isInitiator = NO; 310 _isInitiator = NO;
311 _hasReceivedSdp = NO; 311 _hasReceivedSdp = NO;
312 _messageQueue = [NSMutableArray array]; 312 _messageQueue = [NSMutableArray array];
313 #if defined(WEBRTC_IOS) 313 #if defined(WEBRTC_IOS)
314 [_factory stopAecDump]; 314 [_factory stopAecDump];
315 [_peerConnection stopRtcEventLog]; 315 [_peerConnection stopRtcEventLog];
316 #endif 316 #endif
317 _peerConnection = nil; 317 _peerConnection = nil;
318 self.state = kARDAppClientStateDisconnected; 318 self.state = kARDAppClientStateDisconnected;
319 #if defined(WEBRTC_IOS) 319 #if defined(WEBRTC_IOS)
320 RTCStopInternalCapture(); 320 if (kARDAppClientEnableTracing) {
321 RTCStopInternalCapture();
322 }
321 #endif 323 #endif
322 } 324 }
323 325
324 #pragma mark - ARDSignalingChannelDelegate 326 #pragma mark - ARDSignalingChannelDelegate
325 327
326 - (void)channel:(id<ARDSignalingChannel>)channel 328 - (void)channel:(id<ARDSignalingChannel>)channel
327 didReceiveMessage:(ARDSignalingMessage *)message { 329 didReceiveMessage:(ARDSignalingMessage *)message {
328 switch (message.type) { 330 switch (message.type) {
329 case kARDSignalingMessageTypeOffer: 331 case kARDSignalingMessageTypeOffer:
330 case kARDSignalingMessageTypeAnswer: 332 case kARDSignalingMessageTypeAnswer:
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 code:kARDAppClientErrorInvalidRoom 839 code:kARDAppClientErrorInvalidRoom
838 userInfo:@{ 840 userInfo:@{
839 NSLocalizedDescriptionKey: @"Invalid room.", 841 NSLocalizedDescriptionKey: @"Invalid room.",
840 }]; 842 }];
841 break; 843 break;
842 } 844 }
843 return error; 845 return error;
844 } 846 }
845 847
846 @end 848 @end
OLDNEW
« no previous file with comments | « webrtc/examples/BUILD.gn ('k') | webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698