Commit Graph

23572 Commits

Author SHA1 Message Date
79eb4dd928 Enabling clang::find_bad_constructs for libjingle_peerconnection_api.
This CL removes //build/config/clang:find_bad_constructs from the
suppressed_configs list, which means that clang:find_bad_constructs
is now enabled on these translation units.

Bug: webrtc:9251, webrtc:163
Change-Id: I5475e574353c772910181495fdb3400b5f0e7399
Reviewed-on: https://webrtc-review.googlesource.com/87240
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24040}
2018-07-19 09:17:10 +00:00
9416ef8c4f Rename PayloadRouter to RtpVideoSender.
Bug: webrtc:9517
Change-Id: I18397a28067dbe5029fc80fe2eef360869abb339
Reviewed-on: https://webrtc-review.googlesource.com/89380
Commit-Queue: Stefan Holmer <stefan@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24039}
2018-07-19 08:50:50 +00:00
692409f8e7 Enabling clang::find_bad_constructs in modules/BUILD.gn.
This CL removes //build/config/clang:find_bad_constructs from the
suppressed_configs list, which means that clang:find_bad_constructs
is now enabled on these translation units.

Bug: webrtc:9251, webrtc:163
Change-Id: I4d5e8476dca16030814a01447b1d8522f0105b2a
Reviewed-on: https://webrtc-review.googlesource.com/89580
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24038}
2018-07-19 08:15:52 +00:00
ddad1fa5f9 Roll chromium_revision 6374eaa6aa..ecaca1be48 (576310:576410)
Change log: 6374eaa6aa..ecaca1be48
Full diff: 6374eaa6aa..ecaca1be48

Changed dependencies:
* src/build: 34c5b5f102..abdb54839b
* src/ios: a95b18308c..82df8ad632
* src/third_party: e27a2a1aec..bf9cc5f195
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/26d6aff1b5..c3318d5f36
* src/third_party/depot_tools: f9afc77f28..2c984a03ca
* src/tools: 1dcb77cd99..170baba7f7
DEPS diff: 6374eaa6aa..ecaca1be48/DEPS

No update to Clang.

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

Change-Id: I6837407ec13192dadf86afc861581405a426a39f
Reviewed-on: https://webrtc-review.googlesource.com/89563
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24037}
2018-07-19 08:10:02 +00:00
0a410ce8ce Clean up unneeded includes in common_video/BUILD.gn.
WebRTC internal headers are always included starting from the root
(e.g. #include "common_video/..."), so there is no need to
specify the include_dirs removed by this CL.

Bug: webrtc:9538
Change-Id: I9c10d419d1ec51502281329dfa5b6f68643b27f1
Reviewed-on: https://webrtc-review.googlesource.com/89389
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24036}
2018-07-19 06:42:11 +00:00
d4e5206e5e Clean up unneeded includes in common_audio/BUILD.gn.
WebRTC internal headers are always included starting from the root
(e.g. #include "common_audio/..."), so there is no need to
specify the include_dirs removed by this CL.

Bug: webrtc:9538
Change-Id: Id2c070dad48c88dece3fea59e9dd0e64695ee298
Reviewed-on: https://webrtc-review.googlesource.com/89390
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24035}
2018-07-19 06:28:21 +00:00
b80d710a12 Clean up unneeded includes in audio_device/BUILD.gn.
WebRTC internal headers are always included starting from the root
(e.g. #include "modules/audio_device/..."), so there is no need to
specify the include_dirs removed by this CL.

Bug: webrtc:9538
Change-Id: If26edecc004c6e8c3bbef3c8185c7e272110c951
Reviewed-on: https://webrtc-review.googlesource.com/89391
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24034}
2018-07-19 06:18:02 +00:00
194afd2b0e Roll chromium_revision 9e818a5aef..6374eaa6aa (576197:576310)
Change log: 9e818a5aef..6374eaa6aa
Full diff: 9e818a5aef..6374eaa6aa

Changed dependencies:
* src/base: aa3774f673..43bda94696
* src/build: 57a72e7f72..34c5b5f102
* src/ios: 12e5a306fa..a95b18308c
* src/testing: 598ab1ed8a..3557e864e2
* src/third_party: 8f36ed5654..e27a2a1aec
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/941ac6857d..26d6aff1b5
* src/third_party/depot_tools: 302bb847d3..f9afc77f28
* src/tools: 9a2418e8e7..1dcb77cd99
DEPS diff: 9e818a5aef..6374eaa6aa/DEPS

