Commit Graph

23059 Commits

Author SHA1 Message Date
57900cb933 Roll chromium_revision 6df2efa531..79cbcdf6fb (572277:572378)
Change log: 6df2efa531..79cbcdf6fb
Full diff: 6df2efa531..79cbcdf6fb

Changed dependencies:
* src/base: 7ffd231167..b321921624
* src/build: 798d88a968..91b88ae14f
* src/ios: bbb1a1380e..9615de8dfb
* src/testing: c2d62722b5..b3ea40231d
* src/third_party: 2ed97d2760..3b7f89fc9f
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/9f46241c6c..10e0a3798e
* src/third_party/libvpx/source/libvpx: 583859d739..03abd2c8f3
* src/tools: 62a39dba9a..fec28f646d
DEPS diff: 6df2efa531..79cbcdf6fb/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,marpan@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: I7042e8b3b43cec65b7d5626a7945102d7407fb32
Reviewed-on: https://webrtc-review.googlesource.com/87040
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23827}
2018-07-03 23:09:20 +00:00
43745937a8 Adding shampson (me) as an owner to pc/ & api/.
With deadbeef removed from these OWNERS files, Steve is the only OWNER
on our team. I'm adding myself, because I have worked in these
directories and it makes sense to be able to distribute the code
reviews.

NOTRY=True

Bug: None
Change-Id: I48e88a07ee42254d937391f500f273656853d98b
Reviewed-on: https://webrtc-review.googlesource.com/86980
Commit-Queue: Steve Anton <steveanton@webrtc.org>
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23826}
2018-07-03 20:39:17 +00:00
defa7a8049 NetEq: Handle nested RED packets
This CL makes NetEq handle nested RED packets without crashing. Nested
RED packets mean that the block PT (see
https://tools.ietf.org/html/rfc2198.html#section-3) in the RED packet
is also set to the RED PT. This implies a nested RED packet, which is
not supported. Instead, all payloads in a RED packet that have the RED
PT will be discarded.

Bug: chromium:851662
Change-Id: I86ec257e60fb8076e3574ac5a4a1ca50196f6b34
Reviewed-on: https://webrtc-review.googlesource.com/86824
Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org>
Reviewed-by: Ivo Creusen <ivoc@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23825}
2018-07-03 20:27:57 +00:00
ec20710250 Adding ICE configurations to the PC perf test.
This adds multiple ICE configurations to the PeerConnection ramp up
performance test. The configurations added are:
-TLS TURN
-UDP TURN
-UDP peer to peer
-TCP peer to peer

Bug: webrtc:7668
Change-Id: If110d99e4d83b56ac093a1e43956292f1916a1bf
Reviewed-on: https://webrtc-review.googlesource.com/85140
Reviewed-by: Zhi Huang <zhihuang@webrtc.org>
Reviewed-by: Qingsi Wang <qingsi@webrtc.org>
Reviewed-by: Taylor (left Google) <deadbeef@webrtc.org>
Commit-Queue: Seth Hampson <shampson@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23824}
2018-07-03 19:45:27 +00:00
c5762130a1 Roll chromium_revision ce19c6d80b..6df2efa531 (572160:572277)
Change log: ce19c6d80b..6df2efa531
Full diff: ce19c6d80b..6df2efa531

Changed dependencies:
* src/base: 372f1b7ce6..7ffd231167
* src/build: 7ac293430b..798d88a968
* src/ios: c3c2c951d7..bbb1a1380e
* src/testing: 408bbbaa8a..c2d62722b5
* src/third_party: e808c54bee..2ed97d2760
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/cbfa46069e..9f46241c6c
* src/third_party/harfbuzz-ng/src: 957e775663..2cb075fe26
* src/tools: 57c608d921..62a39dba9a
DEPS diff: ce19c6d80b..6df2efa531/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: Ib7317fac60a2b6df9132e0d7f51faf768b1c4d03
Reviewed-on: https://webrtc-review.googlesource.com/86924
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23823}
2018-07-03 18:14:24 +00:00
13171bdba8 Adds debug printing for congestion controllers.
These are useful for plotting creating data files that can be used to
visualize and debug congestion controller behavior.

Bug: webrtc:9467
Change-Id: I75b03a309b4b7d562fefe82a828ae1e6a9f069c8
Reviewed-on: https://webrtc-review.googlesource.com/86126
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23822}
2018-07-03 17:00:24 +00:00
d000b0a32e Move RTC_CHECK_OP error message construction out of header file.
This simplifies the logic, prevents emitting code for every pair of
argument types to RTC_CHECK_OP and partially unblocks removing streams from
the check code altogether.

