OLD | NEW |
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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 | 382 |
383 @SmallTest | 383 @SmallTest |
384 public void testLoopbackVp8DecodeToTexture() throws InterruptedException { | 384 public void testLoopbackVp8DecodeToTexture() throws InterruptedException { |
385 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) { | 385 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) { |
386 Log.i(TAG, "Decode to textures is not supported, requires SDK version 19."
); | 386 Log.i(TAG, "Decode to textures is not supported, requires SDK version 19."
); |
387 return; | 387 return; |
388 } | 388 } |
389 doLoopbackTest(createParametersForVideoCall(VIDEO_CODEC_VP8, false), true); | 389 doLoopbackTest(createParametersForVideoCall(VIDEO_CODEC_VP8, false), true); |
390 } | 390 } |
391 | 391 |
392 //@SmallTest | 392 @SmallTest |
393 public void testLoopbackVp9DecodeToTexture() throws InterruptedException { | 393 public void testLoopbackVp9DecodeToTexture() throws InterruptedException { |
394 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) { | 394 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) { |
395 Log.i(TAG, "Decode to textures is not supported, requires SDK version 19."
); | 395 Log.i(TAG, "Decode to textures is not supported, requires SDK version 19."
); |
396 return; | 396 return; |
397 } | 397 } |
398 doLoopbackTest(createParametersForVideoCall(VIDEO_CODEC_VP9, false), true); | 398 doLoopbackTest(createParametersForVideoCall(VIDEO_CODEC_VP9, false), true); |
399 } | 399 } |
400 | 400 |
401 @SmallTest | 401 @SmallTest |
402 public void testLoopbackH264DecodeToTexture() throws InterruptedException { | 402 public void testLoopbackH264DecodeToTexture() throws InterruptedException { |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
623 assertTrue("Remote video frames were not rendered after capture format cha
nge.", | 623 assertTrue("Remote video frames were not rendered after capture format cha
nge.", |
624 remoteRenderer.waitForFramesRendered(WAIT_TIMEOUT)); | 624 remoteRenderer.waitForFramesRendered(WAIT_TIMEOUT)); |
625 } | 625 } |
626 | 626 |
627 pcClient.close(); | 627 pcClient.close(); |
628 assertTrue(waitForPeerConnectionClosed(WAIT_TIMEOUT)); | 628 assertTrue(waitForPeerConnectionClosed(WAIT_TIMEOUT)); |
629 Log.d(TAG, "testCaptureFormatChange done."); | 629 Log.d(TAG, "testCaptureFormatChange done."); |
630 } | 630 } |
631 | 631 |
632 } | 632 } |
OLD | NEW |