Commit Graph

23706 Commits

Author SHA1 Message Date
ee562d874c Don't depend on X11 when rtc_use_x11=false.
This CL makes X11 optional for audio_device_pulse_linux.
Apply the same guards than for audio_device_alsa_linux.
Cf commit 75f18fca8eef7c27073923c46ff73be5ba0e0491.

Bug: webrtc:9569
Change-Id: Iaddbfb62112c504531376bad0db8f04caa4350c7
Reviewed-on: https://webrtc-review.googlesource.com/93030
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Yves Gerey <yvesg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24274}
2018-08-13 14:14:27 +00:00
d8661a05ff Remove public_deps from rtc_base:protobuf_utils.
Bug: webrtc:8603
Change-Id: I8dfc176b570d28ce8003f5f8f1ed995848af9a9d
Reviewed-on: https://webrtc-review.googlesource.com/93761
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24273}
2018-08-13 14:06:31 +00:00
db7ea8c45f Re-enable gtest absl pretty printers.
After https://webrtc-review.googlesource.com/c/src/+/93733, WebRTC
should be able to use absl pretty printers again.

Bug: None
Change-Id: I1ea63707e59ad502e40df84ca0abb03054d25106
Reviewed-on: https://webrtc-review.googlesource.com/93741
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24272}
2018-08-13 13:54:05 +00:00
af17595879 Refactor RtpReceiverImpl, extracting CSRC book-keeping to its own class
Bug: webrtc:7135
Change-Id: I7ce9afe575241542e4e3f7e2e8459ee3257eec76
Reviewed-on: https://webrtc-review.googlesource.com/93466
Commit-Queue: Niels Moller <nisse@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24271}
2018-08-13 11:59:08 +00:00
ced5cfdb35 Add initial support for RtpEncodingParameters max_framerate.
Add support to set the framerate to the maximum of |max_framerate|.
Different framerates are currently not supported per stream for video.

Bug: webrtc:9597
Change-Id: Ie326617b66bd97be387f809a7f82b97b8f3ff5fe
Reviewed-on: https://webrtc-review.googlesource.com/92392
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Commit-Queue: Åsa Persson <asapersson@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24270}
2018-08-13 09:59:04 +00:00
553b6f68e1 Roll chromium_revision f7e49bb7e6..690394a8a7 (582110:582511)
Change log: f7e49bb7e6..690394a8a7
Full diff: f7e49bb7e6..690394a8a7

Changed dependencies:
* src/base: 6c0497f398..fe1611262d
* src/build: f79db013c7..ddcfe1a1c6
* src/ios: 7aa1f910df..8bce498aae
* src/testing: d2fde4ae5b..b07830f690
* src/third_party: e3f59293e6..ddc6e6fdb5
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/0d25dda9b1..21cd5a3096
* src/third_party/depot_tools: 284b5e0c60..6a4e31b488
* src/third_party/harfbuzz-ng/src: 2b76767bf5..b6fdcf4f8b
* src/tools: d3ea177a0e..957e87c052
DEPS diff: f7e49bb7e6..690394a8a7/DEPS

No update to Clang.

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

Change-Id: If74fe9bc2379d45d46058417fdaf42db85e63bd5
Reviewed-on: https://webrtc-review.googlesource.com/93733
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24269}
2018-08-13 07:07:25 +00:00
f4cf64ec06 AEC3: Enforcing nonlinear mode when transparent mode is active
This CL ensures that the linear echo prediction mode is not used
when the transparent mode is active.

TBR: saza@webrtc.org,gustaf@webrtc.org
Bug: webrtc:9612,chromium:873074
Change-Id: I25cda5226251df769b6524594ea8a2b78532aaec
Reviewed-on: https://webrtc-review.googlesource.com/93740
Reviewed-by: Per Åhgren <peah@webrtc.org>
Commit-Queue: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24268}
2018-08-12 20:40:04 +00:00
656d609a95 Add UTC time to init event in AEC debug dump.
Bug: webrtc:9616
Change-Id: I1350212f0b8835fb64427483269da96d51670c01
Reviewed-on: https://webrtc-review.googlesource.com/92620
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Minyue Li <minyue@webrtc.org>
Reviewed-by: Per Åhgren <peah@webrtc.org>
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Reviewed-by: Per Kjellander <perkj@webrtc.org>
Reviewed-by: Alex Loiko <aleloi@webrtc.org>
Commit-Queue: Minyue Li <minyue@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24267}
2018-08-11 20:29:07 +00:00
f820a5ea1c Fix use after move in SafeSetError
There is not actually any noticeable bug with the code as it was
since the RTCError move operators don't reset the type of the moved
object. But the clang static analyzer complains about this and it's
bad practice.