Bug: webrtc:8982
Change-Id: Ib6652ac9a342e4471c12574a79872833cc943407
Reviewed-on: https://webrtc-review.googlesource.com/86544
Commit-Queue: Jonas Olsson <jonasolsson@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23821}
2018-07-03 15:21:13 +00:00
588527b295 Add sprang@ as owner for simulcast.cc/h
The previous attempt caused issues:
https://webrtc-review.googlesource.com/c/src/+/86900

Let's try it with a separate file instead.

Bug: None
Change-Id: I57dc4dceca1ea4b73003d4202e9b75ee469e5adc
Reviewed-on: https://webrtc-review.googlesource.com/86940
Commit-Queue: Erik Språng <sprang@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23820}
2018-07-03 15:00:33 +00:00
23f71a8144 Remove usage of //build/config/clang:extra_warnings.
Bug: webrtc:9251
Change-Id: I13522eafff1a4d6a9fe909c305efa0e4581a56c7
Reviewed-on: https://webrtc-review.googlesource.com/86880
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23819}
2018-07-03 12:35:49 +00:00
3bc977a420 Revert "Add sprang@ as owner of simulcast.cc/h"
This reverts commit 91fc422d0884da7b2b64549791b043258d7c5555.

Reason for revert:
owners.SyntaxErrorInOwnersFile: /b/s/w/ir/cache/builder/presubmit/src/media/OWNERS:11 syntax error: per-file globs cannot span directories or use escapes: "per-file engine/simulcast*=sprang@webrtc.org"

Original change's description:
> Add sprang@ as owner of simulcast.cc/h
> 
> Bug: None
> Change-Id: I41817d76726f526afcde5c934abd1f401b180a3c
> Reviewed-on: https://webrtc-review.googlesource.com/86682
> Reviewed-by: Stefan Holmer <stefan@webrtc.org>
> Commit-Queue: Erik Språng <sprang@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#23812}

TBR=sprang@webrtc.org,stefan@webrtc.org

Change-Id: Ia95e48769c4c2c81b3e3758038c8bfcb8c352589
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: None
Reviewed-on: https://webrtc-review.googlesource.com/86900
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23818}
2018-07-03 11:55:00 +00:00
e40b437401 Discard frame self-dependency when parsing genric frame descriptor
Bug: chromium:859281
Change-Id: Ieb96f633a93f4f2e498bb1949339e239184bce9d
Reviewed-on: https://webrtc-review.googlesource.com/86545
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Reviewed-by: Alex Loiko <aleloi@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23817}
2018-07-03 10:28:05 +00:00
a436bb4a99 Roll chromium_revision f6935ecdd2..ce19c6d80b (572058:572160)
Change log: f6935ecdd2..ce19c6d80b
Full diff: f6935ecdd2..ce19c6d80b

Changed dependencies:
* src/base: acf85db8da..372f1b7ce6
* src/ios: 39abda7785..c3c2c951d7
* src/testing: c03efa3c5e..408bbbaa8a
* src/third_party: 3f1a8b2a7f..e808c54bee
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/153acbd707..cbfa46069e
* src/third_party/depot_tools: 605dd3126a..5484b866dc
* src/tools: 916b90567c..57c608d921
DEPS diff: f6935ecdd2..ce19c6d80b/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: I944a967d227fd9e4578559c14b3c798f2102473b
Reviewed-on: https://webrtc-review.googlesource.com/86809
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23816}
2018-07-03 10:09:25 +00:00
46f858a626 Fix fuzzer-found overflow in AGC1
Much like https://bugs.chromium.org/p/chromium/issues/detail?id=855900,
the int32 gain table isn't always small enough for plain multiplication
with an int16.

This appears fixable through regular fixed-point arithmetic (multiply
out[i][n] by integer and fractional part of gain separately), but it's
less readable.

Bug: chromium:858989
Change-Id: Ie5aac25fd0cca4e51858cba69bde06c54a5d31bf
Reviewed-on: https://webrtc-review.googlesource.com/86602
Reviewed-by: Alex Loiko <aleloi@webrtc.org>
Commit-Queue: Sam Zackrisson <saza@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23815}
2018-07-03 09:56:34 +00:00
a8eb1e619e roll_deps: Accept any prefix (like 'git_revision:'), not only 'version:' for CIPD
`gclient setdep` was changed in https://chromium-review.googlesource.com/1123940
to support any prefix as well, but note that that was a backwards incompatible
change, because it now requires the prefix to be passed. So we just stop stripping
the prefix in this CL.

