Commit Graph

22706 Commits

Author SHA1 Message Date
7dcca4b9ed Limit inter-layer prediction to key pictures.
This unconditionally limits usage of VP9 SVC inter-layer prediction to
frames of key picture.

Ideally we would like to let an application to configure SVC options.
But currently there is no API for this.

Bug: none
Change-Id: I21a84dafc946be122514d5b6bf327b65251f1115
Reviewed-on: https://webrtc-review.googlesource.com/76640
Commit-Queue: Sergey Silkin <ssilkin@webrtc.org>
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23224}
2018-05-15 06:16:00 +00:00
1d4526039c Roll chromium_revision 3dc058abd9..a7f5d9dfea (558478:558593)
Change log: 3dc058abd9..a7f5d9dfea
Full diff: 3dc058abd9..a7f5d9dfea

Roll chromium third_party 257f2e30a3..31b8b36840
Change log: 257f2e30a3..31b8b36840

Changed dependencies:
* src/base: 2711aa7a26..fa869fa59b
* src/build: c5b7918c1b..f7d99e7a2f
* src/ios: 0cfd7f5c39..cac093c4fd
* src/testing: 6084f9bd41..32c183fef6
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/a67f1510e7..dd13313c34
* src/tools: 1975b1c78c..083aa0e99c
DEPS diff: 3dc058abd9..a7f5d9dfea/DEPS

No update to Clang.

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

Change-Id: I8096b5d75b2c029af1f0b4480d0add41da40ff0c
Reviewed-on: https://webrtc-review.googlesource.com/76684
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23223}
2018-05-15 03:15:19 +00:00
d23c6590dd Roll chromium_revision f7f609d28c..3dc058abd9 (558320:558478)
Change log: f7f609d28c..3dc058abd9
Full diff: f7f609d28c..3dc058abd9

Roll chromium third_party 70ec6906a5..257f2e30a3
Change log: 70ec6906a5..257f2e30a3

Changed dependencies:
* src/base: deb9ad0180..2711aa7a26
* src/build: 27de0fa05e..c5b7918c1b
* src/ios: f1ab343a06..0cfd7f5c39
* src/testing: 81ba8e08f4..6084f9bd41
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/8e75ae4880..69271b5d4f
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/195c52dc70..a67f1510e7
* src/third_party/depot_tools: d1de725e0b..babd098f36
* src/third_party/freetype/src: 2157d8fa6f..9e345c9117
* src/tools: 9d42b89d62..1975b1c78c
DEPS diff: f7f609d28c..3dc058abd9/DEPS

No update to Clang.

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

Change-Id: I26b88ce0de10327c11ad416ab0dbd192b6993970
Reviewed-on: https://webrtc-review.googlesource.com/76511
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23222}
2018-05-14 22:39:49 +00:00
52cab50c22 Fixes thread-safety-analysis warnings for Windows ADM.
Now using attribute to ensure that we avoid error like these when bulding with -Wthread-safety-analysis:
error: mutex '_critSect' is still held at the end of function [-Werror,-Wthread-safety-analysis]

RTC_NO_THREAD_SAFETY_ANALYSIS is an attribute on functions or methods, which turns off thread safety
checking for that method. It provides an escape hatch for functions which are either
(1) deliberately thread-unsafe, or
(2) are thread-safe, but too complicated for the analysis to understand.

Bug: webrtc:9202
Change-Id: Ie332bca7eb7eb535ed965de5ddc42872c4f30602
Reviewed-on: https://webrtc-review.googlesource.com/76562
Reviewed-by: Oskar Sundbom <ossu@webrtc.org>
Commit-Queue: Henrik Andreassson <henrika@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23221}
2018-05-14 16:56:29 +00:00
858c4d70cd ArrayView, adding ctor for fixed-size views of std::array.
This CL allows to reduce the code required to create fixed-size ArrayView
objects for std::array instances. Instead of passing .data() and .size(),
it is now sufficient to pass the std::array instance. When instancing an
array view with variable size, a different ctor is called.

