Espresso test case to control loopback call

The test case is put inside a new test target. That test target will be started from a test script to asses video quality.

BUG=webrtc:6545

Review-Url: https://codereview.webrtc.org/2585813002
Cr-Commit-Position: refs/heads/master@{#16088}
This commit is contained in:
mandermo
2017-01-16 02:23:09 -08:00
committed by Commit bot
parent 394d460fb5
commit a6069e8a01
5 changed files with 113 additions and 1 deletions

View File

@ -280,7 +280,7 @@ public class CallActivity extends Activity implements AppRTCClient.SignalingEven
videoHeight = displayMetrics.heightPixels;
}
DataChannelParameters dataChannelParameters = null;
if (intent.getBooleanExtra(EXTRA_DATA_CHANNEL_ENABLED, true)) {
if (intent.getBooleanExtra(EXTRA_DATA_CHANNEL_ENABLED, false)) {
dataChannelParameters = new DataChannelParameters(intent.getBooleanExtra(EXTRA_ORDERED, true),
intent.getIntExtra(EXTRA_MAX_RETRANSMITS_MS, -1),
intent.getIntExtra(EXTRA_MAX_RETRANSMITS, -1), intent.getStringExtra(EXTRA_PROTOCOL),