Also clarify the error when a CIPD dep is present in WebRTC and missing in Chromium.

No-Try: True
TBR: phoglund@webrtc.org
Bug: webrtc:9470, chromium:858978
Change-Id: I5e42bbda04db37a628a0ac1de69667b9a30dd793
Reviewed-on: https://webrtc-review.googlesource.com/86280
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23814}
2018-07-03 09:41:53 +00:00
a3b6601c9b Make ReceiveSendsFromThread use Dispatch
The ReceiveSendsFromThread function calls the OnMessage function.
However, instead we should be calling the Dispatch function which does the same thing as the OnMessage function except that it also does additional logging.
This logging is being missed for the cases where we call functions on a thread using the Invoke function.
Calling Dispatch fixes the issue and makes sure that this code path is consistent with other paths of posting to a thread like Post function which goes through Dispatch ultimately.

Bug: None
Change-Id: I75a5c8b464226cf4de60a3d19dff48f9e6197cca
Reviewed-on: https://webrtc-review.googlesource.com/85885
Reviewed-by: Tommi <tommi@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Tommi <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23813}
2018-07-03 09:09:43 +00:00
91fc422d08 Add sprang@ as owner of simulcast.cc/h
Bug: None
Change-Id: I41817d76726f526afcde5c934abd1f401b180a3c
Reviewed-on: https://webrtc-review.googlesource.com/86682
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Commit-Queue: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23812}
2018-07-03 07:28:03 +00:00
b8926b05c2 Roll chromium_revision a1981d69db..f6935ecdd2 (571936:572058)
Change log: a1981d69db..f6935ecdd2
Full diff: a1981d69db..f6935ecdd2

Changed dependencies:
* src/base: 21429bcfa1..acf85db8da
* src/ios: c07ee7f40e..39abda7785
* src/testing: 1764a90c9d..c03efa3c5e
* src/third_party: c19717098e..3f1a8b2a7f
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/3836c556c4..153acbd707
* src/third_party/depot_tools: 621c9d28c3..605dd3126a
* src/tools: 79432e6c3f..916b90567c
DEPS diff: a1981d69db..f6935ecdd2/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: I9625bb5206fd6ddb0ecfb69d1e6b2032ea604e76
Reviewed-on: https://webrtc-review.googlesource.com/86800
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23811}
2018-07-03 01:11:03 +00:00
98badbcd9f Add VP9 profile negotiation to SDP
This CL adds VP9 profile information in SDP. It adds the necessary fields and
enums to codec containers.

Additional profiles will be followed.

Bug: webrtc:9376
Change-Id: I78574714f06f8087262a71dd64c01f31a229dd54
Reviewed-on: https://webrtc-review.googlesource.com/81960
Reviewed-by: Taylor (left Google) <deadbeef@webrtc.org>
Reviewed-by: Niklas Enbom <niklas.enbom@webrtc.org>
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Emircan Uysaler <emircan@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23810}
2018-07-02 23:38:41 +00:00
0ea751539e Fix a bug in TurnServer that causes flakiness in webrtc_perf_tests.
When a TCP TURN port is destroyed, a TURN refresh request with zero
lifetime is first sent to release the TURN allocation at the server,
and the underlying TCP connection is closed afterwards.

The closing of the TCP connection is handled first by the
VirtualSocketServer in our test infrastructure, and the corresponding
server socket is asynchronously destroyed at the TURN server. The
refresh request is however still passed to this server socket and
further signaled to the TURN server, which fails a DCHECK. The
server implementation should disable any firing of signals from a
server socket to be destroyed.

The bug id is set to None since this is a one-liner CL.

TBR=pthatcher@webrtc.org