Bug: webrtc:9076
Change-Id: I4fe133b27cd12827ed0206d40184279fc3a196f5
Reviewed-on: https://webrtc-review.googlesource.com/76160
Commit-Queue: Alessio Bazzica <alessiob@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23220}
2018-05-14 16:22:09 +00:00
6e0c145538 Roll chromium_revision 191d55580e..f7f609d28c (557824:558320)
Change log: 191d55580e..f7f609d28c
Full diff: 191d55580e..f7f609d28c

Roll chromium third_party 3a8f2a9e1e..70ec6906a5
Change log: 3a8f2a9e1e..70ec6906a5

Changed dependencies:
* src/base: 6cb1af46fc..deb9ad0180
* src/build: c9bb242447..27de0fa05e
* src/buildtools: 0b71401b97..a9e946f166
* src/ios: 41a7632e36..f1ab343a06
* src/testing: 519bd6bd88..81ba8e08f4
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/a75468d15a..195c52dc70
* src/third_party/depot_tools: e7273d2501..d1de725e0b
* src/third_party/winsdk_samples: 601401003b..f7874f6eb6
* src/tools: f524a53b81..9d42b89d62
DEPS diff: 191d55580e..f7f609d28c/DEPS

No update to Clang.

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

Change-Id: Ib5977d73d64db73b31e8add9410c4fabced7f9b3
Reviewed-on: https://webrtc-review.googlesource.com/76504
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23219}
2018-05-14 16:14:09 +00:00
b54500ec32 VP9 SVC minimum bit rate thresholds too low for 720p
Changed minimum bit rate threshold formula to raise the minimum bit rate
at which 720p video is presented in VP9 SVC to ensure that the video
quality for VP9 SVC is the same or better than VP8 SIM.  The minimum bit
rate threshold values for lower resolutions remain largely unchanged.
Also changed maximum bit rate threshold formula to lower the maximum
bit rate for low resolutions (e.g., 180p) in order to ensure higher
frame rates when downlink bit rates are very low (e.g., < 100 kbps).

Bug: webrtc:9242
Change-Id: I8f9c76c9188b98f3fd40a608551b576b0c3b8f34
Reviewed-on: https://webrtc-review.googlesource.com/75244
Commit-Queue: Michael Horowitz <mhoro@webrtc.org>
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23218}
2018-05-14 15:48:29 +00:00
3fe981adbf Update documentation for THIRD_PARTY_DEPS; add pymock.
This should fix our python presubmit tests.

Also make Artem and Patrik own the deps file.

Bug: webrtc:9264
Change-Id: I430c56e0b12c4feac7d7cbf766eea9e304cd9a20
Reviewed-on: https://webrtc-review.googlesource.com/76421
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23217}
2018-05-14 15:13:29 +00:00
b330688ef7 Fix build errors when rtc_use_builtin_sw_codecs is set to false.
The previous effort of building WebRTC without SW codecs stopped when
libjingle_peerconnection was possible to build. In order to make the
group("default") target build, this basically updates a bunch of
tests to explicitly depend on the built-in software video codecs.

Bug: webrtc:7925
Change-Id: I2715414770c197fca01cb8dbde173a21f4434500
Reviewed-on: https://webrtc-review.googlesource.com/70503
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Commit-Queue: Anders Carlsson <andersc@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23216}
2018-05-14 13:24:29 +00:00
f55babc298 Add namespace 'webrtc' to AudioFrameView.
Mini-change: add 'webrtc' namespace. The template class AudioFrameView
got declared in the global namespace by mistake. (My fault). Now
fixing.

Bug: webrtc:9262.
Change-Id: I6f2b4ab1ccdb223505e7181b8e6f12f5f23b3684
Reviewed-on: https://webrtc-review.googlesource.com/76140
Commit-Queue: Alex Loiko <aleloi@webrtc.org>
Reviewed-by: Sam Zackrisson <saza@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23215}
2018-05-14 12:33:49 +00:00
c1a8603a00 Add video_capture_tests to isolate map
TBR: phoglund@webrtc.org
No-Try: True
Bug: chromium:755660
Change-Id: Ib2a63835e4184f6cdf2ed6ff76b78f3f818c0336
Reviewed-on: https://webrtc-review.googlesource.com/76541
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23214}
2018-05-14 12:31:59 +00:00
f61475dfcf Make unpack_aecdump optionally unpack render/capture call order
It is stored in a text file as a stream of 'r' and 'c' characters - render and capture.
This is the format output by APM with apm_debug_dump on, and it is readable by audioproc_f.