No update to Clang.

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

Change-Id: I070265109e6d856f0ecdebc3e9bd433e24b6ef2e
Reviewed-on: https://webrtc-review.googlesource.com/89540
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24033}
2018-07-19 02:28:09 +00:00
76829d7c3d Add UMA metric for ICE candidate addition outcome
Bug: webrtc:9532
Change-Id: I58af94c03f5bbf25db2b558a8fe1ae53634fb99f
Reviewed-on: https://webrtc-review.googlesource.com/89063
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24032}
2018-07-19 02:23:59 +00:00
4f6d233dcc Added explicit EOR to sctp messages and coalesce messages on the receiving side.
TBR=pthatcher@webrtc.org

Bug: webrtc:7774
Change-Id: I41d1cd98d1e7b2ad479177eb2e328a5e2c704824
Reviewed-on: https://webrtc-review.googlesource.com/88900
Commit-Queue: Jeroen de Borst <jeroendb@webrtc.org>
Reviewed-by: Qingsi Wang <qingsi@webrtc.org>
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24031}
2018-07-19 01:26:59 +00:00
702f4da4b9 Adds flag to enable AES_GCM from the Java API.
This changeset allows Java API users to enable or disable AES_GCM from the
PeerConnectionFactory.

Bug: chromium:713701
Change-Id: I8798e4eeb6907f8e16a646bfb8a20db510f960c8
Reviewed-on: https://webrtc-review.googlesource.com/89260
Commit-Queue: Benjamin Wright <benwright@webrtc.org>
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24030}
2018-07-18 22:20:40 +00:00
92f9c2a087 Roll chromium_revision 7e9fce12da..9e818a5aef (576093:576197)
Change log: 7e9fce12da..9e818a5aef
Full diff: 7e9fce12da..9e818a5aef

Changed dependencies:
* src/base: 9dcaf17f93..aa3774f673
* src/build: c92e0f4e60..57a72e7f72
* src/ios: c72631a8ee..12e5a306fa
* src/testing: 4ac7bc0e57..598ab1ed8a
* src/third_party: 088ff5ef8d..8f36ed5654
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/a824624071..941ac6857d
* src/third_party/libFuzzer/src: 873dc11d9a..2f72894d30
* src/tools: 57519b4402..9a2418e8e7
DEPS diff: 7e9fce12da..9e818a5aef/DEPS

No update to Clang.

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

Change-Id: Id0f59e0b3e4c4b06c4a7e0504d0d2a523f65391d
Reviewed-on: https://webrtc-review.googlesource.com/89461
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24029}
2018-07-18 22:00:07 +00:00
d0136b8afb Added API to Objective-C PeerConnectionFactoryOptions to enable GCM Ciphers.
This changeset adds the ability for API users to enable or disable GCM Cipher
suites from objective-c.

Bug: chromium:713701
Change-Id: I0ac7b60f55dd56bebbcfb315a542ef4843099802
Reviewed-on: https://webrtc-review.googlesource.com/89263
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Commit-Queue: Benjamin Wright <benwright@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24028}
2018-07-18 18:10:26 +00:00
9e6d20e7f1 Roll chromium_revision 9159e523ff..7e9fce12da (575979:576093)
Change log: 9159e523ff..7e9fce12da
Full diff: 9159e523ff..7e9fce12da

Changed dependencies:
* src/base: 3827537ca4..9dcaf17f93
* src/build: e4fb293b7b..c92e0f4e60
* src/ios: 409d5c7136..c72631a8ee
* src/testing: fed5f8ce0b..4ac7bc0e57
* src/third_party: 6741eff979..088ff5ef8d
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/e8dc05ccba..a824624071
* src/tools: 3233555277..57519b4402
DEPS diff: 9159e523ff..7e9fce12da/DEPS

No update to Clang.

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