Bug: None
Change-Id: Ib457b3800511a322ef69d67c71f2de05f3d67967
Reviewed-on: https://webrtc-review.googlesource.com/86501
Reviewed-by: Qingsi Wang <qingsi@webrtc.org>
Reviewed-by: Seth Hampson <shampson@webrtc.org>
Commit-Queue: Qingsi Wang <qingsi@google.com>
Cr-Commit-Position: refs/heads/master@{#23809}
2018-07-02 18:51:23 +00:00
312466a204 Roll chromium_revision c20726850b..a1981d69db (571826:571936)
Change log: c20726850b..a1981d69db
Full diff: c20726850b..a1981d69db

Changed dependencies:
* src/base: 0d31d15d4c..21429bcfa1
* src/build: 213a0e3999..7ac293430b
* src/ios: e7915b2a8e..c07ee7f40e
* src/testing: 20f36f2392..1764a90c9d
* src/third_party: fc2824c48d..c19717098e
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/34f0d7e2e4..3836c556c4
* src/third_party/depot_tools: 024a331759..621c9d28c3
* src/tools: 0935834c72..79432e6c3f
DEPS diff: c20726850b..a1981d69db/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: I3d654931c2b8217e739c18c06f696fed1e44f10b
Reviewed-on: https://webrtc-review.googlesource.com/86662
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23808}
2018-07-02 18:11:51 +00:00
9f1de69008 Add ADAPTER_TYPE_ANY in AdapterType.
ADAPTER_TYPE_ANY can be used to set the network ignore mask if an
application does not want candidates from the any address ports, the
underlying network interface types of which are not determined in
gathering. The ADAPTER_TYPE_ANY is also given the maximum network cost
so that when there are candidates from explicit network interfaces,
these candidates from the any address ports as backups, if they ever
surface, are not preferred if the other candidates have at least the
same network condition.

Bug: webrtc:9468
Change-Id: I20c3a40e9a75b8fb34fad741ba5f835ecc3b0d92
Reviewed-on: https://webrtc-review.googlesource.com/85880
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Reviewed-by: Tommi <tommi@webrtc.org>
Commit-Queue: Qingsi Wang <qingsi@google.com>
Cr-Commit-Position: refs/heads/master@{#23807}
2018-07-02 17:59:11 +00:00
6b33e60213 In ULP FEC fuzzer test, make sure sequence number is not the same as previous sequence number.
Bug: chromium:859265
Change-Id: I9acb9a177dfed3830ead0ba5a16ee4310f4d2b5b
Reviewed-on: https://webrtc-review.googlesource.com/86547
Commit-Queue: Ying Wang <yinwa@webrtc.org>
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23806}
2018-07-02 15:51:10 +00:00
4d01146f16 Prepare AGC2 for analog gain changes.
1. Adds support for Reset calls in AGC2. The AGC will be reset during
   analog gain changes.
2. Allows AdaptiveModeLevelEstimator to return estimates > 0. This can
   happen if the signal gain is too high. It's needed for letting the
   analog AGC know that the gain is too high.

Bug: webrtc:7494
Change-Id: I38def17c21cc01c36aaea79a2401d8c2f289407b
Reviewed-on: https://webrtc-review.googlesource.com/79360
Commit-Queue: Alex Loiko <aleloi@webrtc.org>
Reviewed-by: Ivo Creusen <ivoc@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23805}
2018-07-02 15:25:49 +00:00
5afa61cf15 NetEq: Fold GetDecisionSpecialized into GetDecision
Now that there is only one implementation of the decision logic, there
is no longer any need to have GetDecisionSpecialized being separate.

Bug: webrtc:9421
Change-Id: Id364ce09ac05d106652d749502058056f11bba27
Reviewed-on: https://webrtc-review.googlesource.com/86604
Reviewed-by: Ivo Creusen <ivoc@webrtc.org>
Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23804}
2018-07-02 14:51:09 +00:00
9f2e624024 Break out NetEqEventLogInput to separate source files
Building NetEqEventLogInput requires protobuf support, while building
NetEqRtpDumpInput located in the same file does not. This makes both
classes unusable when protobuf support is lacking. With this CL, the
NetEqEventLogInput is broken out into separate files, to allow usage
of NetEqRtpDumpInput even when protobufs are not supported.

Bug: webrtc:9421
Change-Id: I55efec4ec259713654566cdaa00d2e34c5e9a60f
Reviewed-on: https://webrtc-review.googlesource.com/84587
Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org>
Reviewed-by: Ivo Creusen <ivoc@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23803}
2018-07-02 14:15:29 +00:00
64cb83bbd9 Flags and settings for AGC2 in AgcManagerDirect.
This CL adds two flags to audioproc_f. The flags control
AgcManagerDirect. The flags are
'--experimental_agc_agc2_level_estimator' and
'--experimental_agc_agc2_digital_adaptive'.

After this CL, the flags are be applied to AgcManagerDirect. The flags
have no effect in release-mode. They cause a crash in debug-mode.

In an upcoming CL, '--experimental_agc_agc2_level_estimator 1' will
replace the speech level estimation in ExperimentalAgc with that of
AGC2.