Bug: webrtc:9252
Change-Id: I01e9e104ed7e3fb45e623730343a0c2addc81d1b
Reviewed-on: https://webrtc-review.googlesource.com/75502
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Reviewed-by: Alex Loiko <aleloi@webrtc.org>
Commit-Queue: Sam Zackrisson <saza@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23213}
2018-05-14 11:52:12 +00:00
8a150d9c21 All encoders are reported as created encoders by fake encoder factory.
Fix assert that breaks on certain bots.

Bug: webrtc:9228
Change-Id: Ie28ba4a27a4ca07a6877373e41a432ee67eccb1e
Reviewed-on: https://webrtc-review.googlesource.com/76441
Commit-Queue: Anders Carlsson <andersc@webrtc.org>
Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23212}
2018-05-14 11:23:29 +00:00
43619a4f4a Revert "Moving iOS Audio Device to sdk."
This reverts commit 08da28dd60b068acf3851993eac7182a082e18bc.

Reason for revert: <INSERT REASONING HERE>

Original change's description:
> Moving iOS Audio Device to sdk.
> 
> This change forks the existing iOS audio device module and audio device
> from modules/audio_device/ into sdk/objc/Framework. It also updates
> RTCPeerConnectionFactory to use the forked implementation.
> 
> The unit tests are re-implemented as XCTests.
> 
> (was: https://webrtc-review.googlesource.com/c/src/+/67300)
> 
> Bug: webrtc:9120
> Change-Id: I07340505137b16c2dd487569ad0112f984557bba
> Reviewed-on: https://webrtc-review.googlesource.com/75125
> Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
> Commit-Queue: Peter Hanspers <peterhanspers@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#23208}

TBR=andersc@webrtc.org,kthelgason@webrtc.org,peterhanspers@webrtc.org

Change-Id: Ibbf8d53eaef386bc3033dc71e9490d5e48911fc9
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:9120
Reviewed-on: https://webrtc-review.googlesource.com/76460
Reviewed-by: Peter Hanspers <peterhanspers@webrtc.org>
Commit-Queue: Peter Hanspers <peterhanspers@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23211}
2018-05-14 10:41:20 +00:00
df3630d65d Fix retry opening camera if there is an exception during getParameters in Camera1Session
Bug: webrtc:8258
Change-Id: I27190bc57d9e80df3a40aac9e7114554289c2563
Reviewed-on: https://webrtc-review.googlesource.com/47820
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23210}
2018-05-14 10:04:49 +00:00
5f2bb62f71 Remove dependency in FakeWebRtcVideoCodecFactories.
Previously, constructing a PeerConnection or WebRtcVideoEngine with
fake encoder/decoder factories would result in the real, built-in factories
also being used. In https://webrtc-review.googlesource.com/c/src/+/71162, this
changed, so to temporarily allow tests to continue working exactly the same as
before, the fake factories started encapsulating the real factories. This CL
removes that behavior and updates the tests accordingly.

Bug: webrtc:9228
Change-Id: Ida14a1e3f5f5a0e2f03100b7895b3b1bdf0a0a42
Reviewed-on: https://webrtc-review.googlesource.com/75260
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Commit-Queue: Anders Carlsson <andersc@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23209}
2018-05-14 09:29:19 +00:00
08da28dd60 Moving iOS Audio Device to sdk.
This change forks the existing iOS audio device module and audio device
from modules/audio_device/ into sdk/objc/Framework. It also updates
RTCPeerConnectionFactory to use the forked implementation.

The unit tests are re-implemented as XCTests.

(was: https://webrtc-review.googlesource.com/c/src/+/67300)

Bug: webrtc:9120
Change-Id: I07340505137b16c2dd487569ad0112f984557bba
Reviewed-on: https://webrtc-review.googlesource.com/75125
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Commit-Queue: Peter Hanspers <peterhanspers@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23208}
2018-05-14 09:25:49 +00:00
c6ce9c5938 New file api/video/BUILD.gn
Build targets involving files under api/video/ are moved into this
file, from api/BUILD.gn. In addition, drop "_api" part of target
names, and move the header file api/videosinkinterface.h to
api/video/video_sink_interface.h.