Bug: webrtc:9593
Change-Id: I8c04f193d10733371e0125c5349f9798f916eecf
Reviewed-on: https://webrtc-review.googlesource.com/93500
Reviewed-by: Seth Hampson <shampson@webrtc.org>
Commit-Queue: Steve Anton <steveanton@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24266}
2018-08-10 20:13:26 +00:00
ee8ad5ff8a AEC3: Allow the main and shadow filters to have different lengths
This CL changes the AEC3 code to allow the main and shadow filters
to have different lengths.

Bug: webrtc:9614,chromium:873100
Change-Id: I3ec2861d496986610d5a73db5771bbe9b8bf7dcd
Reviewed-on: https://webrtc-review.googlesource.com/93465
Commit-Queue: Per Åhgren <peah@webrtc.org>
Reviewed-by: Sam Zackrisson <saza@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24265}
2018-08-10 19:59:50 +00:00
2275439c4e AEC3: Further utilize the shadow filter to boost adaptation
This CL makes the jump-starting of the shadow filter more extreme.
It furthermore utilizes this to allow the AEC to rely further, and
more quickly on its linear filter estimates.

The result is mainly increased transparency but also some
cases of fewer echo blips.


Bug: webrtc:9612,chromium:873074
Change-Id: I90f7cfbff9acb9d0c36409593afbf476e7a830d3
Reviewed-on: https://webrtc-review.googlesource.com/93461
Reviewed-by: Sam Zackrisson <saza@webrtc.org>
Commit-Queue: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24264}
2018-08-10 17:16:23 +00:00
f5f5373372 Delete unused member MediaSenderInfo::packets_cached.
Bug: None
Change-Id: I06e1a2010cc0af4b8a4ea726078fea6b67fa84d5
Reviewed-on: https://webrtc-review.googlesource.com/93281
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24263}
2018-08-10 13:13:54 +00:00
ae09d3966c Temporarily skip linux_internal on autoroller tryjobs.
Run compile_lite instead, which affords some protection
at least.

Bug: webrtc:9615
Change-Id: I348d535ba2c0dd6cd438be1a90da5b3f64c17c93
Reviewed-on: https://webrtc-review.googlesource.com/93467
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24262}
2018-08-10 12:55:08 +00:00
c97933fb82 Clean up code regarding jitter buffer plot in event log visualizer.
Bug: webrtc:9147
Change-Id: I2c1f0b383706ae9a788eb8b5d308d4c7fe612730
Reviewed-on: https://webrtc-review.googlesource.com/92390
Commit-Queue: Minyue Li <minyue@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24261}
2018-08-10 11:19:56 +00:00
ba579ecdc1 Roll chromium_revision 86f8273e2f..f7e49bb7e6 (581886:582110)
Change log: 86f8273e2f..f7e49bb7e6
Full diff: 86f8273e2f..f7e49bb7e6

Changed dependencies:
* src/base: 6abc23a627..6c0497f398
* src/build: 1f2ff68a92..f79db013c7
* src/ios: a128bdd3fc..7aa1f910df
* src/testing: dcefe6ada5..d2fde4ae5b
* src/third_party: 05e0f49727..e3f59293e6
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/bca7d20ad7..0d25dda9b1
* src/third_party/depot_tools: dd5051fa52..284b5e0c60
* src/tools: da25d064ae..d3ea177a0e
DEPS diff: 86f8273e2f..f7e49bb7e6/DEPS

Clang version changed 338452:337439
Details: 86f8273e2f..f7e49bb7e6/tools/clang/scripts/update.py

TBR=buildbot@webrtc.org,
BUG=None

Change-Id: I4a34844d0cd5e1a0011edba71b801c83afa6f26c
Reviewed-on: https://webrtc-review.googlesource.com/93451
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24260}
2018-08-10 11:12:57 +00:00
80006b9922 Add command-line flag to enable the bugfix to postpone decoding after expand.
This CL also excludes several codec mappings depending on compile-time flags.