'--experimental_agc_agc2_digital_adaptive 1' will replace the digital
gain selection and application with that of AGC2.

These audioproc_f will activate both new settings:

./out/Target/audioproc_f --agc 1 --experimental_agc 1
--experimental_agc_agc2_digital_adaptive 1
--experimental_agc_agc2_level_estimator 1 --simulate_mic_gain 1
--simulated_mic_kind 2

See also https://webrtc-review.googlesource.com/c/src/+/79360

Bug: webrtc:7494
Change-Id: If0e65893dffdddb312e553787b8cedaf9a334323
Reviewed-on: https://webrtc-review.googlesource.com/86548
Commit-Queue: Alex Loiko <aleloi@webrtc.org>
Reviewed-by: Alessio Bazzica <alessiob@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23802}
2018-07-02 13:20:39 +00:00
5c71e74331 Add AGC1-compliant fake recording device.
The AGC submodule of APM changes analog gain. These gain changes are
typically ignored by the test tool audioproc_f.

There is an option of the test tool to take action on the gain
changes.  It's the '--simulate_mic_gain' option. The option converts
the analog gain to a digital gain. The digital gain is applied to the
capture stream.

This change adds a new simulated microphone kind. The new microphone
has a gain curve defined by
modules/audio_processing/agc/gain_map_internal.h. That gain curve
defines how AGC1 expects a microphone to behave.

Bug: webrtc:7494
Change-Id: Ifb3f54a8c6f8c001a711fa977f39f32413069780
Reviewed-on: https://webrtc-review.googlesource.com/86128
Commit-Queue: Alex Loiko <aleloi@webrtc.org>
Reviewed-by: Sam Zackrisson <saza@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23801}
2018-07-02 12:29:36 +00:00
c167673c4d Add more ApmDataDumper dumps to AGC.
We dump the compression level from AgcManagerDirect.

We use the same names and structure as in
GainControlForExperimentalAgc.

This is to get Apm dump file names to match in the upcoming AGC
changes: https://webrtc-review.googlesource.com/c/src/+/79360

TBR: alessiob@webrtc.org
Bug: webrtc:7494
Change-Id: I1e6260ea48ffc43f709e4b0c97f843ad9c3d1824
Reviewed-on: https://webrtc-review.googlesource.com/86546
Reviewed-by: Alex Loiko <aleloi@webrtc.org>
Commit-Queue: Alex Loiko <aleloi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23800}
2018-07-02 11:00:13 +00:00
7687ad58b2 Reland "NetEq: Deprecate playout modes Fax, Off and Streaming"
This is a reland of 80c4cca4915dbc6094a5bfae749f85f7371eadd1

Original change's description:
> NetEq: Deprecate playout modes Fax, Off and Streaming
> 
> The playout modes other than Normal have not been reachable for a long
> time, other than through tests. It is time to deprecate them.
> 
> The only meaningful use was that Fax mode was sometimes set from
> tests, in order to avoid time-stretching operations (accelerate and
> pre-emptive expand) from messing with the test results. With this CL,
> a new config is added instead, which lets the user specify exactly
> this: don't do time-stretching.
> 
> As a result of Fax and Off modes being removed, the following code
> clean-up was done:
> - Fold DecisionLogicNormal into DecisionLogic.
> - Remove AudioRepetition and AlternativePlc operations, since they can
>   no longer be reached.
> 
> Bug: webrtc:9421
> Change-Id: I651458e9c1931a99f3b07e242817d303bac119df
> Reviewed-on: https://webrtc-review.googlesource.com/84123
> Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org>
> Reviewed-by: Ivo Creusen <ivoc@webrtc.org>
> Reviewed-by: Minyue Li <minyue@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#23704}

Bug: webrtc:9421
Change-Id: Ice351b635788167f2971b26470f73a5e5fa1a240
Reviewed-on: https://webrtc-review.googlesource.com/86543
Reviewed-by: Ivo Creusen <ivoc@webrtc.org>
Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23799}
2018-07-02 10:20:33 +00:00
04b18cb365 Removes redundant delay based bwe.
This removes the legacy DelayBasedBwe to reduce code redundancy and
avoid the risk of applying changes on only one version.

Bug: webrtc:8415
Change-Id: I88aba03adbb77ee0ff0a97a8b3be6ddf028af48a
Reviewed-on: https://webrtc-review.googlesource.com/85364
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23798}
2018-07-02 09:11:33 +00:00
e0eda662ef Adding alessiob@ and minyue@ as owners of APM.
NOTRY=True