Change-Id: I1c792109c359e5a191eb233f6cf418fc31ebc286
Reviewed-on: https://webrtc-review.googlesource.com/89421
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24027}
2018-07-18 18:02:16 +00:00
216664ab13 Cleanup unneeded includes in audio_coding/BUILD.gn.
WebRTC internal headers are always included starting from the root
(e.g. #include "modules/audio_coding/..."), so there is no need to
specify the include_dirs removed by this CL.

Bug: webrtc:9538
Change-Id: I91e70508c67020bbf70304df5e48ca757ad43221
Reviewed-on: https://webrtc-review.googlesource.com/89385
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24026}
2018-07-18 15:16:29 +00:00
fe68203494 Allow calling SoftwareVideoDecoderFactory#createDecoder(String).
Previously, this would crash with UnsupportedOperationException. Allows
still calling this while the method is deprecated.

Bug: webrtc:9536, webrtc:7925
Change-Id: I7b88cecca7a4e6f505c7211cf2eb576c394973f8
Reviewed-on: https://webrtc-review.googlesource.com/89381
Reviewed-by: Paulina Hensman <phensman@webrtc.org>
Commit-Queue: Sami Kalliomäki <sakal@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24025}
2018-07-18 14:50:39 +00:00
87b3c510b4 Implement changing degradation preference with setParameters()
The current default behavior is unchanged and points to MAINTAIN_FRAMERATE,
meaning there is no way to currently use BALANCED as we can't detect
when the value as been set or not.
Updating this is an API change that should be done in another CL and
properly communicated first.


Bug: webrtc:7607
Change-Id: Ic3877ad8dd7bc418296f21a04bc37f59ec55934a
Reviewed-on: https://webrtc-review.googlesource.com/88766
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Commit-Queue: Florent Castelli <orphis@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24024}
2018-07-18 14:45:27 +00:00
a61f7db9ae Revert "Removing unneeded dependency."
This reverts commit 06f66c72600e58438ba9caf9f523e00a519ef3c0.

Reason for revert: Breaks downstream project.

Original change's description:
> Removing unneeded dependency.
> 
> The //audio build target does not depend on the
> builtin_audio_encoder_factory, this CL removes it from the dependency
> list in order to avoid to propagate symbols that are not supposed to
> be there.
> 
> Bug: webrtc:9528
> Change-Id: Ib3868ee93f61057f61283faaa83e0633ebfdea90
> Reviewed-on: https://webrtc-review.googlesource.com/89002
> Reviewed-by: Yves Gerey <yvesg@webrtc.org>
> Reviewed-by: Oskar Sundbom <ossu@webrtc.org>
> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#24019}

TBR=mbonadei@webrtc.org,ossu@webrtc.org,yvesg@webrtc.org

Change-Id: Icf8f0ad4e7f5cce96fa1c0491a281ef2fd2e713f
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:9528
Reviewed-on: https://webrtc-review.googlesource.com/89400
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24023}
2018-07-18 14:42:31 +00:00
5ed25af448 Properly clean up RtpVideoSender.
Bug: webrtc:9517
Change-Id: I625c132907bd178f62c8b99f4b2407c75aa7e947
Reviewed-on: https://webrtc-review.googlesource.com/89382
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Commit-Queue: Stefan Holmer <stefan@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24022}
2018-07-18 14:15:07 +00:00
0c7ec80927 Limit BWE reductions before first measured throughput.
After detecting overuse of the network capacity, the target
bitrate is reduced. Normally, this should happen at most once
per RTT to prevent repeated reductions from the same overuse
signal. This CL fixes a bug that allowed repeated reductions
if an overuse was detected before it had the first reliable
throughput measurement.

The fix is guarded by a field trial. To enable the fix, use
WebRTC-BweInitialBackOffInterval/Enabled-200/

Bug: webrtc:9493
Change-Id: Iae566227fd94ebb8a4449406572158a8b79d9c53
Reviewed-on: https://webrtc-review.googlesource.com/88765
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24021}
2018-07-18 13:51:05 +00:00
b471c905a4 Enabling clang::find_bad_constructs for modules/pacing.
This CL removes //build/config/clang:find_bad_constructs from the
suppressed_configs list, which means that clang:find_bad_constructs
is now enabled on these translation units.

Bug: webrtc:9251, webrtc:163
Change-Id: I118156a4f9b00d8c4c4f199a5af50c494e31c34a
Reviewed-on: https://webrtc-review.googlesource.com/89343
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24020}
2018-07-18 13:41:45 +00:00
06f66c7260 Removing unneeded dependency.
The //audio build target does not depend on the
builtin_audio_encoder_factory, this CL removes it from the dependency
list in order to avoid to propagate symbols that are not supposed to
be there.