Bug: webrtc:9289
Change-Id: I1a9183f88378307925b747576a5513e54be3782e
Reviewed-on: https://webrtc-review.googlesource.com/93462
Reviewed-by: Minyue Li <minyue@webrtc.org>
Commit-Queue: Ivo Creusen <ivoc@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24259}
2018-08-10 10:06:56 +00:00
d8be107c8b Print timestamp-to-UTC map when event_log starts.
Bug: None
Change-Id: I9ba392e3ace79b5dbc7342200565004ea5cd844e
Reviewed-on: https://webrtc-review.googlesource.com/93300
Reviewed-by: Minyue Li <minyue@webrtc.org>
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24258}
2018-08-10 10:04:12 +00:00
d3b62cfb02 Delete unused method RtpReceiver::CSRCs.
This is a preparation for extracting CSRC book-keeping to its own
class.

Bug: webrtc:7135
Change-Id: Ic51ceb57ec53a43064a3d0392de8baa978a4e8cf
Reviewed-on: https://webrtc-review.googlesource.com/93463
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24257}
2018-08-10 10:01:11 +00:00
2ad8c43ae7 Change visibility of some build targets that are publicly used.
Bug: None
Change-Id: I9b0dc56364648ac4d4fa4b8bb67af44700621b24
Reviewed-on: https://webrtc-review.googlesource.com/93282
Reviewed-by: Anders Carlsson <andersc@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24256}
2018-08-10 09:56:51 +00:00
26ef7cde11 Roll chromium_revision b0784bef91..86f8273e2f (581665:581886)
Change log: b0784bef91..86f8273e2f
Full diff: b0784bef91..86f8273e2f

Changed dependencies:
* src/base: 76793f5417..6abc23a627
* src/build: 03ce38cdd9..1f2ff68a92
* src/ios: 7c0de39a86..a128bdd3fc
* src/testing: 72f3763b1f..dcefe6ada5
* src/third_party: 28c1ea1319..05e0f49727
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/9aa552b157..bca7d20ad7
* src/tools: 93447e2d7b..da25d064ae
DEPS diff: b0784bef91..86f8273e2f/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None

Change-Id: Ic467e12304b3093b40297ce57421e25b04eba0e1
Reviewed-on: https://webrtc-review.googlesource.com/93340
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24255}
2018-08-10 09:33:05 +00:00
2ff1f2a342 Reland "Refactor RtpVideoStreamReceiver without RtpReceiver."
This is a reland of 0b9e01d605a174a52635626c885738a222abff46

Original change's description:
> Refactor RtpVideoStreamReceiver without RtpReceiver.
> 
> Bug: webrtc:7135
> Change-Id: Iabf3330e579b892efc160683f9f90efbf6ff9a40
> Reviewed-on: https://webrtc-review.googlesource.com/92398
> Commit-Queue: Niels Moller <nisse@webrtc.org>
> Reviewed-by: Erik Språng <sprang@webrtc.org>
> Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#24232}

Bug: webrtc:7135
Change-Id: I707d4c5262e7b428bc7ceac2d886ff34c4a8d76a
Reviewed-on: https://webrtc-review.googlesource.com/93261
Reviewed-by: Erik Språng <sprang@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24254}
2018-08-10 08:56:49 +00:00
45e7281b86 AEC3: Ensure that the shadow filter is adapted at each block
This CL ensures that the shadow filter is adapted at each block, which
avoids that a temporary filter length mismatch can occur between the
main and shadow filters.

Bug: webrtc:9602,chromium:872201
Change-Id: I651812b4e3b134c6c5e1fe3df5ab78dbdb5c1fb4
Reviewed-on: https://webrtc-review.googlesource.com/93000
Reviewed-by: Sam Zackrisson <saza@webrtc.org>
Commit-Queue: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24253}
2018-08-09 18:41:05 +00:00
b6b1cacd09 Experimental improvements for simulcast screenshare
* Make shorter 4-frame pattern default if 2 temporal layers are used.
* Make DefaultTemporalLayers usable by upper simulcast stream with 2tl.
* If experimental settings are enable, bump the max bitrate for the top
  stream. Since we're now using probing everywhere the rampup should be
  less of an issue.
