Commit Graph

17126 Commits

Author SHA1 Message Date
1372291654 MB: Add low_bandwidth_audio_test to isolate map.
This is needed for the test to be possible to run on Swarming.

BUG=webrtc:7229
NOTRY=True
TBR=ehmaldonado@webrtc.org

Review-Url: https://codereview.webrtc.org/2761213005
Cr-Commit-Position: refs/heads/master@{#17344}
2017-03-22 15:02:38 +00:00
7af1ea144e Add bwe_simulations_tests to default build.
This test was not built by default so it fails when it's now
enabled as a sanity check on the "more configs" bots.

BUG=webrtc:7228
TBR=nisse@webrtc.org

Review-Url: https://codereview.webrtc.org/2765843004 .
Cr-Commit-Position: refs/heads/master@{#17343}
2017-03-22 14:48:11 +00:00
25d0bdc1bc Delete support for receiving RTCP RPSI and SLI message.
This code has been unused for years, and at least the RTCP RSPI sending
logic appears broken.

This cl is part 3, following

  https://codereview.webrtc.org/2746413003 (delete sending)
  https://codereview.webrtc.org/2753783002 (delete vp8 feedback mode)

BUG=webrtc:7338

Review-Url: https://codereview.webrtc.org/2742383004
Cr-Commit-Position: refs/heads/master@{#17342}
2017-03-22 14:15:09 +00:00
b69aec59f3 Roll chromium_revision 7331e21729..f7ea59441b (458702:458727)
Change log: 7331e21729..f7ea59441b
Full diff: 7331e21729..f7ea59441b

Changed dependencies:
* src/ios: 6c741cd2f2..636ead0456
* src/third_party: 0f25432fb7..c2d2236a17
* src/third_party/catapult: 8cbbd7f6c6..1dd4187042
* src/tools: be732dd64f..1dfc0b48b6
DEPS diff: 7331e21729..f7ea59441b/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2767883003
Cr-Commit-Position: refs/heads/master@{#17341}
2017-03-22 13:53:56 +00:00
e55f91ce47 MB: Add webrtc_perf_tests to gn_isolate_map.pyl
BUG=chromium:687890
NOTRY=True

Review-Url: https://codereview.webrtc.org/2766513006
Cr-Commit-Position: refs/heads/master@{#17340}
2017-03-22 12:40:14 +00:00
c8b0865a2e Reduce CPU usage in test::FrameGenerator::SquareGenerator.
This cl change the drawing to  use memset per row in each square instead of setting each pixel individually.

BUG=webrtc:7380

Review-Url: https://codereview.webrtc.org/2764753003
Cr-Commit-Position: refs/heads/master@{#17339}
2017-03-22 11:57:53 +00:00
40854eab23 Reland of Delete class MockCongestionController. (patchset #1 id:1 of https://codereview.webrtc.org/2762133003/ )
Reason for revert:
Problem was the rename of the include file. Intend to keep the old name for now, and then reland.

Original issue's description:
> Revert of Delete class MockCongestionController. (patchset #4 id:60001 of https://codereview.webrtc.org/2762023004/ )
>
> Reason for revert:
> This is breaking downstream build.
>
> Original issue's description:
> > Delete class MockCongestionController.
> >
> > It became unused in cl https://codereview.webrtc.org/2516983004.
> >
> > BUG=None
> >
> > Review-Url: https://codereview.webrtc.org/2762023004
> > Cr-Commit-Position: refs/heads/master@{#17325}
> > Committed: d19bcb7116
>
> TBR=stefan@webrtc.org,nisse@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=None
>
> Review-Url: https://codereview.webrtc.org/2762133003
> Cr-Commit-Position: refs/heads/master@{#17330}
> Committed: e27f1e764e

TBR=stefan@webrtc.org,skvlad@webrtc.org
BUG=None

Review-Url: https://codereview.webrtc.org/2766133002
Cr-Commit-Position: refs/heads/master@{#17338}
2017-03-22 10:28:54 +00:00
dd55480ff4 Roll chromium_revision e214268ec8..7331e21729 (458648:458702)
Change log: e214268ec8..7331e21729
Full diff: e214268ec8..7331e21729

Changed dependencies:
* src/base: a90ab28870..ef431dea6a
* src/build: 4ae7d8e15c..a53333d847
* src/ios: bc610d9749..6c741cd2f2
* src/third_party: ee481589cd..0f25432fb7
* src/third_party/catapult: 84775f4ca7..8cbbd7f6c6
* src/tools: 970b5bda83..be732dd64f
DEPS diff: e214268ec8..7331e21729/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2766513005
Cr-Commit-Position: refs/heads/master@{#17337}
2017-03-22 10:18:58 +00:00
060987699b Revert of Add DesktopCapturerId and attach it to DesktopFrame (patchset #4 id:100002 of https://codereview.webrtc.org/2759493002/ )
Reason for revert:
I suspect that this CL breaks Chromium WebRTC FYI bots. (Thanks kjellander@ for spotting.) The added dep in BUILD.gn would be the problem.

Example:

https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.webrtc.fyi%2FLinux_Builder%2F15058%2F%2B%2Frecipes%2Fsteps%2Fcompile%2F0%2Fstdout

FAILED: newlib_pnacl/obj/third_party/webrtc/api/libjingle_peerconnection_api/mediaconstraintsinterface.o
/b/c/goma_client/gomacc ../../native_client/toolchain/linux_x86/pnacl_newlib/bin/pnacl-clang++ -MMD -MF newlib_pnacl/obj/third_party/webrtc/api/libjingle_peerconnection_api/mediaconstraintsinterface.o.d -DNACL_TC_REV=5dfe030a71ca66e72c5719ef5034c2ed24706c43 -DV8_DEPRECATION_WARNINGS -DUSE_OPENSSL_CERTS=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DWEBRTC_RESTRICT_LOGGING -DEXPAT_RELATIVE_PATH -DHAVE_SCTP -DENABLE_EXTERNAL_AUTH -DHAVE_WEBRTC_VIDEO -DHAVE_WEBRTC_VOICE -DLOGGING_INSIDE_WEBRTC -DUSE_WEBRTC_DEV_BRANCH -DFEATURE_ENABLE_VOICEMAIL -DEXPAT_RELATIVE_PATH -DGTEST_RELATIVE_PATH -DNO_MAIN_THREAD_WRAPPING -DNO_SOUND_SYSTEM -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -I../.. -Inewlib_pnacl/gen -I../../third_party/webrtc_overrides -I../../third_party -fno-strict-aliasing -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -fcolor-diagnostics -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-deprecated-register -Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -fno-rtti -fno-exceptions -c ../../third_party/webrtc/api/mediaconstraintsinterface.cc -o newlib_pnacl/obj/third_party/webrtc/api/libjingle_peerconnection_api/mediaconstraintsinterface.o
In file included from ../../third_party/webrtc/api/mediaconstraintsinterface.cc:11:
In file included from ../../third_party/webrtc/api/mediaconstraintsinterface.h:27:
In file included from ../../third_party/webrtc/api/peerconnectioninterface.h:77:
In file included from ../../third_party/webrtc/api/dtmfsenderinterface.h:16:
In file included from ../../third_party/webrtc/api/mediastreaminterface.h:33:
In file included from ../../third_party/webrtc/media/base/mediachannel.h:28:
../../third_party/webrtc/base/socket.h:18:10: fatal error: 'sys/socket.h' file not found
#include <sys/socket.h>
         ^
1 error generated.

Original issue's description:
> Add DesktopCapturerId and attach it to DesktopFrame
>
> This change adds a DesktopCapturerId namespace, and attaches an int to each
> DesktopFrame. ScreenCapturerWinGdi and ScreenCapturerWinDirectx now actively set
> this field to differentiate themselves.
>
> BUG=679523, 650926
>
> Review-Url: https://codereview.webrtc.org/2759493002
> Cr-Commit-Position: refs/heads/master@{#17329}
> Committed: 41e3d9ff3b

TBR=sergeyu@chromium.org,zijiehe@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=679523, 650926

Review-Url: https://codereview.webrtc.org/2767003002
Cr-Commit-Position: refs/heads/master@{#17336}
2017-03-22 08:13:39 +00:00
3af6cc0de9 Don't reset quality scaler on resolution change.
This was causing the QualityScaler to be reconstructed each time
the resolution changes and thus the fast_rampup logic was not working
as intended. We now properly change the checking period to 5 seconds
after a downscale.

BUG=b/36457883

Review-Url: https://codereview.webrtc.org/2766513003
Cr-Commit-Position: refs/heads/master@{#17335}
2017-03-22 07:25:28 +00:00
de5954c0a5 Roll chromium_revision 709962cdd9..e214268ec8 (458621:458648)
Change log: 709962cdd9..e214268ec8
Full diff: 709962cdd9..e214268ec8

Changed dependencies:
* src/base: e62f34009e..a90ab28870
* src/testing: 040ebdc3a6..5095e87b30
* src/third_party: 91555e4fc4..ee481589cd
* src/tools: 1b3c002194..970b5bda83
DEPS diff: 709962cdd9..e214268ec8/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2764783005
Cr-Commit-Position: refs/heads/master@{#17334}
2017-03-22 07:15:52 +00:00
7d610ef547 Roll chromium_revision ff36751cb6..709962cdd9 (458608:458621)
Change log: ff36751cb6..709962cdd9
Full diff: ff36751cb6..709962cdd9

Changed dependencies:
* src/base: 52cb1d929e..e62f34009e
* src/third_party: 5a4ec95894..91555e4fc4
DEPS diff: ff36751cb6..709962cdd9/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2760333003
Cr-Commit-Position: refs/heads/master@{#17333}
2017-03-22 04:16:51 +00:00
0ba31f5ad6 Roll chromium_revision 9796a27144..ff36751cb6 (457679:458608)
Change log: 9796a27144..ff36751cb6
Full diff: 9796a27144..ff36751cb6

Changed dependencies:
* src/base: 4915ce5849..52cb1d929e
* src/build: 72004d5fb0..4ae7d8e15c
* src/ios: 30b5fc0853..bc610d9749
* src/testing: 90254b4c88..040ebdc3a6
* src/third_party: 642287a392..5a4ec95894
* src/third_party/catapult: 7b2dc0f0d4..84775f4ca7
* src/third_party/ffmpeg: 3f3ad2ea90..b9acb5c51e
* src/third_party/libFuzzer/src: a746f0ef81..34139b3275
* src/third_party/libyuv: 0741a3d704..2adb84e39e
* src/tools: a4c0abd4a0..1b3c002194
DEPS diff: 9796a27144..ff36751cb6/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2766543003
Cr-Commit-Position: refs/heads/master@{#17332}
2017-03-22 01:23:00 +00:00
8b45b11144 Revert of Add framerate to VideoSinkWants and ability to signal on overuse (patchset #14 id:250001 of https://codereview.webrtc.org/2716643002/ )
Reason for revert:
Breaks perf tests:
https://build.chromium.org/p/client.webrtc.perf/builders/Win7/builds/1679
https://build.chromium.org/p/client.webrtc.perf/builders/Android32%20Tests%20%28L%20Nexus5%29/builds/2325

Original issue's description:
> Add framerate to VideoSinkWants and ability to signal on overuse
>
> In ViEEncoder, try to reduce framerate instead of resolution if the
> current degradation preference is maintain-resolution rather than
> balanced.
>
> BUG=webrtc:4172
>
> Review-Url: https://codereview.webrtc.org/2716643002
> Cr-Commit-Position: refs/heads/master@{#17327}
> Committed: 72acf25261

TBR=nisse@webrtc.org,magjed@webrtc.org,kthelgason@webrtc.org,ilnik@webrtc.org,stefan@webrtc.org,sprang@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:4172

Review-Url: https://codereview.webrtc.org/2764133002
Cr-Commit-Position: refs/heads/master@{#17331}
2017-03-21 20:26:06 +00:00
e27f1e764e Revert of Delete class MockCongestionController. (patchset #4 id:60001 of https://codereview.webrtc.org/2762023004/ )
Reason for revert:
This is breaking downstream build.

Original issue's description:
> Delete class MockCongestionController.
>
> It became unused in cl https://codereview.webrtc.org/2516983004.
>
> BUG=None
>
> Review-Url: https://codereview.webrtc.org/2762023004
> Cr-Commit-Position: refs/heads/master@{#17325}
> Committed: d19bcb7116

TBR=stefan@webrtc.org,nisse@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=None

Review-Url: https://codereview.webrtc.org/2762133003
Cr-Commit-Position: refs/heads/master@{#17330}
2017-03-21 20:15:59 +00:00
41e3d9ff3b Add DesktopCapturerId and attach it to DesktopFrame
This change adds a DesktopCapturerId namespace, and attaches an int to each
DesktopFrame. ScreenCapturerWinGdi and ScreenCapturerWinDirectx now actively set
this field to differentiate themselves.

BUG=679523, 650926

Review-Url: https://codereview.webrtc.org/2759493002
Cr-Commit-Position: refs/heads/master@{#17329}
2017-03-21 19:41:18 +00:00
14325edfe4 Don't expect factory to create iLBC decoder if it isn't supported
BUG=webrtc:7377

Review-Url: https://codereview.webrtc.org/2762153002
Cr-Commit-Position: refs/heads/master@{#17328}
2017-03-21 19:16:51 +00:00
72acf25261 Add framerate to VideoSinkWants and ability to signal on overuse
In ViEEncoder, try to reduce framerate instead of resolution if the
current degradation preference is maintain-resolution rather than
balanced.

BUG=webrtc:4172

Review-Url: https://codereview.webrtc.org/2716643002
Cr-Commit-Position: refs/heads/master@{#17327}
2017-03-21 18:54:11 +00:00
38989e593c Parse the connection data in SDP (c= line).
Extract the remote addresses from SDP c= line on both session level and
media level. The media level address will overwrite the session level one if
exists.

WebRTC is not using c= and this is used for new SDP parsing API.

BUG=webrtc:7311

Review-Url: https://codereview.webrtc.org/2742903002
Cr-Commit-Position: refs/heads/master@{#17326}
2017-03-21 18:04:53 +00:00
d19bcb7116 Delete class MockCongestionController.
It became unused in cl https://codereview.webrtc.org/2516983004.

BUG=None

Review-Url: https://codereview.webrtc.org/2762023004
Cr-Commit-Position: refs/heads/master@{#17325}
2017-03-21 16:41:07 +00:00
1182afedec Remove dead code in vp8_impl files.
BUG=webrtc:7349
R=brandtr@webrtc.org, marpan@google.com, nisse@webrtc.org, marpan@webrtc.org
TBR=stefan@webrtc.org

Review-Url: https://codereview.webrtc.org/2751133002 .
Cr-Commit-Position: refs/heads/master@{#17324}
2017-03-21 16:35:51 +00:00
8e58d65ddf Make lint errors fatal in presubmit and fix files in whitelisted paths
BUG=webrtc:5149

Review-Url: https://codereview.webrtc.org/2762963002
Cr-Commit-Position: refs/heads/master@{#17323}
2017-03-21 14:52:41 +00:00
92e448d529 TransportFeedbackPacketLossTracker to receive std::vector<PacketFeedback> in place of the entire feedback
BUG=webrtc:7058

Review-Url: https://codereview.webrtc.org/2754373002
Cr-Commit-Position: refs/heads/master@{#17322}
2017-03-21 14:31:35 +00:00
559af38a15 Split CongestionController into send- and receive-side classes.
New class ReceiveSideCongestionController, extracted from CongestionController, and responsible for the
OnReceivedPacket processing.

Rest of the CongestionController moved to a new class
SendSideCongestionController.

To avoid breaking applications, CongestionController is redefined
as a union of these two classes, with no intended change in behavior.

With one exception: CongestionController::SetBweBitrates used to call
remote_bitrate_estimator_.SetMinBitrate, but after remote_bitrate_estimator_ was moved to ReceiveSideCongestionController,
it no longer does this.

BUG=webrtc:6847

Review-Url: https://codereview.webrtc.org/2752233002
Cr-Commit-Position: refs/heads/master@{#17321}
2017-03-21 13:41:12 +00:00
6a64bd96bf TransportFeedbackPacketLossTrackerTest cosmetic modification
BUG=webrtc:7058

Review-Url: https://codereview.webrtc.org/2751653006
Cr-Commit-Position: refs/heads/master@{#17320}
2017-03-21 12:58:04 +00:00
54ca919c32 Allow padding packet in video streams.
BUG=webrtc:5514

Review-Url: https://codereview.webrtc.org/2763813003
Cr-Commit-Position: refs/heads/master@{#17319}
2017-03-21 12:45:18 +00:00
90a115334f Roll chromium_revision 23fea388a2..9796a27144 (457505:457679)
Added entry to DEPS for downloading xstream, which is now required on Android.

Change log: 23fea388a2..9796a27144
Full diff: 23fea388a2..9796a27144

Changed dependencies:
* src/build: b30ab5d975..72004d5fb0
* src/ios: ae47da68e7..30b5fc0853
* src/testing: 6496d3abcf..90254b4c88
* src/third_party: 7d6de94aa1..642287a392
* src/third_party/catapult: faf60eb37f..7b2dc0f0d4
* src/third_party/robolectric/robolectric: e38b49a12f..5244ef6a3a
* src/tools: fc7a3fd1cf..a4c0abd4a0
DEPS diff: 23fea388a2..9796a27144/DEPS

No update to Clang.

TBR=
BUG=webrtc:7355
NOTRY=True

Review-Url: https://codereview.webrtc.org/2760513003
Cr-Commit-Position: refs/heads/master@{#17318}
2017-03-21 11:12:51 +00:00
4c8b9425b0 Adding audio DTX to video loopback test.
BUG=None

Review-Url: https://codereview.webrtc.org/2768473002
Cr-Commit-Position: refs/heads/master@{#17317}
2017-03-21 11:11:43 +00:00
e828c9690a Probing EndToEndTests.
Add tests for inital probing and mid-call probing by reconfiguring max bitrate.

BUG=none

Review-Url: https://codereview.webrtc.org/2760623002
Cr-Commit-Position: refs/heads/master@{#17316}
2017-03-21 10:24:27 +00:00
0a2391f74c Add thread check to ModuleProcessThread::DeRegisterModule and remove all unnecessary locking that was there due to one implementation calling from a different thread.
The only thing that was holding us back was the indeterministic teardown of voe::Channel(), but it turned out that fixing it wasn't that hard :)

BUG=webrtc:4508

Review-Url: https://codereview.webrtc.org/2755273004
Cr-Commit-Position: refs/heads/master@{#17315}
2017-03-21 09:31:51 +00:00
3257b16156 Delete VP8 feedback mode.
It depends on RTCP RPSI and SLI messages, which are being deleted.

TBR=stefan@webrtc.org  # TODO comments added to common_types.h
BUG=webrtc:7338

Review-Url: https://codereview.webrtc.org/2753783002
Cr-Commit-Position: refs/heads/master@{#17314}
2017-03-21 08:54:13 +00:00
abbacbf489 Measure packet loss so we can use it to select ICE candidate pairs.
BUG=webrtc:7028

Review-Url: https://codereview.webrtc.org/2722933002
Cr-Commit-Position: refs/heads/master@{#17313}
2017-03-20 17:53:12 +00:00
a5c18d7312 Delete video_coding_robustness_unittest.cc
BUG=none

Review-Url: https://codereview.webrtc.org/2755803004
Cr-Commit-Position: refs/heads/master@{#17312}
2017-03-20 17:43:23 +00:00
aff5be35e0 Don't recalculate Tl0PicIdx when the VP9 frame has no Tl0PicIdx.
BUG=webrtc:7362

Review-Url: https://codereview.webrtc.org/2760893002
Cr-Commit-Position: refs/heads/master@{#17311}
2017-03-20 17:42:13 +00:00
c55f27afa4 Re-enable ULPFEC end-to-end test.
- Reduced flakyness by switching to a packetization format that has
  PictureID.
- Removed the explicit send-side BWE enabling from ULPFEC and FlexFEC
  tests, since that is now on by default.

BUG=webrtc:7047

Review-Url: https://codereview.webrtc.org/2753253002
Cr-Commit-Position: refs/heads/master@{#17310}
2017-03-20 13:32:59 +00:00
ab980d0cb1 Remove last mentions of speex from webrtc/modules
BUG=webrtc:4844

Review-Url: https://codereview.webrtc.org/2763543002
Cr-Commit-Position: refs/heads/master@{#17309}
2017-03-20 12:56:22 +00:00
afcf378459 Remove mixing_test.cc.
BUG=webrtc:4690, webrtc:7238, webrtc:7364

Review-Url: https://codereview.webrtc.org/2756263002
Cr-Commit-Position: refs/heads/master@{#17308}
2017-03-20 12:16:01 +00:00
61c703118c Remove obsolete valgrind/MSAN suppressions.
BUG=webrtc:3827,webrtc:6784,webrtc:5988
NOTRY=True

Review-Url: https://codereview.webrtc.org/2758943002
Cr-Commit-Position: refs/heads/master@{#17307}
2017-03-20 11:29:09 +00:00
14adba77ec Don't allocate any RTPSender object for a receive only RtpRtcp module.
This is one step towards separation of send-side and receive-side
processing.

BUG=webrtc:7135

Review-Url: https://codereview.webrtc.org/2740163002
Cr-Commit-Position: refs/heads/master@{#17306}
2017-03-20 10:52:39 +00:00
7c3da27141 Add a missing DCHECK to PlatformThread::SetPriority.
This DCHECK is for the 'new and improved' way of setting thread priority.
What could happen is that code that's migrating over to the new method
might still have a lingering SetPriority call, that could incorrectly bind the
'spawned_thread_checker_' to the construction thread.

BUG=none

Review-Url: https://codereview.webrtc.org/2753423002
Cr-Commit-Position: refs/heads/master@{#17305}
2017-03-20 10:47:17 +00:00
5bf9def61b RTCStatsCollector: Remove closed channels from opened set.
This is a problem if a data channel is re-opened or a new data channel
occupies the same space in memory as a previously closed data channel.

Unittest updated to cover this (failed before fix, now passes).

BUG=webrtc:7181

Review-Url: https://codereview.webrtc.org/2746393003
Cr-Commit-Position: refs/heads/master@{#17304}
2017-03-20 10:14:14 +00:00
1973ba6ef4 Improve stability of the echo detector complexity perf tests.
The results of the echo detector complexity tests are currently notoriously spiky and unreliable. The following improvements are made in this CL:
- Significantly longer warmup time before starting the test
- More iterations and larger batches
- Different number of iterations for slow and fast tests
- Use the echo likelihood in the test so it cannot get optimized out

BUG=webrtc:7353

Review-Url: https://codereview.webrtc.org/2750413002
Cr-Commit-Position: refs/heads/master@{#17303}
2017-03-20 10:03:16 +00:00
5e1ca78705 Add low_bandwidth_audio_test to default build
https://codereview.webrtc.org/2717683002/ added a placeholder binary but
it still needs to be included in the default build before enabling it on
bots.

BUG=webrtc:7229

Review-Url: https://codereview.webrtc.org/2746403002
Cr-Commit-Position: refs/heads/master@{#17302}
2017-03-20 09:06:18 +00:00
3b51065c55 Conversational Speech generator, adding unit test.
Test for the conversational_speech::Config class and renaming.

BUG=webrtc:7218

Review-Url: https://codereview.webrtc.org/2749573002
Cr-Commit-Position: refs/heads/master@{#17301}
2017-03-18 10:45:31 +00:00
5f32aca85e Reland "C++ porting of the initial python script for conversational speech
generation."

This CL removes the Python script and adds its C++ porting.
The former was in its early stage and it has permanently been removed.

This is a reland of https://codereview.webrtc.org/2740063004/ which
was reverted. Now the build errors are fixed.

BUG=webrtc:7218

Review-Url: https://codereview.webrtc.org/2752793002
Cr-Commit-Position: refs/heads/master@{#17300}
2017-03-18 09:29:13 +00:00
7aeabd081f Add CryptoParams to webrtc::MediaSession.
SrtpTransportInterface methods take cricket::CryptoParams, so this
should be enough for now.

BUG=webrtc:7311

Review-Url: https://codereview.webrtc.org/2753343002
Cr-Commit-Position: refs/heads/master@{#17299}
2017-03-18 02:10:37 +00:00
3eba2d8273 Fix DesktopCapturer constructors to handle failures properly.
CreateRawScreenCapturer() and CreateRawWindowCapturer() in
DesktopCapturer are allowed to return nullptr when capturer cannot be
initialized for some reason. CreateWindowCapturer() and
CreateScreenCapturer() in DesktopCapturer were not handling this case
correctly, which may lead to crash.

BUG=chromium:702745

Review-Url: https://codereview.webrtc.org/2754403002
Cr-Commit-Position: refs/heads/master@{#17298}
2017-03-17 22:33:27 +00:00
5f54419ae5 Revert of Don't set the priority of the decoder to 'high' on Android. (patchset #1 id:1 of https://codereview.webrtc.org/2745813003/ )
Reason for revert:
Reverting this as it had no effect.

Original issue's description:
> Don't set the priority of the decoder to 'high' on Android.
> Doing so competes with the actual decoding that happens on a different thread.
>
> BUG=695438
>
> Review-Url: https://codereview.webrtc.org/2745813003
> Cr-Commit-Position: refs/heads/master@{#17184}
> Committed: ca37cf6691

TBR=stefan@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=695438

Review-Url: https://codereview.webrtc.org/2757733005
Cr-Commit-Position: refs/heads/master@{#17297}
2017-03-17 18:54:25 +00:00
68b5df97c7 Add video codec setting to AppRTCMobile on iOS.
List items in settings menu no longer stay selected. Checkmarks are now
added to the selected options before the view appears.

BUG=webrtc:7316
TBR=denicija

Review-Url: https://codereview.webrtc.org/2735303004
Cr-Commit-Position: refs/heads/master@{#17296}
2017-03-17 16:01:59 +00:00
533aedc492 Delete unused test code in modules/video_coding/test/
BUG=none

Review-Url: https://codereview.webrtc.org/2748183006
Cr-Commit-Position: refs/heads/master@{#17295}
2017-03-17 15:11:11 +00:00