Bug: webrtc:9528
Change-Id: Ib3868ee93f61057f61283faaa83e0633ebfdea90
Reviewed-on: https://webrtc-review.googlesource.com/89002
Reviewed-by: Yves Gerey <yvesg@webrtc.org>
Reviewed-by: Oskar Sundbom <ossu@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24019}
2018-07-18 12:23:03 +00:00
d93a51dfaa Enabling clang::find_bad_constructs for common_video.
This CL removes //build/config/clang:find_bad_constructs from the
suppressed_configs list, which means that clang:find_bad_constructs
is now enabled on these translation units.

Bug: webrtc:9251, webrtc:163
Change-Id: I6d3b45de9dca3a5a04f0cdd5583919d35a585a7e
Reviewed-on: https://webrtc-review.googlesource.com/89043
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24018}
2018-07-18 11:26:01 +00:00
9d764e8521 Removing clang:find_bad_constructs from logging (part 1).
Bug: webrtc:9251, webrtc:163
Change-Id: I42ce2edd4d5974e89d7d29f242d99d1c721b9bc0
Reviewed-on: https://webrtc-review.googlesource.com/88763
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24017}
2018-07-18 11:23:01 +00:00
61b86af9f2 Revert "Remove linux_internal_compile_lite from CQ."
This reverts commit 881fe53d1faefe135c0d6959794da91a25e247f2.

Original change's description:
> Remove linux_internal_compile_lite from CQ.
> 
> TBR=phoglund@webrtc.org
> 
> Bug: None
> Change-Id: Ib260edcb832468feab5287cd38a201857e7b0b75
> No-Try: True
> Reviewed-on: https://webrtc-review.googlesource.com/89340
> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
> Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#24012}

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

Change-Id: Idf98dae4385d5593db2f7eeafd902b5480c204bb
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: None
Reviewed-on: https://webrtc-review.googlesource.com/89360
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24016}
2018-07-18 10:11:45 +00:00
75e3e6450b Adding oprypin to infra/config/OWNERS.
Bug: None
Change-Id: I71ea202641c039bc9017681e21c57eee2e0422b8
No-Try: True
Reviewed-on: https://webrtc-review.googlesource.com/89341
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Sergiy Byelozyorov <sergiyb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#24015}
2018-07-18 09:18:19 +00:00
0560c70803 Roll chromium_revision 9ec8cfdbc9..9159e523ff (575625:575979)
Change log: 9ec8cfdbc9..9159e523ff
Full diff: 9ec8cfdbc9..9159e523ff

Changed dependencies:
* src/base: fc60e46d67..3827537ca4
* src/build: 7315579e38..e4fb293b7b
* src/ios: 2222541c3d..409d5c7136
* src/testing: 4f15079d48..fed5f8ce0b
* src/third_party: c786009cdb..6741eff979
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/f5342c4cf3..e8dc05ccba
* src/third_party/depot_tools: 40bacee96a..302bb847d3
* src/third_party/libvpx/source/libvpx: 829d1b2098..2c45cd174a
* src/tools: f357849cbf..3233555277
DEPS diff: 9ec8cfdbc9..9159e523ff/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: Idf6ee4a8b20ea22523c978f376f25e27645a855c
Reviewed-on: https://webrtc-review.googlesource.com/89306
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24014}
2018-07-18 09:11:09 +00:00
89b2963810 Reland "Enable simulcast screenshare by default"
This is a reland of d43c692ba7f53b5576a494c0343bc7a4bb36831b after fixes
to failing chromium tests. No change to the original CL were done.
Original CL reviewed on: https://webrtc-review.googlesource.com/87560

TBR=stefan@webrtc.org

Bug: chromium:690537
Change-Id: I6b59ffc90d789aff21c7e52b118d3dfbe756c8a9
Reviewed-on: https://webrtc-review.googlesource.com/89081
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24013}
2018-07-18 08:58:09 +00:00
881fe53d1f Remove linux_internal_compile_lite from CQ.
TBR=phoglund@webrtc.org