* Additionally, fixes an issue in full stack tests, where
  ScopedFieldTrials in an experiment would override the
  --force_fieldtrials specified at command line. Some trials added by
  the test bots caused timeouts without this.

Bug: webrtc:9477
Change-Id: I42410605d416b51c4fbfe5b6b850997484af583c
Reviewed-on: https://webrtc-review.googlesource.com/92883
Reviewed-by: Sergey Silkin <ssilkin@webrtc.org>
Commit-Queue: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24252}
2018-08-09 15:10:55 +00:00
d2b9740f48 APM: render pre-processor moved before echo detector queuing.
Any modification of the render stream now happens *before* the
echo detector enqueues render stream frames. In this way, there
is no impact of the render pre-processor on the echo likelihood
metric.

Bug: webrtc:9591
Change-Id: I9b5e339e892796a0d0cd072fdd45d35ec89d8802
Reviewed-on: https://webrtc-review.googlesource.com/93031
Reviewed-by: Per Åhgren <peah@webrtc.org>
Commit-Queue: Alessio Bazzica <alessiob@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24251}
2018-08-09 14:40:31 +00:00
426a80ce08 Add extended header containing frame ID to the generic packetizer.
Also changes default value of frame ID in RTPVideoHeader to
kNoPictureId. Special care should be take so that picture ID will not
be set in RTPVideoHeader unless the client on the end supports
deserializing extended generic header.

Bug: webrtc:9582
Change-Id: Ib096373ed187f31e51d481193a2bda56de68f167
Reviewed-on: https://webrtc-review.googlesource.com/92084
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Sami Kalliomäki <sakal@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24250}
2018-08-09 14:05:39 +00:00
9489c3a2ea Optionally disable digital gain control in ExperimentalAgc.
This CL adds a flag to optionally disable the digital gain control in
ExperimentalAgc. With the flag, Experimental Agc (henceforth AGC1)
only controls the adaptive analog gain. This flag can be combined to
that which activates AGC2. That way, one can enable the hybrid AGC
configuration AGC1 analog only + AGC2 fixed+adaptive digital.

Previously, there was a flag "use_agc2_digital_adaptive" in
AgcManagerDirect. Our ambition was that to activate the hybrid mode
described above with this flag. The behavior of the flag was not
implemented.

To activate the hybrid mode after this CL, set
ExperimentalAgc::digital_adaptive_disabled=true and
AudioProcessing::Config::GainController2::enabled=true.

We also add flags for these settings in audioproc_f.
Then the required settings are currently

  audioproc_f --agc2 1 --agc 1 --experimental_agc 1 \
      --experimental_agc_disable_digital_adaptive 1 \
      -i [INPUT]

Bug: webrtc:7494
Change-Id: Iea798dc3899cec83d30ba71caba787262fcaef41
Reviewed-on: https://webrtc-review.googlesource.com/89740
Commit-Queue: Alex Loiko <aleloi@webrtc.org>
Reviewed-by: Alessio Bazzica <alessiob@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24249}
2018-08-09 13:37:30 +00:00
7b87530fcc Android: Allow YuvConverter to be reused
Similar to how GlDrawer and GlTextureFrameBuffer already works, this
CL updates YuvConverter so that it can be reused after release() has
been called. This makes it more convenient to use, it can be stored
in a final variable, and the resources are lazily allocated on first
usage.

Bug: b/112386285
Change-Id: I437c4c3fd414bc8974df75728f33954b28418e3e
Reviewed-on: https://webrtc-review.googlesource.com/93290
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24248}
2018-08-09 12:36:37 +00:00
5b26bc61b1 cq_name is no longer used and can and should be removed
(according to luci-config)

TBR: phoglund@webrtc.org
Bug: None
No-Try: True
Change-Id: I47f0b746e1c10ded9f672daa67cba0b2f1feddd9
Reviewed-on: https://webrtc-review.googlesource.com/93289
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24247}
2018-08-09 12:12:35 +00:00
7a91e1383e Roll chromium_revision 474eca0589..b0784bef91 (581204:581665)
Manual change: turn off gtest_enable_absl_printers for now since it
appears they broke that mode upstream.

Change log: https://chromium.googlesource.com/chromium/
    src/+log/474eca0589..b0784bef91
Full diff: https://chromium.googlesource.com/chromium/
    src/+/474eca0589..b0784bef91