Bug: webrtc:9253
Change-Id: I2896d3f063db8dff902bc29738578395b2fcc155
Reviewed-on: https://webrtc-review.googlesource.com/75500
Commit-Queue: Niels Moller <nisse@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23207}
2018-05-14 06:57:38 +00:00
bc0b37c08a AGC2 RNN VAD: Spectral features extraction.
This CL defines SpectralFeaturesExtractor which is responsible for
computing the spectral features used as input for the RNN.

Bug: webrtc:9076
Change-Id: I5e1396b89eca9c13bb268e8419a16436a9c3450f
Reviewed-on: https://webrtc-review.googlesource.com/73760
Commit-Queue: Alessio Bazzica <alessiob@webrtc.org>
Reviewed-by: Alex Loiko <aleloi@webrtc.org>
Reviewed-by: Ivo Creusen <ivoc@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23206}
2018-05-11 21:15:36 +00:00
739351d476 Roll chromium_revision 95336cb92b..191d55580e (557816:557824)
Change log: 95336cb92b..191d55580e
Full diff: 95336cb92b..191d55580e

Roll chromium third_party 4e16929f46..3a8f2a9e1e
Change log: 4e16929f46..3a8f2a9e1e

Changed dependencies:
* src/tools: c44a3f5eca..f524a53b81
DEPS diff: 95336cb92b..191d55580e/DEPS

No update to Clang.

TBR=titovartem@google.com,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Change-Id: Ic9c4a62b050383646e9fcf5cc07a5653c14ac06e
Reviewed-on: https://webrtc-review.googlesource.com/76120
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23205}
2018-05-11 11:17:05 +00:00
a04d140666 Remove third_party from DEPS file to prepare to check it into webrtc.
Remove third_party from DEPS and modify autoroller script to check
chromium third_party directly into webrtc repo.

Change-Id: Ib0b77fc414116babc193b2289a5e9c3256daf566
No-Presubmit: True
Bug: webrtc:8366
Reviewed-on: https://webrtc-review.googlesource.com/73801
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@google.com>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23204}
2018-05-11 09:30:12 +00:00
5c7efe7fe8 Refactor PeerConnectionIntegrationTest to not use cricket::VideoCapturer
Bug: webrtc:6353
Change-Id: Ie3f6411d8e21eaad6927c94af126213e650994ca
Reviewed-on: https://webrtc-review.googlesource.com/74587
Commit-Queue: Niels Moller <nisse@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23203}
2018-05-11 09:22:20 +00:00
c43fc20a44 Roll chromium_revision 390f99c0db..95336cb92b (557630:557816)
Change log: 390f99c0db..95336cb92b
Full diff: 390f99c0db..95336cb92b

Changed dependencies:
* src/base: b433c3ccd1..6cb1af46fc
* src/build: bd548349a0..c9bb242447
* src/ios: 34766cab67..41a7632e36
* src/testing: cefb1a19f9..519bd6bd88
* src/third_party: b3cfdb88d8..332e6754f3
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/0675e8b8e3..a75468d15a
* src/third_party/depot_tools: d3f2c8e783..e7273d2501
* src/tools: 47945085fd..c44a3f5eca
DEPS diff: 390f99c0db..95336cb92b/DEPS

No update to Clang.

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

Change-Id: Ic5048e7e01e4834d13ef81ebf6d88855bc088328
Reviewed-on: https://webrtc-review.googlesource.com/76083
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@google.com>
Cr-Commit-Position: refs/heads/master@{#23202}
2018-05-11 09:13:40 +00:00
e72ea24d88 Removing -Wno-parentheses-equality.
Bug: webrtc:9251
Change-Id: If61c33c252f3141a16bb1014706ceafeab1cdbe5
Reviewed-on: https://webrtc-review.googlesource.com/75512
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23201}
2018-05-11 08:16:50 +00:00
3cbdb78878 Add method FakePeriodicVideoSource::Stop()
Fixes potential race at test shutdown, introduced in cl
https://webrtc-review.googlesource.com/49220.