Bug: None
Change-Id: Ib260edcb832468feab5287cd38a201857e7b0b75
No-Try: True
Reviewed-on: https://webrtc-review.googlesource.com/89340
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24012}
2018-07-18 08:50:15 +00:00
fad70c05ca Provide a default no-op implementation of RegisterUMAObserver in
PeerConnectionInterface.

This allows the implementations of PeerConnectionInterface to deprecate
this method.

Bug: None
Change-Id: I54b56206ebac2486f112e09137c9def225683297
Reviewed-on: https://webrtc-review.googlesource.com/89261
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24011}
2018-07-18 02:26:02 +00:00
0f5400acfa [Unified Plan] Implement FiredDirection for RtpTransceiver
Bug: webrtc:9236
Change-Id: Ib5a8215f3762f35b68d2a285c7d676f93f1212c5
Reviewed-on: https://webrtc-review.googlesource.com/88921
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24010}
2018-07-17 23:56:04 +00:00
dbdb3a0079 Refactoring PayloadRouter.
- Move PayloadRouter to RtpTransportControllerInterface.
- Move RetransmissionLimiter inside RtpTransportControllerSend from
  VideoSendStreamImpl.
- Move video RTP specifics into PayloadRouter, in particular ownership
  of the RTP modules.
- PayloadRouter now contains all video specific RTP code, and will be
  renamed in a follow-up to VideoRtpSender.
- Introduce VideoRtpSenderInterface.

Bug: webrtc:9517
Change-Id: I1c7b293fa6f9c320286c80533b3c584498034a38
Reviewed-on: https://webrtc-review.googlesource.com/88240
Commit-Queue: Stefan Holmer <stefan@webrtc.org>
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24009}
2018-07-17 14:46:15 +00:00
e1d7b23915 Implement congestion window direct pushback to encoders. (Without TaskQueue)
Bug: None
Change-Id: I3c6da916ce5f4a32ff47bfb0894b00f11fbf7823
Reviewed-on: https://webrtc-review.googlesource.com/86605
Commit-Queue: Ying Wang <yinwa@webrtc.org>
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Christoffer Rodbro <crodbro@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24008}
2018-07-17 14:26:05 +00:00
62592ce169 Roll chromium_revision c09887405b..9ec8cfdbc9 (575517:575625)
Change log: c09887405b..9ec8cfdbc9
Full diff: c09887405b..9ec8cfdbc9

Changed dependencies:
* src/base: 4f1f9ad842..fc60e46d67
* src/build: 3b8fcccd79..7315579e38
* src/ios: 1dff76fe30..2222541c3d
* src/testing: 70efd2ed53..4f15079d48
* src/third_party: c2d6bd0552..c786009cdb
* src/third_party/depot_tools: fb734036f4..40bacee96a
* src/tools: c1fbc6b5e7..f357849cbf
DEPS diff: c09887405b..9ec8cfdbc9/DEPS

No update to Clang.

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

Change-Id: If2aad21a6bec89fc999117aa963f478c126e3075
Reviewed-on: https://webrtc-review.googlesource.com/89100
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24007}
2018-07-17 14:08:55 +00:00
e6fcf3ff6c Update CameraCapturer to use the new CapturerObserver.
Full path is specified because otherwise the inner class from
VideoCapturer is used instead.

Bug: webrtc:9496
Change-Id: I122e6525101594863d506eb3c12359b5648d935e
Reviewed-on: https://webrtc-review.googlesource.com/89042
Reviewed-by: Paulina Hensman <phensman@webrtc.org>
Commit-Queue: Sami Kalliomäki <sakal@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24006}
2018-07-17 13:31:43 +00:00
ca536d4692 Revert "Enable simulcast screenshare by default"
This reverts commit d43c692ba7f53b5576a494c0343bc7a4bb36831b.

Reason for revert: Breaks chromium unit tests

Original change's description:
> Enable simulcast screenshare by default
> 
> Bug: chromium:690537
> Change-Id: I8b713a9c4d9d5d1a5cf13dff607cc25806aceed2
> Reviewed-on: https://webrtc-review.googlesource.com/87560
> Reviewed-by: Stefan Holmer <stefan@webrtc.org>
> Reviewed-by: Erik Språng <sprang@webrtc.org>
> Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#24003}

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