Bug: None
Change-Id: I690140661cf09e505a4e9e874912f05d83f14dcd
Reviewed-on: https://webrtc-review.googlesource.com/85284
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Commit-Queue: Alessio Bazzica <alessiob@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23797}
2018-07-02 07:45:31 +00:00
fceaca3233 Roll chromium_revision f06b8215fe..c20726850b (571725:571826)
Change log: f06b8215fe..c20726850b
Full diff: f06b8215fe..c20726850b

Changed dependencies:
* src/base: 05a0132eb3..0d31d15d4c
* src/build: b79f5b50ec..213a0e3999
* src/testing: f7b8fb322b..20f36f2392
* src/third_party: c59f378278..fc2824c48d
* src/third_party/depot_tools: d4c2a87998..024a331759
* src/tools: c468102a6f..0935834c72
DEPS diff: f06b8215fe..c20726850b/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: Ibd9198711785229b820c15d2c9f1914f7079e74c
Reviewed-on: https://webrtc-review.googlesource.com/86575
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23796}
2018-07-02 07:07:00 +00:00
dc99e244ca Removing deadbeef@ from OWNERS files.
Since I'm leaving Google.

Bug: None
Notry: True
Change-Id: Ibb5c3e09fce007d149200dcb6cac74be53084764
Reviewed-on: https://webrtc-review.googlesource.com/86461
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23795}
2018-07-02 00:40:38 +00:00
5a482847e9 Roll chromium_revision 810d8218ca..f06b8215fe (571617:571725)
Change log: 810d8218ca..f06b8215fe
Full diff: 810d8218ca..f06b8215fe

Changed dependencies:
* src/base: fe70ab13e4..05a0132eb3
* src/buildtools: aec56e2607..0dd5c6f980
* src/ios: df92b7461a..e7915b2a8e
* src/testing: a70a01c4a1..f7b8fb322b
* src/third_party: 500196de14..c59f378278
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/f76f0b4406..34f0d7e2e4
* src/third_party/depot_tools: a4dec94a1a..d4c2a87998
* src/tools: e4cbb07d3c..c468102a6f
DEPS diff: 810d8218ca..f06b8215fe/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: I074d799aac0cf23fa8ff22423c375a62d7dd406a
Reviewed-on: https://webrtc-review.googlesource.com/86500
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23794}
2018-06-30 01:08:07 +00:00
20b4b0dcf0 Roll chromium_revision a714568fbe..810d8218ca (571512:571617)
Change log: a714568fbe..810d8218ca
Full diff: a714568fbe..810d8218ca

Changed dependencies:
* src/base: 8c01d4ef25..fe70ab13e4
* src/build: 06960ce32c..b79f5b50ec
* src/ios: dc2780aff3..df92b7461a
* src/testing: 5e63b2909b..a70a01c4a1
* src/third_party: 42df0ae52f..500196de14
* src/third_party/depot_tools: 406de133ef..a4dec94a1a
* src/tools: 0597286f57..e4cbb07d3c
DEPS diff: a714568fbe..810d8218ca/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: I2506d375debf94de8039352eb83749d986119564
Reviewed-on: https://webrtc-review.googlesource.com/86420
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23793}
2018-06-29 21:14:05 +00:00
cf5de1da07 Roll chromium_revision a88423acf9..a714568fbe (571410:571512)
Change log: a88423acf9..a714568fbe
Full diff: a88423acf9..a714568fbe

Changed dependencies:
* src/base: 311c937b26..8c01d4ef25
* src/build: c9333f9faf..06960ce32c
* src/buildtools: 9c9fd97928..aec56e2607
* src/ios: 34302909a8..dc2780aff3
* src/testing: b47e929d27..5e63b2909b
* src/third_party: b77d94a9b3..42df0ae52f
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/e2d6bbca62..f76f0b4406
* src/third_party/depot_tools: ae1f03388f..406de133ef
* src/tools: 6ff0d88db8..0597286f57
DEPS diff: a88423acf9..a714568fbe/DEPS

Clang version changed 335608:335864
Details: a88423acf9..a714568fbe/tools/clang/scripts/update.py

TBR=buildbot@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: I85ce46b41d6cd2302fef17a86025e4b5eb913a8b
Reviewed-on: https://webrtc-review.googlesource.com/86380
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23792}
2018-06-29 17:20:14 +00:00
f9f49a323c Removes redundant AlrDetector.
This replaces the old AlrDetector used by the pacer with the one in
GoogCC. This reduces the risk of accidentally changing only one version.

