Add option to capture to texture in AppRTCDemo for Android.

The purpose is to be able to easier test and find differences between the path when capturing to textures or byte buffers.

This require https://codereview.webrtc.org/1403713002/ to work.

BUG=webrtc:4993
R=magjed@webrtc.org
TBR=glaznew@webrtc.org

Review URL: https://codereview.webrtc.org/1452423003 .

Cr-Commit-Position: refs/heads/master@{#10766}
This commit is contained in:
Per
2015-11-24 11:13:23 +01:00
parent 978244ecb0
commit d48015364d
7 changed files with 32 additions and 4 deletions

View File

@ -250,7 +250,7 @@ public class PeerConnectionClientTest extends InstrumentationTestCase
PeerConnectionParameters peerConnectionParameters =
new PeerConnectionParameters(
enableVideo, true, // videoCallEnabled, loopback.
0, 0, 0, 0, videoCodec, true, // video codec parameters.
0, 0, 0, 0, videoCodec, true, false, // video codec parameters.
0, "OPUS", false, false); // audio codec parameters.
return peerConnectionParameters;
}