Change-Id: I55b952519458bb9ab49cf6377601d7420e71d086
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:690537
Reviewed-on: https://webrtc-review.googlesource.com/89080
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24005}
2018-07-17 12:47:55 +00:00
dd21474da5 Replace accidental usages of source_set with rtc_source_set
Bug: None
Change-Id: I80c5ad9e1e9942eb51ace014cd7b9127959d601b
Reviewed-on: https://webrtc-review.googlesource.com/89061
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24004}
2018-07-17 12:40:17 +00:00
d43c692ba7 Enable simulcast screenshare by default
Bug: chromium:690537
Change-Id: I8b713a9c4d9d5d1a5cf13dff607cc25806aceed2
Reviewed-on: https://webrtc-review.googlesource.com/87560
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24003}
2018-07-17 11:22:37 +00:00
91df091ba6 Enabling clang::find_bad_constructs for common_audio.
This CL removes //build/config/clang:find_bad_constructs from the
suppressed_configs list, which means that clang:find_bad_constructs
is now enabled on these translation units.

Bug: webrtc:9251
Change-Id: I1607df2a3ad177e2f3023156eb8cf37857ae06ba
Reviewed-on: https://webrtc-review.googlesource.com/89041
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24002}
2018-07-17 09:37:40 +00:00
f5c3ba15f0 Fuzz more kinds of floats in the APM fuzzer.
Previously, the fuzzer read a int16_t and converted to float. That is
how float audio samples were generated. This CL changes the fuzzer to
read floats directly, and then sanitize them.

Bug: webrtc:7820
Change-Id: Icc526611466c10dd4222b19a4d4b4fd26643812a
Reviewed-on: https://webrtc-review.googlesource.com/85343
Commit-Queue: Alex Loiko <aleloi@webrtc.org>
Reviewed-by: Sam Zackrisson <saza@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24001}
2018-07-17 09:36:35 +00:00
35c773dad6 Cap the number of fuzzed decoder packets to 200
The fuzzer figured out that 3 bytes is enough to fuzz a package.
2 bytes for packet length, and 1 byte of actual packet. A 20K test case
can generate > 6000 packets. It does not seem like efficient fuzzing.

This CL simply stops execution when 200 packets have been generated.
That corresponds to 4 seconds of 20 ms packets.

Bug: chromium:840115
Change-Id: Id2742a6f8021134bacd8a6e8c71b32f20c7f1086
Reviewed-on: https://webrtc-review.googlesource.com/88566
Reviewed-by: Alex Loiko <aleloi@webrtc.org>
Commit-Queue: Sam Zackrisson <saza@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24000}
2018-07-17 09:14:45 +00:00
684b401016 Division by zero in RNN-VAD.
Bug: webrtc:9450, chromium:861557
Change-Id: I00ddda1fe0e088b983707420acf1b9a6763a3535
Reviewed-on: https://webrtc-review.googlesource.com/87841
Reviewed-by: Alessio Bazzica <alessiob@webrtc.org>
Commit-Queue: Alex Loiko <aleloi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23999}
2018-07-17 09:03:05 +00:00
9eec01c5e0 Enabling clang:find_bad_constructs from modules/utility.
This CL removes //build/config/clang:find_bad_constructs from the
suppressed_configs list, which means that clang:find_bad_constructs
is now enabled on these translation units.

Bug: webrtc:9251
Change-Id: I6278b69f4a009fd1d0e265ebcaa3734d33cfc2e7
Reviewed-on: https://webrtc-review.googlesource.com/88764
Reviewed-by: Yves Gerey <yvesg@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23998}
2018-07-17 08:51:25 +00:00
a6c544d08d Enabling clang::find_bad_constructs for AEC3.
This CL removes //build/config/clang:find_bad_constructs from the
suppressed_configs list, which means that clang:find_bad_constructs
is now enabled on these translation units.

Bug: webrtc:9251
Change-Id: Ibdafc0bb08de1be7189af7053a67a24e3a26bd6b
Reviewed-on: https://webrtc-review.googlesource.com/89001
Reviewed-by: Sam Zackrisson <saza@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23997}
2018-07-17 08:49:15 +00:00
f70446874a Reland "Move allocation and rtp conversion logic out of payload router."
This reverts commit c2406e4eaf7703c6c64d21318186adda791e09fd.