Changed dependencies:
* src/base: https://chromium.googlesource.com/chromium/src/base/
      +log/8385797d0c..76793f5417
* src/build: https://chromium.googlesource.com/chromium/src/build/
      +log/f24ca38e53..03ce38cdd9
* src/ios: https://chromium.googlesource.com/chromium/src/ios/
      +log/037c6dcb8c..7c0de39a86
* src/testing: https://chromium.googlesource.com/chromium/src/testing/
      +log/75bb85f253..72f3763b1f
* src/third_party: https://chromium.googlesource.com/chromium/src/
      /third_party/+log/51ecceccb2..28c1ea1319
* src/third_party/boringssl/src:
      https://boringssl.googlesource.com/boringssl.git/
           +log/c7db3232c3..6410e18e91
* src/third_party/catapult:
      https://chromium.googlesource.com/catapult.git/
           +log/3cb00fbd56..9aa552b157
* src/third_party/depot_tools:
      https://chromium.googlesource.com/chromium/tools/depot_tools.git/
           +log/2ebf9fdade..dd5051fa52
* src/third_party/googletest/src:
      https://chromium.googlesource.com/external/github.com/google/
           googletest.git/+log/ce468a17c4..d526632675
* src/third_party/libFuzzer/src:
      https://chromium.googlesource.com/chromium/llvm-project/
            compiler-rt/lib/fuzzer.git/+log/9dfdc2758f..658ff786a2
* src/tools: https://chromium.googlesource.com/chromium/src/tools/
      +log/f01fd4bf32..93447e2d7b
DEPS diff: https://chromium.googlesource.com/chromium/src/+/
      474eca0589..b0784bef91/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None

Change-Id: Ib6f1350df21169068cf0ceba08286d41adc9f181
Reviewed-on: https://webrtc-review.googlesource.com/93288
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24246}
2018-08-09 12:11:24 +00:00
9b32e389bf Add compile-only bots (used for binary size) to commit queue
Bug: webrtc:9415
Change-Id: Ib80a0cafe7fd737ad9fcd0ef9e7d24886c5b50e1
No-Try: True
Reviewed-on: https://webrtc-review.googlesource.com/93029
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24245}
2018-08-09 11:41:31 +00:00
151c0cddd7 Add post-submit builders without dcheck_always_on
and remove dcheck_always_on from compile-only bots.

Bug: webrtc:9415
Change-Id: I7f2dc3a5443e5a5658c248be72bec79f3e3c3cca
Reviewed-on: https://webrtc-review.googlesource.com/93027
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24244}
2018-08-09 11:29:15 +00:00
29d8846df9 Remove RTPVideoHeader::vp9() accessors.
TBR=stefan@webrtc.org

Bug: none
Change-Id: Ia2f728ea3377754a16a0b081e25c4479fe211b3e
Reviewed-on: https://webrtc-review.googlesource.com/93024
Commit-Queue: Philip Eliasson <philipel@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24243}
2018-08-09 10:53:28 +00:00
527ff1eec2 Remove raw extensions accessors from rtp packet
These accessors were introduced in https://codereview.webrtc.org/2789773004
for dynamic size extensions.
They are now implemented without need of these raw functions

Bug: None
Change-Id: Id43f0bcbf951d60ebeece49556b093956c5ad2bf
Reviewed-on: https://webrtc-review.googlesource.com/92626
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24242}
2018-08-09 10:43:37 +00:00
8d2995b865 SimulcastEncoderAdapter should not update maxQp for screencast
Bug: webrtc:9608
Change-Id: I70f10c77df6579a24678842a9d9e7a2a528b0c40
Reviewed-on: https://webrtc-review.googlesource.com/93287
Commit-Queue: Erik Språng <sprang@webrtc.org>
Reviewed-by: Sergey Silkin <ssilkin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24241}
2018-08-09 10:21:14 +00:00
43a6d2bbf8 Remove old base64 header
To be landed after 8th Aug 2018

Bug: webrtc:8366
Change-Id: Icf5f2ecbf2e64de93ce3e6758966629f9cc3a2b9
Reviewed-on: https://webrtc-review.googlesource.com/90244
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24240}
2018-08-09 10:06:41 +00:00
9a75061ec6 Add test CallPerfTest.PlaysOutAudioAndVideoInSyncWithoutClockDrift
It's useful to have one test without clock drift, to distinguish
between errors breaking handling of drift, and errors breaking A/V sync
generally.

