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

Side by Side Diff: webrtc/examples/objc/AppRTCDemo/tests/ARDAppClientTest.mm

Issue 2294913003: Update iOS AppRTCDemo to use level controller. (Closed)
Patch Set: Remove blank line. Created 4 years, 3 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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 [answererConnectionExpectation fulfill]; 276 [answererConnectionExpectation fulfill];
277 }]; 277 }];
278 // TODO(tkchin): Figure out why DTLS-SRTP constraint causes thread assertion 278 // TODO(tkchin): Figure out why DTLS-SRTP constraint causes thread assertion
279 // crash in Debug. 279 // crash in Debug.
280 answerer.defaultPeerConnectionConstraints = 280 answerer.defaultPeerConnectionConstraints =
281 [[RTCMediaConstraints alloc] initWithMandatoryConstraints:nil 281 [[RTCMediaConstraints alloc] initWithMandatoryConstraints:nil
282 optionalConstraints:nil]; 282 optionalConstraints:nil];
283 weakAnswerer = answerer; 283 weakAnswerer = answerer;
284 284
285 // Kick off connection. 285 // Kick off connection.
286 [caller connectToRoomWithId:roomId isLoopback:NO isAudioOnly:NO shouldMakeAecD ump:NO]; 286 [caller connectToRoomWithId:roomId
287 [answerer connectToRoomWithId:roomId isLoopback:NO isAudioOnly:NO shouldMakeAe cDump:NO]; 287 isLoopback:NO
288 isAudioOnly:NO
289 shouldMakeAecDump:NO
290 shouldUseLevelControl:NO];
291 [answerer connectToRoomWithId:roomId
292 isLoopback:NO
293 isAudioOnly:NO
294 shouldMakeAecDump:NO
295 shouldUseLevelControl:NO];
288 [self waitForExpectationsWithTimeout:20 handler:^(NSError *error) { 296 [self waitForExpectationsWithTimeout:20 handler:^(NSError *error) {
289 if (error) { 297 if (error) {
290 NSLog(@"Expectations error: %@", error); 298 NSLog(@"Expectations error: %@", error);
291 } 299 }
292 }]; 300 }];
293 } 301 }
294 302
295 @end 303 @end
296 304
297 @interface ARDSDPUtilsTest : ARDTestCase 305 @interface ARDSDPUtilsTest : ARDTestCase
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 } 341 }
334 342
335 TEST_F(SignalingTest, SDPTest) { 343 TEST_F(SignalingTest, SDPTest) {
336 @autoreleasepool { 344 @autoreleasepool {
337 ARDSDPUtilsTest *test = [[ARDSDPUtilsTest alloc] init]; 345 ARDSDPUtilsTest *test = [[ARDSDPUtilsTest alloc] init];
338 [test testPreferVideoCodec]; 346 [test testPreferVideoCodec];
339 } 347 }
340 } 348 }
341 349
342 350
OLDNEW
« no previous file with comments | « webrtc/examples/objc/AppRTCDemo/mac/APPRTCViewController.m ('k') | webrtc/sdk/objc/Framework/Classes/RTCMediaConstraints.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698