Reason for revert: Reland by removing the conflict with the broken CL.

Original change's description:
> Revert "Move allocation and rtp conversion logic out of payload router."
> 
> This reverts commit 1da4d79ba3275b3fa48cad3b2c0949e0d3b7afe7.
> 
> Reason for revert: Need to revert https://webrtc-review.googlesource.com/c/src/+/88220
> 
> This causes a merge conflict. So need to revert this first.
> 
> Original change's description:
> > Move allocation and rtp conversion logic out of payload router.
> > 
> > Makes it easier to write tests, and allows for moving rtp module
> > ownership into the payload router in the future.
> > 
> > The RtpPayloadParams class is split into declaration and definition and
> > moved into separate files.
> > 
> > Bug: webrtc:9517
> > Change-Id: I8700628edff19abcacfe8d3a20e4ba7476f712ad
> > Reviewed-on: https://webrtc-review.googlesource.com/88564
> > Commit-Queue: Stefan Holmer <stefan@webrtc.org>
> > Reviewed-by: Sebastian Jansson <srte@webrtc.org>
> > Cr-Commit-Position: refs/heads/master@{#23983}
> 
> TBR=sprang@webrtc.org,stefan@webrtc.org,srte@webrtc.org
> 
> Change-Id: I342c4bf483d975c87c706fe7f76f44e2dc60fe4c
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: webrtc:9517
> Reviewed-on: https://webrtc-review.googlesource.com/88821
> Reviewed-by: JT Teh <jtteh@webrtc.org>
> Commit-Queue: JT Teh <jtteh@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#23991}

TBR=sprang@webrtc.org,stefan@webrtc.org,srte@webrtc.org,lliuu@webrtc.org,jtteh@webrtc.org,tkchin@webrtc.org

Change-Id: I154145cdbc668feee86dbe78860147a6954fee6c
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:9517
Reviewed-on: https://webrtc-review.googlesource.com/89020
Commit-Queue: Stefan Holmer <stefan@webrtc.org>
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23996}
2018-07-17 08:17:44 +00:00
e250645ea4 Call callback in IDLE state
In current state, if you want to do something with the capturer (eg. switch to next camera again) it fails with an exception that camera switch is already in progress.

Change-Id: I908eb590b54fdf3346441097b39f1f2a2eb56ce8

Bug: webrtc:9527
Change-Id: I908eb590b54fdf3346441097b39f1f2a2eb56ce8
Reviewed-on: https://webrtc-review.googlesource.com/88700
Commit-Queue: Sami Kalliomäki <sakal@webrtc.org>
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23995}
2018-07-17 07:27:37 +00:00
4597e0c46f Roll chromium_revision 6a67eff9bf..c09887405b (575413:575517)
Change log: 6a67eff9bf..c09887405b
Full diff: 6a67eff9bf..c09887405b

Changed dependencies:
* src/ios: 2d19fbcfe4..1dff76fe30
* src/testing: 8c94c99e4c..70efd2ed53
* src/third_party: 47f0731611..c2d6bd0552
* src/third_party/depot_tools: 8d3925b164..fb734036f4
* src/tools: 87de2b8cc0..c1fbc6b5e7
DEPS diff: 6a67eff9bf..c09887405b/DEPS

No update to Clang.

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

Change-Id: I1cf75e34f9fc3c31091b9c9e8aefa12b52f44ac3
Reviewed-on: https://webrtc-review.googlesource.com/88980
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23994}
2018-07-17 02:05:14 +00:00
5daeff9c1f Revert "Remove RTPVideoHeader::h264() accessors."
This reverts commit dfbced6504720d2c0807d7b92798eb80ba3f8be9.

Reason for revert: Crashes when making a video call.