Bug: None
Change-Id: Ibc1bdab142ef37cb37171b51c00c556907a5ba6e
Reviewed-on: https://webrtc-review.googlesource.com/93283
Commit-Queue: Niels Moller <nisse@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24239}
2018-08-09 09:29:14 +00:00
98d7c52a7c Delete unused constants from rtp_rtcp_config.h
Bug: None
Change-Id: Iced341f0574e26ac3be3292870fb7d7522b75ce1
Reviewed-on: https://webrtc-review.googlesource.com/93280
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24238}
2018-08-09 08:38:51 +00:00
ca14a3a78c Making rtc_base:ptr_util and rtc_base:refcount public.
Bug: None
Change-Id: I6f4b372c087c6d25e8c451ab5577cb3bcb13f6f0
Reviewed-on: https://webrtc-review.googlesource.com/93284
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24237}
2018-08-09 08:34:21 +00:00
5f0ce99c04 Roll chromium_revision 474eca0589..46dc99a535 (581204:581557)
Change log: 474eca0589..46dc99a535
Full diff: 474eca0589..46dc99a535

Changed dependencies:
* src/base: 8385797d0c..87f482e620
* src/build: f24ca38e53..fc78dd3a5b
* src/ios: 037c6dcb8c..5788815182
* src/testing: 75bb85f253..20ed680d2f
* src/third_party: 51ecceccb2..a3f74eae3b
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/3cb00fbd56..9aa552b157
* src/third_party/depot_tools: 2ebf9fdade..dd5051fa52
* src/tools: f01fd4bf32..d6e9edbf64
DEPS diff: 474eca0589..46dc99a535/DEPS

No update to Clang.

TBR=buildbot@webrtc.org,
BUG=None

Change-Id: I5e112aa2b21f0d895488d88c7fc793cd91be8ec2
Reviewed-on: https://webrtc-review.googlesource.com/93043
Commit-Queue: Patrik Höglund <phoglund@google.com>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24236}
2018-08-09 08:26:19 +00:00
1788dcb506 Revert "Refactor RtpVideoStreamReceiver without RtpReceiver."
This reverts commit 0b9e01d605a174a52635626c885738a222abff46.

Reason for revert: Appears to breaks AV sync, failing perftests: 
CallPerfTest.PlaysOutAudioAndVideoInSyncWithVideoNtpDrift
CallPerfTest.PlaysOutAudioAndVideoInSyncWithAudioFasterThanVideoDrift
CallPerfTest.PlaysOutAudioAndVideoInSyncWithVideoFasterThanAudioDrift



Original change's description:
> Refactor RtpVideoStreamReceiver without RtpReceiver.
> 
> Bug: webrtc:7135
> Change-Id: Iabf3330e579b892efc160683f9f90efbf6ff9a40
> Reviewed-on: https://webrtc-review.googlesource.com/92398
> Commit-Queue: Niels Moller <nisse@webrtc.org>
> Reviewed-by: Erik Språng <sprang@webrtc.org>
> Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#24232}

TBR=danilchap@webrtc.org,magjed@webrtc.org,nisse@webrtc.org,sprang@webrtc.org

Change-Id: I70a1dcb519c51937e35e04ac82b2ab495bec0a3d
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:7135
Reviewed-on: https://webrtc-review.googlesource.com/93260
Reviewed-by: Niels Moller <nisse@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24235}
2018-08-09 06:19:14 +00:00
b2db53998d Parse the number of packets lost in RTCP SR as a signed integer.
The cumulative number of packets lost in a RTCP sender report can be
negative if there are duplicates. This CL fixes a bug that the parser of
RTCP reports treats the field as an unsigned integer, and incorrectly
reports large packet losses when a negative loss is reported.