Bug: webrtc:6353
Change-Id: Ifaf9e736681b87073a489d75bf1375aa95ee92bb
Reviewed-on: https://webrtc-review.googlesource.com/75124
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23200}
2018-05-11 08:14:10 +00:00
73b36b582f Roll chromium_revision 9d7b66e9bb..390f99c0db (557514:557630)
Change log: 9d7b66e9bb..390f99c0db
Full diff: 9d7b66e9bb..390f99c0db

Changed dependencies:
* src/base: 0c405c7590..b433c3ccd1
* src/build: 1bdeddd932..bd548349a0
* src/ios: 2790cdbe0f..34766cab67
* src/testing: 90eda7fc6f..cefb1a19f9
* src/third_party: c0a852a881..b3cfdb88d8
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/4a13b64861..0675e8b8e3
* src/third_party/depot_tools: 7c3ff1311a..d3f2c8e783
* src/tools: 56a7c67683..47945085fd
DEPS diff: 9d7b66e9bb..390f99c0db/DEPS

No update to Clang.

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

Change-Id: I327803a9f399379adb710ec9240271dc95969760
Reviewed-on: https://webrtc-review.googlesource.com/75941
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23199}
2018-05-10 20:18:59 +00:00
7d86b1fa7b Roll chromium_revision 4116d5a412..9d7b66e9bb (557414:557514)
Change log: 4116d5a412..9d7b66e9bb
Full diff: 4116d5a412..9d7b66e9bb

Changed dependencies:
* src/base: 98837a25c9..0c405c7590
* src/ios: dd6e85d5da..2790cdbe0f
* src/testing: 3eaaac8ed2..90eda7fc6f
* src/third_party: 80a527d468..c0a852a881
* src/third_party/depot_tools: b61d387fa2..7c3ff1311a
* src/tools: 5d0a6695d8..56a7c67683
DEPS diff: 4116d5a412..9d7b66e9bb/DEPS

No update to Clang.

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

Change-Id: Ib490fd1cd7e857ca2f0d189aa73a8f56d196d03f
Reviewed-on: https://webrtc-review.googlesource.com/75904
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23198}
2018-05-10 15:22:49 +00:00
7f0a069550 Reduce log level for socket.SetOptions() to LS_INFO
Bug: webrtc:9221
Change-Id: I7bbbece754afa4e02ab000ee33e2b09ead5647a1
Reviewed-on: https://webrtc-review.googlesource.com/73686
Reviewed-by: Benjamin Wright <benwright@webrtc.org>
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23197}
2018-05-10 06:40:41 +00:00
b4e0e50a2b Roll chromium_revision d66554b28a..4116d5a412 (557284:557414)
Change log: d66554b28a..4116d5a412
Full diff: d66554b28a..4116d5a412

Changed dependencies:
* src/build: 8bdd49e0f7..1bdeddd932
* src/ios: 333d6aa044..dd6e85d5da
* src/testing: ad35d9fc8c..3eaaac8ed2
* src/third_party: 1b5595d935..80a527d468
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/483449aa72..4a13b64861
* src/third_party/depot_tools: afec759dca..b61d387fa2
* src/third_party/gtest-parallel: a8f5453ffc..cb3514a085
* src/tools: d85892881d..5d0a6695d8
DEPS diff: d66554b28a..4116d5a412/DEPS

No update to Clang.

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

Change-Id: I818ef5f55443292b627389a4264c24596f9d8f96
Reviewed-on: https://webrtc-review.googlesource.com/75842
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23196}
2018-05-10 02:20:21 +00:00
e53ac0463d Add Ethernet and loopback entries to GetAdapterTypeFromName.
GetAdapterTypeFromName determines the adapter type of a network
interface based on the string matching of the interface name. It however
does not have an entry to map the well-known "eth" name to the common
Ethernet type. This introduces subtle bugs when GetAdapterTypeFromName
is used as the only method to determine a network type and Ethernet is
thus identified as an unknown network, which affects the network
filtering and network path selection that rely on the network type.