#9	0x00000001043dd8d8 in webrtc::RTPVideoHeaderH264& absl::variant_internal::TypedThrowBadVariantAccess<webrtc::RTPVideoHeaderH264&>() at /third_party/absl/types/internal/variant.h:315
#10	0x00000001043dd8ac in absl::variant_internal::VariantAccessResultImpl<2ul, absl::variant<webrtc::RTPVideoHeaderVP8, webrtc::RTPVideoHeaderVP9, webrtc::RTPVideoHeaderH264>&&&>::type absl::variant_internal::VariantCoreAccess::CheckedAccess<2ul, absl::variant<webrtc::RTPVideoHeaderVP8, webrtc::RTPVideoHeaderVP9, webrtc::RTPVideoHeaderH264>&>(absl::variant<webrtc::RTPVideoHeaderVP8, webrtc::RTPVideoHeaderVP9, webrtc::RTPVideoHeaderH264>&&&) at /third_party/absl/types/internal/variant.h:597
#11	0x00000001043db778 in webrtc::RTPVideoHeaderH264& absl::get<webrtc::RTPVideoHeaderH264, webrtc::RTPVideoHeaderVP8, webrtc::RTPVideoHeaderVP9, webrtc::RTPVideoHeaderH264>(absl::variant<webrtc::RTPVideoHeaderVP8, webrtc::RTPVideoHeaderVP9, webrtc::RTPVideoHeaderH264>&) at /third_party/absl/types/variant.h:299
#12	0x0000000104558bcc in webrtc::RtpPacketizer::Create(webrtc::VideoCodecType, unsigned long, unsigned long, webrtc::RTPVideoHeader const*, webrtc::FrameType) at webrtc/modules/rtp_rtcp/source/rtp_format.cc:30

Original change's description:
> Remove RTPVideoHeader::h264() accessors.
>
> Bug: none
> Change-Id: I043bcaf358575688b223bc3631506e148b47fd58
> Reviewed-on: https://webrtc-review.googlesource.com/88220
> Reviewed-by: Stefan Holmer <stefan@webrtc.org>
> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
> Commit-Queue: Philip Eliasson <philipel@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#23971}

TBR=danilchap@webrtc.org,stefan@webrtc.org,philipel@webrtc.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: none
Change-Id: If99bcabdfe3cae7094f24e407bbe2f47233e46e3
Reviewed-on: https://webrtc-review.googlesource.com/88820
Commit-Queue: JT Teh <jtteh@webrtc.org>
Reviewed-by: Zeke Chin <tkchin@webrtc.org>
Reviewed-by: JT Teh <jtteh@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23993}
2018-07-16 21:36:12 +00:00
9b02ee817b Roll chromium_revision 3668886840..6a67eff9bf (575305:575413)
Change log: 3668886840..6a67eff9bf
Full diff: 3668886840..6a67eff9bf

Changed dependencies:
* src/base: 24eccdc599..4f1f9ad842
* src/build: 59d0512879..3b8fcccd79
* src/ios: 71fbd9970f..2d19fbcfe4
* src/testing: cd88c212bc..8c94c99e4c
* src/third_party: c052d35886..47f0731611
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/be45355b46..f5342c4cf3
* src/tools: 21fc68bfed..87de2b8cc0
DEPS diff: 3668886840..6a67eff9bf/DEPS

No update to Clang.

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

Change-Id: I1e1964c5b7d10401b5e8059bb5b7417793f81320
Reviewed-on: https://webrtc-review.googlesource.com/88880
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23992}
2018-07-16 21:20:52 +00:00
c2406e4eaf Revert "Move allocation and rtp conversion logic out of payload router."
This reverts commit 1da4d79ba3275b3fa48cad3b2c0949e0d3b7afe7.

Reason for revert: Need to revert https://webrtc-review.googlesource.com/c/src/+/88220

This causes a merge conflict. So need to revert this first.

Original change's description:
> Move allocation and rtp conversion logic out of payload router.
> 
> Makes it easier to write tests, and allows for moving rtp module
> ownership into the payload router in the future.
> 
> The RtpPayloadParams class is split into declaration and definition and
> moved into separate files.
> 
> Bug: webrtc:9517
> Change-Id: I8700628edff19abcacfe8d3a20e4ba7476f712ad
> Reviewed-on: https://webrtc-review.googlesource.com/88564
> Commit-Queue: Stefan Holmer <stefan@webrtc.org>
> Reviewed-by: Sebastian Jansson <srte@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#23983}

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

Change-Id: I342c4bf483d975c87c706fe7f76f44e2dc60fe4c
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:9517
Reviewed-on: https://webrtc-review.googlesource.com/88821
Reviewed-by: JT Teh <jtteh@webrtc.org>
Commit-Queue: JT Teh <jtteh@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23991}
2018-07-16 20:38:02 +00:00