Bug: webrtc:9601
Change-Id: I1109ac0741614d61bda743e13a390b7d3e147a9c
Reviewed-on: https://webrtc-review.googlesource.com/92942
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Commit-Queue: Qingsi Wang <qingsi@google.com>
Cr-Commit-Position: refs/heads/master@{#24234}
2018-08-08 16:44:11 +00:00
25d31ec440 Add shared frame id state to RtpVideoSender.
When using the generic descriptor we want all simulcast streams to share one
frame id space (so that the SFU can switch stream without having to rewrite the
frame id). The state also needs to be restored when the RtpVideoSender is
recreated.

Note that |shared_simulcast_frame_id_| is only added, but not used in this CL.
Actually using it will be part of the next CL.

Bug: webrtc:9361
Change-Id: I7192a06d6ae4cab118ca5996ed99a56888ad1d97
Reviewed-on: https://webrtc-review.googlesource.com/92803
Commit-Queue: Philip Eliasson <philipel@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24233}
2018-08-08 15:28:20 +00:00
0b9e01d605 Refactor RtpVideoStreamReceiver without RtpReceiver.
Bug: webrtc:7135
Change-Id: Iabf3330e579b892efc160683f9f90efbf6ff9a40
Reviewed-on: https://webrtc-review.googlesource.com/92398
Commit-Queue: Niels Moller <nisse@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24232}
2018-08-08 15:21:55 +00:00
a837dd790d Reset Agc2 on analog gain changes.
Agc2 applies a digital gain to the nearend signal.
When the analog level changes, the digital gain calculation is no
longer valid. Therefore Agc2 should be notified to analog gain
changes.

This CL also allow audioproc_f to chain AGC1 and AGC2. In a dependent
CL we will allow using AGC1 for analog gain and AGC2 for digital
gain.

Bug: webrtc:7494
Change-Id: Id75b3728fbf2de1d84b7fba005e4670c7a2985d9
Reviewed-on: https://webrtc-review.googlesource.com/89387
Commit-Queue: Alex Loiko <aleloi@webrtc.org>
Reviewed-by: Alessio Bazzica <alessiob@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24231}
2018-08-08 14:36:37 +00:00
436d036b62 Limits reported cumulative packets lost to 0.
This ensures that we don't break clients that can't handle
negative values.

Bug: webrtc:9598
Change-Id: I33c3933982577752eceb738d7e0bd2a6825d2249
Reviewed-on: https://webrtc-review.googlesource.com/93020
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Magnus Flodman <mflodman@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24230}
2018-08-08 13:27:36 +00:00
2a15267cb7 Fix comment on RtpVideoSender's ownership of Rtp modules.
Followup to cl https://webrtc-review.googlesource.com/c/src/+/88240.

Bug: webrtc:9517
Change-Id: I51035f78c0930cd8ad1fd7d6036b184229078af3
Reviewed-on: https://webrtc-review.googlesource.com/93023
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24229}
2018-08-08 13:15:27 +00:00
848d6d300e Change Channel::GetRtpRtcp to return only RtpRtcp, not RtpReceiver.
For use in AudiReceiveStream, introduce a new method GetSyncInfo. This
change is analogous to https://webrtc-review.googlesource.com/91123,
doing the same for RtpVideoStreamReceiver. It's a preparation for
bypassing the RtpReceiver class.

Bug: webrtc:7135
Change-Id: I87c1c6f0a1f28b0baebe07c4181f6f0427afa314
Reviewed-on: https://webrtc-review.googlesource.com/93022
Reviewed-by: Oskar Sundbom <ossu@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24228}
2018-08-08 11:45:21 +00:00
43fa99c0ab Release output buffer when dropping frame in HardwareVideoDecoder.
Bug: webrtc:9128
Change-Id: I0952367f74eea4603b74d822dc13b231bcba5ff6
Reviewed-on: https://webrtc-review.googlesource.com/68520
Commit-Queue: Sami Kalliomäki <sakal@webrtc.org>
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24227}
2018-08-08 11:41:09 +00:00
8e5014a392 Remove definition and usage of macro GTEST_RELATIVE_PATH.
The macro GTEST_RELATIVE_PATH is obsolete and since it is always
defined this CL just removes it.

Bug: webrtc:9564
Change-Id: Ieafa5b77351c4df87864588ba6b3de8f60d54e89
Reviewed-on: https://webrtc-review.googlesource.com/92080
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24226}
2018-08-08 11:00:11 +00:00
c2342031f4 Remove rtc::{Make,Wrap}Unique and their header file + unit tests
We've switched to absl::make_unique and absl::WrapUnique.

Bug: webrtc:9473
Change-Id: I08aef72d52b571c511c0f4adb4c68d6cc2654192
Reviewed-on: https://webrtc-review.googlesource.com/87262
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24225}
2018-08-08 10:45:52 +00:00