Bug: webrtc:9235
Change-Id: Ifc3269d191382f3b3a041de1c9755c09994b31b2
Reviewed-on: https://webrtc-review.googlesource.com/74263
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Commit-Queue: Qingsi Wang <qingsi@google.com>
Cr-Commit-Position: refs/heads/master@{#23195}
2018-05-10 00:18:11 +00:00
e1f222e5c5 Roll chromium_revision ac6b00ded1..d66554b28a (557117:557284)
Change log: ac6b00ded1..d66554b28a
Full diff: ac6b00ded1..d66554b28a

Changed dependencies:
* src/base: 51fc247a21..98837a25c9
* src/build: 7fe7b26db7..8bdd49e0f7
* src/ios: 2d0c659879..333d6aa044
* src/testing: afb6e381a5..ad35d9fc8c
* src/third_party: 671a6f40b1..1b5595d935
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/718dbe7d32..483449aa72
* src/third_party/depot_tools: 3806b7fbd0..afec759dca
* src/tools: b5ebf2fac7..d85892881d
DEPS diff: ac6b00ded1..d66554b28a/DEPS

Clang version changed 330570:331747
Details: ac6b00ded1..d66554b28a/tools/clang/scripts/update.py

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

Change-Id: Iba0d7b7721f7060b4e5eefcdac0499393766e4ae
Reviewed-on: https://webrtc-review.googlesource.com/75701
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23194}
2018-05-09 20:30:41 +00:00
377ef24a8f Remove extra reference from GOF.
This removes second reference for frame 3 in GOF predefined for 3
temporal layers since encoder never use that reference.

Bug: webrtc:9245
Change-Id: I6fbdbe7d3c753dda7fbcfcbd05f3530f70f80728
Reviewed-on: https://webrtc-review.googlesource.com/74705
Reviewed-by: Åsa Persson <asapersson@webrtc.org>
Reviewed-by: Marco Paniconi <marpan@google.com>
Commit-Queue: Sergey Silkin <ssilkin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23193}
2018-05-09 18:18:43 +00:00
a29b148557 Create a fuzzer for the Opus encoder
The fuzzer is very simple. It only considers the default encoder
configuration at this point.

Bug: chromium:826914
Change-Id: Ifa248a1dba80efb231807750e40082ec5580636a
Reviewed-on: https://webrtc-review.googlesource.com/75261
Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23192}
2018-05-09 13:35:23 +00:00
d18e87edd4 Correcting the AEC3 transparent mode behavior avoid incorrect activation
This CL adds robustness to avoid the AEC3 transparent mode to be
incorrectly activated when
-there is strong near-end noise
-there is only low-level nearend activity.

Bug: webrtc:9256,chromium:841193
Change-Id: I26c2759d163914eb85dc3d863da8acbf28cbb88d
Reviewed-on: https://webrtc-review.googlesource.com/75511
Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org>
Commit-Queue: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23191}
2018-05-09 12:36:41 +00:00
ced31ba1cf Correcting the usage of the estimated echo path gain in AEC3
This CL corrects the usage of the estimated echo path gain to not be
hardcoded to 1. In order to retain the tuned behavior, the CL for now
maintains the former behavior in the code.

Bug: webrtc:9255,chromium:851187
Change-Id: I7f91c72e476680a8a854c22b74b1771fae446110
Reviewed-on: https://webrtc-review.googlesource.com/75510
Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org>
Commit-Queue: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23190}
2018-05-09 12:35:31 +00:00
e05c43cc39 Remove the headroom and delay estimation feedback loop in AEC3
This CL ensures that the external audio buffer delay is correctly used
by removing the applied headroom and avoiding that the delay estimation
feedback fromt the echo remover overrules the external delay
information.

Bug: webrtc:9241,chromium:839860
Change-Id: I53cc78ace34a71994ab24a3b552f29979e2aae78
Reviewed-on: https://webrtc-review.googlesource.com/75513
Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org>
Commit-Queue: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23189}
2018-05-09 12:34:26 +00:00
c6c44268bc Moves network control interface to API.
This prepares for allowing injection of a network controller.

Bug: webrtc:9155
Change-Id: I5624f47738db9c5cd4750eac76cb6289e06a7aa3
Reviewed-on: https://webrtc-review.googlesource.com/73100
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23188}
2018-05-09 11:01:36 +00:00
7eca805ce3 Removing -Wno-unused-private-field.
This CL is part of the effort to remove warning suppression flags from
the WebRTC build.