Note that the pacer instance will be removed when moving over to the
task queue based send side congestion controller.

Bug: webrtc:8415
Change-Id: Id4b2000ee5a04b94565092c29a84572a7750d2f5
Reviewed-on: https://webrtc-review.googlesource.com/85363
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23791}
2018-06-29 16:28:04 +00:00
f222d2823d Adds srte@webrtc.org as modules/pacing/ OWNER.
Bug: webrtc:8415
Change-Id: I5ef199825dbb061ae91baa7f8781238433d72d67
Reviewed-on: https://webrtc-review.googlesource.com/86129
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23790}
2018-06-29 15:25:24 +00:00
2e79d2b398 AEC3: Misadjustment estimator of the linear filter.
In this work the performance of the linear filter is
estimated. The estimation aims at capture situations when the linear
filter is largely over-estimating the echo. In those circumstances,
the linear filter is scaled with the purpose of accelerating its
convergence.

Change-Id: I05ea3739d82838a6f08673432da92125c47943e0
Bug: webrtc:9466,chromium:857426
Reviewed-on: https://webrtc-review.googlesource.com/86133
Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org>
Commit-Queue: Jesus de Vicente Pena <devicentepena@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23789}
2018-06-29 15:05:14 +00:00
916ec7dadf Add Generic frame descritpor header extension
to list of extensions supported by RtpPacket.

Bug: webrtc:9361
Change-Id: Iabee824381be3776e17e95f32507058607fc0bc8
Reviewed-on: https://webrtc-review.googlesource.com/85346
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Reviewed-by: Alex Loiko <aleloi@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23788}
2018-06-29 15:02:44 +00:00
deee55b3d5 Calculate all audio samples in AudioMixerCalculateEnergy.
Bug: None
Change-Id: I1478bc6348f11d81a896a48007bc08228f4a5586
Reviewed-on: https://webrtc-review.googlesource.com/82880
Reviewed-by: Alex Loiko <aleloi@webrtc.org>
Commit-Queue: Alex Loiko <aleloi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23787}
2018-06-29 14:47:13 +00:00
4c77dcd0cb Turn rtc::{Make,Wrap}Unique into aliases for their Abseil counterparts
We don't want to maintain our own versions. This CL is step one in
getting rid of them.

Bug: webrtc:9473
Change-Id: Ib8a54288509f4768b482367b738224869a5af559
Reviewed-on: https://webrtc-review.googlesource.com/86282
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23786}
2018-06-29 13:48:33 +00:00
425193b4a9 Revert "Unit test for case where the number of active and configured spatial"
This reverts commit 5eb6045ce5754ce815929c54dd27ab0bf3ae62ba.

Reason for revert: Test breaks downstream.

Original change's description:
> Unit test for case where the number of active and configured spatial
> layers differ.
> 
> Bug: webrtc:9472
> Change-Id: I5cf292a12d73777ca0fd5771eb1a4756626f640c
> Reviewed-on: https://webrtc-review.googlesource.com/85644
> Reviewed-by: Sergey Silkin <ssilkin@webrtc.org>
> Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
> Commit-Queue: Michael Horowitz <mhoro@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#23782}

TBR=brandtr@webrtc.org,ssilkin@webrtc.org,mhoro@webrtc.org

Change-Id: Ib97cdb127e79ee969f7cb3f931cb7bd533f13af0
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:9472
Reviewed-on: https://webrtc-review.googlesource.com/86320
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23785}
2018-06-29 12:01:38 +00:00
7a29426142 Detach audio devices from thread on terminate.
To allow the AudioDeviceModule to be reinitialized on a different thread
after termination, detach AudioDeviceModule and the input/output devices
when Terminate is called. Also destroy the AudioDeviceBuffer.

Bug: webrtc:7452
Change-Id: I50ef77c531f33d4efa0567d0475dd8280337bed9
Reviewed-on: https://webrtc-review.googlesource.com/86127
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Commit-Queue: Paulina Hensman <phensman@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23784}
2018-06-29 12:00:17 +00:00
43d0b98fe5 Clean up RateControlInput struct, used by bandwidth estimation.
Remove unused member noise_var from RateControlInput struct.

Rename incoming_bitrate to estimated_throughput_bps to reflect
that the AimdRateControl may be running on either the send side
or the receive side.

