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

Side by Side Diff: webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java

Issue 2550393002: Add FlexFEC settings toggle in Android AppRTCMobile. (Closed)
Patch Set: Created 4 years 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/androidapp/src/org/appspot/apprtc/SettingsActivity.java ('k') | no next file » | 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 new PeerConnectionParameters(false, /* videoCallEnabled */ 263 new PeerConnectionParameters(false, /* videoCallEnabled */
264 true, /* loopback */ 264 true, /* loopback */
265 false, /* tracing */ 265 false, /* tracing */
266 // Video codec parameters. 266 // Video codec parameters.
267 0, /* videoWidth */ 267 0, /* videoWidth */
268 0, /* videoHeight */ 268 0, /* videoHeight */
269 0, /* videoFps */ 269 0, /* videoFps */
270 0, /* videoStartBitrate */ 270 0, /* videoStartBitrate */
271 "", /* videoCodec */ 271 "", /* videoCodec */
272 true, /* videoCodecHwAcceleration */ 272 true, /* videoCodecHwAcceleration */
273 false, /* videoFlexfecEnabled */
273 // Audio codec parameters. 274 // Audio codec parameters.
274 0, /* audioStartBitrate */ 275 0, /* audioStartBitrate */
275 "OPUS", /* audioCodec */ 276 "OPUS", /* audioCodec */
276 false, /* noAudioProcessing */ 277 false, /* noAudioProcessing */
277 false, /* aecDump */ 278 false, /* aecDump */
278 false /* useOpenSLES */, false /* disableBuiltInAEC */, false /* dis ableBuiltInAGC */, 279 false /* useOpenSLES */, false /* disableBuiltInAEC */, false /* dis ableBuiltInAGC */,
279 false /* disableBuiltInNS */, false /* enableLevelControl */); 280 false /* disableBuiltInNS */, false /* enableLevelControl */);
280 281
281 return peerConnectionParameters; 282 return peerConnectionParameters;
282 } 283 }
(...skipping 17 matching lines...) Expand all
300 new PeerConnectionParameters(true, /* videoCallEnabled */ 301 new PeerConnectionParameters(true, /* videoCallEnabled */
301 true, /* loopback */ 302 true, /* loopback */
302 false, /* tracing */ 303 false, /* tracing */
303 // Video codec parameters. 304 // Video codec parameters.
304 0, /* videoWidth */ 305 0, /* videoWidth */
305 0, /* videoHeight */ 306 0, /* videoHeight */
306 0, /* videoFps */ 307 0, /* videoFps */
307 0, /* videoStartBitrate */ 308 0, /* videoStartBitrate */
308 videoCodec, /* videoCodec */ 309 videoCodec, /* videoCodec */
309 true, /* videoCodecHwAcceleration */ 310 true, /* videoCodecHwAcceleration */
311 false, /* videoFlexfecEnabled */
310 // Audio codec parameters. 312 // Audio codec parameters.
311 0, /* audioStartBitrate */ 313 0, /* audioStartBitrate */
312 "OPUS", /* audioCodec */ 314 "OPUS", /* audioCodec */
313 false, /* noAudioProcessing */ 315 false, /* noAudioProcessing */
314 false, /* aecDump */ 316 false, /* aecDump */
315 false /* useOpenSLES */, false /* disableBuiltInAEC */, false /* dis ableBuiltInAGC */, 317 false /* useOpenSLES */, false /* disableBuiltInAEC */, false /* dis ableBuiltInAGC */,
316 false /* disableBuiltInNS */, false /* enableLevelControl */); 318 false /* disableBuiltInNS */, false /* enableLevelControl */);
317 319
318 return peerConnectionParameters; 320 return peerConnectionParameters;
319 } 321 }
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 localRenderer.waitForFramesRendered(WAIT_TIMEOUT)); 671 localRenderer.waitForFramesRendered(WAIT_TIMEOUT));
670 assertTrue("Remote video frames were not rendered after capture format cha nge.", 672 assertTrue("Remote video frames were not rendered after capture format cha nge.",
671 remoteRenderer.waitForFramesRendered(WAIT_TIMEOUT)); 673 remoteRenderer.waitForFramesRendered(WAIT_TIMEOUT));
672 } 674 }
673 675
674 pcClient.close(); 676 pcClient.close();
675 assertTrue(waitForPeerConnectionClosed(WAIT_TIMEOUT)); 677 assertTrue(waitForPeerConnectionClosed(WAIT_TIMEOUT));
676 Log.d(TAG, "testCaptureFormatChange done."); 678 Log.d(TAG, "testCaptureFormatChange done.");
677 } 679 }
678 } 680 }
OLDNEW
« no previous file with comments | « webrtc/examples/androidapp/src/org/appspot/apprtc/SettingsActivity.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698