Bug: webrtc:9251
Change-Id: I45ece25e897a14a6d4ce8a90ba59688f8fc6fe32
Reviewed-on: https://webrtc-review.googlesource.com/75503
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23187}
2018-05-09 10:55:56 +00:00
a05d47e344 Adding a way to disable public_deps presubmit check.
This is useful when someone is just moving code around or when there is
a good reason to use public_deps.

Example of the error message:
** Presubmit ERRORS **
public_deps is discouraged in WebRTC BUILD.gn files because it doesn't
map well to downstream build systems.
Used in: BUILD.gn (line 31).
If you are not adding this code (e.g. you are just moving existing code)
or you have a good reason, you can add a comment on the line that causes
the problem:

public_deps = [  # no-presubmit-check TODO(webrtc:8603)

Bug: webrtc:8603
Change-Id: If2645b6ba60c7cbf5416450cf6e5a8c08bf4934e
Reviewed-on: https://webrtc-review.googlesource.com/75508
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23186}
2018-05-09 10:18:06 +00:00
212fb5e4d8 Removing -Wno-tautological-compare.
Bug: webrtc:9251
Change-Id: I092fbb596dc67f7a381182e734d68709c730c5c0
Reviewed-on: https://webrtc-review.googlesource.com/75501
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23185}
2018-05-09 09:37:46 +00:00
ee98be7811 Fix handling non-tightly packed ByteBuffers in HardwareVideoDecoder.
Before this CL, there would be an out-of-bounds write in the ByteBuffer
copying when a decoded frame had height != sliceHeight.

Bug: webrtc:9194
Change-Id: Ibb80e5555e8f00d9e1fd4cb8a73f5e4ccd5a0b81
Tested: 640x360 loopback with eglContext == null in AppRTCMobile on Pixel.
Reviewed-on: https://webrtc-review.googlesource.com/74120
Commit-Queue: Sami Kalliomäki <sakal@webrtc.org>
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23184}
2018-05-09 09:15:46 +00:00
c710ac142e Removing -Wno-comment.
Chromium is suppressing this warning only on GCC [1], so WebRTC should
not suppress it on clang and just rely on Chromium's defaults.

[1] - https://cs.chromium.org/chromium/src/build/config/compiler/BUILD.gn?l=1356&rcl=027d7fa1c191f60f754985b9c235597f8c9a2081

Bug: webrtc:9251
Change-Id: I9316cbdda4083da7d859ff0b9c60579546ddbfcb
Reviewed-on: https://webrtc-review.googlesource.com/75301
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23183}
2018-05-09 09:12:06 +00:00
f4e8b9f511 Roll chromium_revision 3055ddf805..ac6b00ded1 (556795:557117)
Change log: 3055ddf805..ac6b00ded1
Full diff: 3055ddf805..ac6b00ded1

Changed dependencies:
* src/base: c5356a4b51..51fc247a21
* src/build: 83c3af53bd..7fe7b26db7
* src/ios: 4f5968682f..2d0c659879
* src/testing: 6953f9fb51..afb6e381a5
* src/third_party: 2578cbaf20..671a6f40b1
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/08f785343a..718dbe7d32
* src/third_party/depot_tools: 5ae86d2021..3806b7fbd0
* src/third_party/icu: e4194dc7bb..f61e46dbee
* src/tools: 0a04830d66..b5ebf2fac7
DEPS diff: 3055ddf805..ac6b00ded1/DEPS

No update to Clang.

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

Change-Id: Idc343514fae1c972dc44a4796ad227860d2c7d49
Reviewed-on: https://webrtc-review.googlesource.com/75485
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23182}
2018-05-09 08:38:06 +00:00
5ebb416aaf Fixing NetEq RTP player.
A bug was introduced to NetEq RTP player in a recent CL:
https://webrtc-review.googlesource.com/c/src/+/69806

This is to fix it.