Bug: webrtc:9411
Change-Id: Ie1ae0c29dc9559ef389993144e69fcd41684f1a4
Reviewed-on: https://webrtc-review.googlesource.com/83728
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Reviewed-by: Anastasia Koloskova <koloskova@webrtc.org>
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23783}
2018-06-29 10:47:37 +00:00
5eb6045ce5 Unit test for case where the number of active and configured spatial
layers differ.

Bug: webrtc:9472
Change-Id: I5cf292a12d73777ca0fd5771eb1a4756626f640c
Reviewed-on: https://webrtc-review.googlesource.com/85644
Reviewed-by: Sergey Silkin <ssilkin@webrtc.org>
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Commit-Queue: Michael Horowitz <mhoro@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23782}
2018-06-29 10:38:57 +00:00
4236991952 Set gtest_enable_absl_printers to true.
Starting from [1], gtest can pretty print absl types. In order to
enable the feature WebRTC has to set gtest_enable_absl_printers to true
in the .gn file.

[1] - https://chromium-review.googlesource.com/c/chromium/src/+/1027711

Bug: None
Change-Id: I74eb9a48c361f1523dd8d45510297e101a4d14cd
Reviewed-on: https://webrtc-review.googlesource.com/85345
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23781}
2018-06-29 09:36:17 +00:00
a91decab4f Implement PacketDuration() for FakeDecoderFromFile.
Bug: None
Change-Id: Ie4ab1ce737608706f12f298f793f76571805ca91
Reviewed-on: https://webrtc-review.googlesource.com/86160
Reviewed-by: Ivo Creusen <ivoc@webrtc.org>
Commit-Queue: Minyue Li <minyue@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23780}
2018-06-29 08:32:36 +00:00
c54f706993 Roll chromium_revision ecf8a6133e..a88423acf9 (569618:571410)
Change log: ecf8a6133e..a88423acf9
Full diff: ecf8a6133e..a88423acf9

Changed dependencies:
* src/base: f7595e419a..311c937b26
* src/build: 69593eb8fa..c9333f9faf
* src/buildtools: 5941c1b3df..9c9fd97928
* src/ios: 181b18c878..34302909a8
* src/testing: 8354b28f74..b47e929d27
* src/third_party: 46683344d7..b77d94a9b3
* src/third_party/android_tools: https://chromium.googlesource.com/android_tools.git/+log/3545ab5b98..130499e252
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/6ff2ba80b7..fec83fc78d
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/87eefd4f11..e2d6bbca62
* src/third_party/depot_tools: c5a26a769e..ae1f03388f
* src/third_party/freetype/src: 7915fd51f1..a632fb547e
* src/third_party/libvpx/source/libvpx: 8648a64c83..583859d739
* src/third_party/libyuv: bc383e76d6..4d67b3e851
* src/third_party/r8: 1.0.30..1.2.28-cr0
* src/third_party/usrsctp/usrsctplib: 159d060dce..7a8bc9a90c
* src/tools: 592ddd1d14..6ff0d88db8
DEPS diff: ecf8a6133e..a88423acf9/DEPS

Clang version changed 334100:335608
Details: ecf8a6133e..a88423acf9/tools/clang/scripts/update.py

TBR=buildbot@webrtc.org,marpan@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: If3229d875265bca1bffffd01a793098ad2106f9f
Reviewed-on: https://webrtc-review.googlesource.com/86240
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23779}
2018-06-29 07:33:16 +00:00
e19a4e115f Revert "Pull GN via CIPD package."
This reverts commit 77cc8182aef6ec97ecd4c115fae5de4f511efa57.

Reason for revert: Breaks DEPS Auto-roller.

Original change's description:
> Pull GN via CIPD package.
> 
> The gn binary will be downloaded into third_party/gn.
> 
> The part about gn_win will be true only after the buildtools_revision
> will be updated by the Chromium roll.
> 
> This CL has been copied from https://chromium-review.googlesource.com/c/chromium/src/+/1117264/9/DEPS.
> 
> Bug: None
> Change-Id: I3fee1d9f6c39e508871798eeeb60d74ab7bc41d1
> Reviewed-on: https://webrtc-review.googlesource.com/86123
> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
> Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#23765}

TBR=mbonadei@webrtc.org,oprypin@webrtc.org

Change-Id: I660196e48a626e87ec5ed722b2a169620494d74c
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: None
Reviewed-on: https://webrtc-review.googlesource.com/86220
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23778}
2018-06-29 06:31:48 +00:00