Bug: webrtc:9147
Change-Id: I949fd6b220d7c7f08c6e2940468232d1d955a3dc
Reviewed-on: https://webrtc-review.googlesource.com/75321
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Commit-Queue: Minyue Li <minyue@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23181}
2018-05-09 07:43:16 +00:00
d6f86e8fca This changeset adds dependency injection support for SSL Root Certs.
This extends the API surface so that
custom certificates can be provided by an API user in both the standalone and
factory creation paths for the OpenSSLAdapter. Prior to this change the SSL
roots were hardcoded in a header file and directly included into
openssladapter.cc. This forces the 100 kilobytes of certificates to always be
compiled into the library. This is undesirable in certain linking cases where
these certificates can be shared from another binary that already has an
equivalent set of trusted roots hard coded into the binary.

Support for removing the hard coded SSL roots has also been added through a new
build flag. By default the hard coded SSL roots will be included and will be
used if no other trusted root certificates are provided.

The main goal of this CL is to reduce total binary size requirements of WebRTC
by about 100kb in certain applications where adding these certificates is
redundant.

Change-Id: Ifd36d92b5cb32d1b3098a61ddfc244d76df8f30f

Bug: chromium:526260
Change-Id: Ifd36d92b5cb32d1b3098a61ddfc244d76df8f30f
Reviewed-on: https://webrtc-review.googlesource.com/64841
Commit-Queue: Benjamin Wright <benwright@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23180}
2018-05-09 00:24:05 +00:00
7c682e0c35 Update to allow the application to set a low max bitrate.
A bug surfaced when setting a low max bitrate with
30kbps hard-coded min bitrate value then a DCHECK was hit in the
VideoCodecInitializer, expecting the max bitrate to be higher than the
min bitrate. This change allows the application to set a max bitrate
below 30kbps, and adjusts the min bitrate to the value set for the
max bitrate.

RtpSender: :setParameters. If the value set was lower than the
Bug: webrtc:9141
Change-Id: I9b43ee7814b1a2caba00bc9614fc66d4438d66d8
Reviewed-on: https://webrtc-review.googlesource.com/74641
Commit-Queue: Seth Hampson <shampson@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23179}
2018-05-08 23:03:35 +00:00
4e268edb53 Add two new RTP header extensions to neteq_rtpplay
This change adds flags and default values for two more RTP header
extensions: VideoContentType and VideoTiming.

This will silence a number of annoying warnings when running with
application logs.

Bug: none
Change-Id: I9bb01ea2519813d3c47553ecff384141fbede23e
Reviewed-on: https://webrtc-review.googlesource.com/75300
Reviewed-by: Minyue Li <minyue@webrtc.org>
Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23178}
2018-05-08 16:05:12 +00:00
acb4cba5b1 Ignore spatial index.
This workaround allows to decode VP9 SVC streams with partially enabled
inter-layer prediction.

This change won't affect conventional SVC (inter-layer prediction is
enabled for all frames) since spatial index was always zero in this
case.

Bug: webrtc:9249
Change-Id: If6ff26a18b7cf543ec9e7f70b9239e9edff250b5
Reviewed-on: https://webrtc-review.googlesource.com/74924
Commit-Queue: Sergey Silkin <ssilkin@webrtc.org>
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23177}
2018-05-08 16:03:53 +00:00
1729711a70 Roll chromium_revision 5de2157f1e..3055ddf805 (556680:556795)
Change log: 5de2157f1e..3055ddf805
Full diff: 5de2157f1e..3055ddf805

Changed dependencies:
* src/build: b61b6b6a2e..83c3af53bd
* src/ios: 9d27efb09d..4f5968682f
* src/testing: f0ade05cb2..6953f9fb51
* src/third_party: 62736ae0ad..2578cbaf20
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/e853531767..08f785343a
* src/tools: abafe60c0f..0a04830d66
DEPS diff: 5de2157f1e..3055ddf805/DEPS

No update to Clang.

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

Change-Id: Ic0baa36b9e9a8d97ab581cb049320bb01e0c1483
Reviewed-on: https://webrtc-review.googlesource.com/75242
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23176}
2018-05-08 15:20:42 +00:00
03b41483c1 Removing warning suppression -Wno-missing-braces.
Bug: webrtc:9251
Change-Id: Ie32a052738d260364a7543e83e8b46ee3d34df59
Reviewed-on: https://webrtc-review.googlesource.com/75200
Reviewed-by: Alessio Bazzica <alessiob@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23175}
2018-05-08 13:39:52 +00:00