21728 Commits

Author SHA1 Message Date
Autoroller
451dfdf6db Roll chromium_revision 7a8a322ad7..163641576c (543921:544029)
Change log: 7a8a322ad7..163641576c
Full diff: 7a8a322ad7..163641576c

Changed dependencies:
* src/build: de87b44a7f..4410b727d4
* src/testing: 6f09eccc24..f0027c8059
* src/third_party: 432c55f861..3f6c9f2075
* src/tools: b3c542c8dc..b34742185b
DEPS diff: 7a8a322ad7..163641576c/DEPS

No update to Clang.

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

Change-Id: I78b3f37a864c9160ad7042037bd31ca5265020fe
Reviewed-on: https://webrtc-review.googlesource.com/62882
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22496}
2018-03-19 15:19:01 +00:00
philipel
0fa82a60e9 Moved FrameKey to api/video/encoded_frame.h and renamed it to VideoLayerFrameId.
Since we want the VideoStreamDecoder to callback with the last
continuous frame we need to move the FrameKey into the public API.

Bug: webrtc:8909
Change-Id: I39634145d848b8163778e31a1e0d04d91f9bbeb8
Reviewed-on: https://webrtc-review.googlesource.com/60864
Commit-Queue: Philip Eliasson <philipel@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22495}
2018-03-19 15:13:11 +00:00
Oleh Prypin
9c1ee368e0 Fix low_bandwidth_audio_perf_test resource dependency on Android
The executable that's pushed to the device must depend on all
files that need to be on the device.

No-Try: True
TBR: phoglund@webrtc.org
Bug: chromium:755660
Change-Id: Iee041bd51e789e3ce6612fbda1582286a5cf4680
Reviewed-on: https://webrtc-review.googlesource.com/62961
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22494}
2018-03-19 15:02:51 +00:00
Alex Loiko
b9a02e523c Change place of UMA logging in AudioMixer.
And fix typo in UMA metric.

We have this pattern in the FrameCombiner component of the AudioMixer:

  if (number_of_streams <= 1) {
    // Copy or fill with zeros.
    return;
  }
  // Mix and limit
  LogMixingStats(/* args */);

When there is only one remote stream, info about active streams and
sample rate is not logged. This CL moves the call to log stats before
the 'return'.

Bug: webrtc:8925
Change-Id: I7b54f61f628273631909dafbfafa21e155e18d4a
Reviewed-on: https://webrtc-review.googlesource.com/62860
Reviewed-by: Alessio Bazzica <alessiob@webrtc.org>
Commit-Queue: Alex Loiko <aleloi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22493}
2018-03-19 14:10:51 +00:00
Sebastian Jansson
537012405b Replacing unique pointer with raw pointer in SSCC checks.
Replacing the unique pointer used for access checks with a raw pointer
pointing to the object owned by the unique pointer. This is to stop
tsan from detecting a race between .get() done on the task queue and
.reset() done in the destructor.

Bug: webrtc:8415
Change-Id: Iae2ea9a2d38f319e73146e6b1e360b11b1708c76
Reviewed-on: https://webrtc-review.googlesource.com/62560
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22492}
2018-03-19 13:46:41 +00:00
Oleh Prypin
04d49500e2 Revert "Using safe casts of allocation limits in Call."
This reverts commit 4a9b4d6332f596867d2a8fb34ff5b4befb9848eb.

Reason for revert: Breaks downstream projects

Original change's description:
> Using safe casts of allocation limits in Call.
> 
> Bug: None
> Change-Id: I71d0e1f92bf820d117b354dd7701c9c719cc2c0a
> Reviewed-on: https://webrtc-review.googlesource.com/61784
> Commit-Queue: Sebastian Jansson <srte@webrtc.org>
> Reviewed-by: Niels Moller <nisse@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#22490}

TBR=nisse@webrtc.org,srte@webrtc.org

Change-Id: I720e97981574fd152cb7ed4204e29f9ea0b2e909
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: None
Reviewed-on: https://webrtc-review.googlesource.com/62920
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22491}
2018-03-19 13:29:52 +00:00
Sebastian Jansson
4a9b4d6332 Using safe casts of allocation limits in Call.
Bug: None
Change-Id: I71d0e1f92bf820d117b354dd7701c9c719cc2c0a
Reviewed-on: https://webrtc-review.googlesource.com/61784
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22490}
2018-03-19 12:18:51 +00:00
Sebastian Jansson
8d8cb56f3e Delete obsolete methods from MockRtpTransportControllerSend
Removing functions that has been removed from
RtpTransportControllerSendInterface from
MockRtpTransportControllerSend.

Deleted functions: GetPacerModule, GetModule,
SetTransportOverhead and AvailableBandwidth.

Bug: webrtc:8415
Change-Id: I24d460bd18d57966e3b333ce0c234c3e3dc19a9a
Reviewed-on: https://webrtc-review.googlesource.com/62762
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22489}
2018-03-19 11:42:11 +00:00
Oleh Prypin
b708e93ad0 Bring mb up to date with Chromium's changes
Bug: None
Change-Id: I87abffb0bba6ee945447f3e651a505d7602fa15d
Reviewed-on: https://webrtc-review.googlesource.com/62641
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22488}
2018-03-19 11:17:41 +00:00
Tommi
8d2c5a810f Detangling target dependencies in rtc_base_approved.
The eventual goal is to allow PlatformThread to use
SequencedTaskChecker, but getting to that point will require
some more detangling.

Here are (roughly) the steps taken in this CL:
* Make constructormagic a separate target.
* Move atomicops and arraysize to separate targets
* Move platform_thread_types to a separate target
* Move criticalsection to a separate target
* Move thread_checker to separate target
* Make sequenced_task_checker not depend on base_approved
* Move ptr_util to a separate target
* Move scoped_ptr to ptr_util
* Make rtc_task_queue_api not depend on base_approved
* Make sequenced_task_checker depend on rtc_task_queue_api
* Move rtc::Event to its own target
* Move basictypes.h to constructormagic
* Move format_macros and stringize_macros into constructormagic
* Rename constructormagic target to... macromagic
* Move stringencode to stringutils
* New target for safe_conversions
* Move timeutils to a new target.
* Move logging to a new target.
* Move platform_thread to a new target.
* Make refcount a new target (refcount, refcountedobject, refcounter).
* Remove rtc_base_approved from deps of TQ
* Remove a circular dependency between event tracer and platform thread.

Further steps will probably be to factor TaskQueue::Current() to not
be a part of the TaskQueue class itself and have it declared+implemented
in a target that's lower level than TQ itself. SequencedTaskChecker can
then depend on that target and avoid the TQ dependency. Once we're there,
PlatformThread will be able to depend on SequencedTaskChecker.

Attempted but eventually removed from this CL:
* Make TQ a part of rtc_base_approved
* Remove direct dependencies on sequenced_task_checker.
* Profit.

A few include-what-you-use updates along the way.
Fix a few targets that were depending on rtc_task_queue_api

Change-Id: Iee79aa2e81d978444c51b3005db9df7dc12d92a9
Bug: webrtc:8957
Reviewed-on: https://webrtc-review.googlesource.com/58480
Commit-Queue: Tommi <tommi@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22487}
2018-03-19 11:02:01 +00:00
Oleh Prypin
7b2676fee9 Fix low_bandwidth_audio_perf_test binary dependency on Windows
The split in https://webrtc-review.googlesource.com/c/src/+/62660
broke it.

No-Try: True
Bug: chromium:755660
Change-Id: I664f022cac9f8e7e0bb64a7cb59992f030543aa6
Reviewed-on: https://webrtc-review.googlesource.com/62801
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22486}
2018-03-19 10:54:11 +00:00
Mirko Bonadei
d2c8332e2b Revert "Relaxing no-streams presubmit check (streams are allowed in tests)."
This reverts commit 73ac90863d339599e6fc42fc5228282f479ebc0d.

Reason for revert: Sometimes 'gn refs' exits with status 1.

Original change's description:
> Relaxing no-streams presubmit check (streams are allowed in tests).
> 
> It is actually fine to use streams in testonly code. This CL relaxes
> the presubmit check in order allow streams usage in tests.
> 
> Bug: webrtc:8982
> Change-Id: I18bbf079e804815956cd94ac761cc13022c0761e
> No-Try: True
> Reviewed-on: https://webrtc-review.googlesource.com/61701
> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
> Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
> Reviewed-by: Sebastian Jansson <srte@webrtc.org>
> Reviewed-by: Tomas Gunnarsson <tommi@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#22482}

TBR=phoglund@webrtc.org,mbonadei@webrtc.org,tommi@webrtc.org,srte@webrtc.org,tommi@chromium.org

Change-Id: I053b953896ca66be26835b60fb245d5ac0832294
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:8982
Reviewed-on: https://webrtc-review.googlesource.com/62780
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22485}
2018-03-19 10:32:02 +00:00
Anders Carlsson
7311918269 Add an example app for iOS native API.
Demonstrates how to use the iOS native API to wrap components into
C++ classes.

This CL also introduces a native API wrapper for the capturer.

The C++ code is forked from the corresponding CL for Android at
https://webrtc-review.googlesource.com/c/src/+/60540

Bug: webrtc:8832
Change-Id: I12d9f30e701c0222628e329218f6d5bfca26e6e0
Reviewed-on: https://webrtc-review.googlesource.com/61422
Commit-Queue: Anders Carlsson <andersc@webrtc.org>
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22484}
2018-03-19 09:31:06 +00:00
Oleh Prypin
8cf0a87bc3 Reland "Split perf-test-specific resources in low_bandwidth_audio_test"
This is a reland of 4bbc150b18e961811991e3e524378e703b6d5b31

Now with explicitly specified `write_runtime_deps`

Original change's description:
> Split perf-test-specific resources in low_bandwidth_audio_test
>
> Bug: chromium:755660
> Change-Id: I7c60a47b26ad86892218497f28a09a04574077e6
> Reviewed-on: https://webrtc-review.googlesource.com/61961
> Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
> Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#22439}

Bug: chromium:755660
TBR: phoglund@webrtc.org
Change-Id: I3d4bcc5156ee25de399ab23773ecb73cd995075c
Reviewed-on: https://webrtc-review.googlesource.com/62660
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22483}
2018-03-19 09:30:01 +00:00
Mirko Bonadei
73ac90863d Relaxing no-streams presubmit check (streams are allowed in tests).
It is actually fine to use streams in testonly code. This CL relaxes
the presubmit check in order allow streams usage in tests.

Bug: webrtc:8982
Change-Id: I18bbf079e804815956cd94ac761cc13022c0761e
No-Try: True
Reviewed-on: https://webrtc-review.googlesource.com/61701
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Tomas Gunnarsson <tommi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#22482}
2018-03-19 09:08:51 +00:00
Oleh Prypin
9fa35e5285 Fix path to proto in py_event_log_analyzer/pb_parse.py
Bug: chromium:611808
No-Try: True
Change-Id: I173f0270a07896d9edddfef6b68592e6b404ecab
Reviewed-on: https://webrtc-review.googlesource.com/62680
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22481}
2018-03-19 07:42:35 +00:00
Autoroller
8a1b20a213 Roll chromium_revision 33aa22e76e..7a8a322ad7 (543816:543921)
Change log: 33aa22e76e..7a8a322ad7
Full diff: 33aa22e76e..7a8a322ad7

Changed dependencies:
* src/base: fcec2204ef..e9b524587a
* src/build: 7642603cf6..de87b44a7f
* src/ios: 35a984f205..4fdd9e6dda
* src/testing: 89d9194c5a..6f09eccc24
* src/third_party: 9bae82ef2a..432c55f861
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/16322a374a..fa0f0f2dd7
* src/third_party/depot_tools: a3a80b6908..544b744621
* src/tools: 0160a47e0e..b3c542c8dc
DEPS diff: 33aa22e76e..7a8a322ad7/DEPS

No update to Clang.

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

Change-Id: I93e31890399309d4abffaa1cda5df6870cb06bac
Reviewed-on: https://webrtc-review.googlesource.com/62466
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22480}
2018-03-17 03:17:12 +00:00
Autoroller
cdd2a97f5a Roll chromium_revision ce851e47bd..33aa22e76e (543685:543816)
Change log: ce851e47bd..33aa22e76e
Full diff: ce851e47bd..33aa22e76e

Changed dependencies:
* src/base: ebff846f9a..fcec2204ef
* src/build: e3927e7faf..7642603cf6
* src/ios: 55282d1a03..35a984f205
* src/testing: ab79f563a8..89d9194c5a
* src/third_party: c0d8139005..9bae82ef2a
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/6733f34199..16322a374a
* src/tools: a6bb2c2717..0160a47e0e
DEPS diff: ce851e47bd..33aa22e76e/DEPS

Clang version changed 325667:327688
Details: ce851e47bd..33aa22e76e/tools/clang/scripts/update.py

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

Change-Id: I04740d14cad49dda48b532b9279241783e1d301d
Reviewed-on: https://webrtc-review.googlesource.com/62460
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22479}
2018-03-16 21:20:21 +00:00
Sebastian Jansson
317a522876 Fixes to posting delayed process tasks in SSCC.
The task queue based SendSideCongestionController (SSCC) was accessing
a unique pointer to the task queue from the task queue itself. This
triggered a tsan check failure when resetting the same unique pointer.

Also move declaration of SSCC member in RtpTransportControllerSend last,
to ensure that it, and its TaskQueue, are destroyed before other members.

Bug: webrtc:8415
Change-Id: I75c93f41deab637f7e4766ac4b61713c86f866e9
Reviewed-on: https://webrtc-review.googlesource.com/62143
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22478}
2018-03-16 15:28:21 +00:00
Oskar Sundbom
4ccc1c4bb6 Don't destroy a receive stream's sink before reassigning it.
Bug: chromium:820901
Change-Id: If1f2ea82172154c8645baf5fbbba3acf17ddc19b
Reviewed-on: https://webrtc-review.googlesource.com/62346
Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org>
Commit-Queue: Oskar Sundbom <ossu@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22477}
2018-03-16 15:01:52 +00:00
Patrik Höglund
3bb1194fff Revert "Add 'is_chrome_branded' guard to the default of 'rtc_use_h264'"
This reverts commit d3070f43b19f503246be4ebad425d87568a71ce0.

Reason for revert: Need to re-enable h264 tests.

Original change's description:
> Add 'is_chrome_branded' guard to the default of 'rtc_use_h264'
> 
> This doesn't change behavior at the moment because Chromium's
> 'proprietary_codecs' is already conditional on 'is_chrome_branded'
> but this guards WebRTC's default from upstream changes like
> https://chromium-review.googlesource.com/c/chromium/src/+/835010/6/build/config/features.gni
> 
> TBR=phoglund@webrtc.org
> 
> Bug: webrtc:8675
> Change-Id: Ic2ae311b5fc70a4d1ac1aefe4cc27574e4fcee40
> Reviewed-on: https://webrtc-review.googlesource.com/36321
> Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
> Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
> Reviewed-by: Henrik Boström <hbos@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#21452}

TBR=phoglund@webrtc.org,oprypin@webrtc.org,hbos@webrtc.org

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

Bug: webrtc:8675
Change-Id: I97e5b25fb638e9d4731ac9610f9f6009a3789578
Reviewed-on: https://webrtc-review.googlesource.com/62380
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22476}
2018-03-16 14:34:21 +00:00
Autoroller
35468356d6 Roll chromium_revision e0e02de5a7..ce851e47bd (543578:543685)
Change log: e0e02de5a7..ce851e47bd
Full diff: e0e02de5a7..ce851e47bd

Changed dependencies:
* src/base: f623956778..ebff846f9a
* src/build: 7757432a81..e3927e7faf
* src/ios: 2bfb2ab258..55282d1a03
* src/testing: 654bce3959..ab79f563a8
* src/third_party: c5d96c8e03..c0d8139005
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/36d08eec1a..6733f34199
* src/tools: b0ce060f3b..a6bb2c2717
DEPS diff: e0e02de5a7..ce851e47bd/DEPS

No update to Clang.

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

Change-Id: I8faad77fb9f732699f16d42f6f9bf927076d8883
Reviewed-on: https://webrtc-review.googlesource.com/62365
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22475}
2018-03-16 14:25:41 +00:00
Niels Möller
bf3dbb4a69 Delete payload_type from VCMEncoderDatabase and vcm::VideoSender.
Bug: webrtc:8830
Change-Id: Ie6a874023618a5540e138b34edfcad1ce6e8d391
Reviewed-on: https://webrtc-review.googlesource.com/62102
Commit-Queue: Niels Moller <nisse@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22474}
2018-03-16 13:43:01 +00:00
Niels Möller
5bf8ccdfa0 Delete encoder caching in WebRtcVideoSendStream.
This is a followup to https://webrtc-review.googlesource.com/61640,
which ensures that picture id and tl0 pic idx are continuous,
independent of how the encoder objects are created and destroyed.

The plan is to later move responsibility for encoder creation to
VideoSendStream::ReconfigureVideoEncoder, delegating work to
VideoStreamEncoder.

Bug: webrtc:8830
Change-Id: Idde5c91f24d3c0e3fa6a3bb26eb06f6800896a28
Reviewed-on: https://webrtc-review.googlesource.com/62082
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22473}
2018-03-16 13:20:21 +00:00
Åsa Persson
677f42c679 Enable ContinuousAfterStreamCountChangeSimulcastEncoderAdapter picture id tests.
Support added in: https://webrtc-review.googlesource.com/c/src/+/61640

The tests are no longer related to any field trial.

Bug: none
Change-Id: I42dbdf23fa44953a139177a6693630507152e2ef
Reviewed-on: https://webrtc-review.googlesource.com/62345
Commit-Queue: Åsa Persson <asapersson@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22472}
2018-03-16 13:18:41 +00:00
Cameron Pickett
d132ce1f67 Remove unnecessary copies from AsyncInvoke
Currently, the way the AsyncInvoke is implemented, the lambda invoked is copied multiple times. This causes two problems: (1) a reduced performance where captured variables are copied unnecessarily, (2) lambdas with non-copyable captures are not possible to invoke.

This cl attempts to address both points.

Change-Id: I8d907287d6e4851330d469f184760d165fa8bc08
Bug: webrtc:9028
Reviewed-on: https://webrtc-review.googlesource.com/61346
Commit-Queue: Tommi <tommi@webrtc.org>
Reviewed-by: Tommi <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22471}
2018-03-16 13:09:18 +00:00
Ilya Nikolaevskiy
465a5d9263 Refactor payload types constants in CallTest
Bug: webrtc:7974
Change-Id: I99e26b76723255731d17b9219f8eb2b37f37ffc9
Reviewed-on: https://webrtc-review.googlesource.com/62343
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22470}
2018-03-16 11:57:47 +00:00
Niels Möller
af9e87b8c5 Delete unused methods from vcm::VideoCodingModule.
Bug: None
Change-Id: Ia6871d486b507a08f4303d1f0da00829afbebb0e
Reviewed-on: https://webrtc-review.googlesource.com/62101
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22469}
2018-03-16 11:27:47 +00:00
Erik Språng
eef09fc42d Fix race in DegradedCall::DestroyVideoSendStream
VideoSendStream might call SendRtp or SendRtcp asynchronously (for
instance periodic RTCP messages), so we must destroy the VideoSendStream
before FakeNetworkPipe, otherwise might crash in DegradedCall::SendRtcp.

Bug: webrtc:8910
Change-Id: I18e76c40a5213bd7378a39acba100edd9e2a193b
Reviewed-on: https://webrtc-review.googlesource.com/62341
Commit-Queue: Erik Språng <sprang@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22468}
2018-03-16 10:23:47 +00:00
henrika
883d00f7d1 Add support of AAudio in native WebRTC on Android O and above
Bug: webrtc:8914
Change-Id: I016dd8fcebba1644c0a83e5f1460520545d4cdde
Reviewed-on: https://webrtc-review.googlesource.com/56180
Commit-Queue: Henrik Andreassson <henrika@webrtc.org>
Reviewed-by: Oskar Sundbom <ossu@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22467}
2018-03-16 10:20:27 +00:00
Kári Tristan Helgason
815f3b6b71 Fix podspec iOS version.
Bug: webrtc:9024
Change-Id: Ia5bf6c181a4f1b356ca156f9e8c8cadea8083b73
Reviewed-on: https://webrtc-review.googlesource.com/62340
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Commit-Queue: Kári Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22466}
2018-03-16 09:30:27 +00:00
Patrik Höglund
7696bef463 Remove the public_deps to fileutils from test_support.
Bug: webrtc:8946
Change-Id: Ia01d8bb1b42485e29f26792b9266228743d7fd90
No-Presubmit: true
Reviewed-on: https://webrtc-review.googlesource.com/62100
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22465}
2018-03-16 09:06:27 +00:00
Autoroller
4de9eb22ab Roll chromium_revision bc2c5b551b..e0e02de5a7 (543473:543578)
Change log: bc2c5b551b..e0e02de5a7
Full diff: bc2c5b551b..e0e02de5a7

Changed dependencies:
* src/base: 8449ca7b1f..f623956778
* src/build: 6e0d588da1..7757432a81
* src/ios: bb9e65b52a..2bfb2ab258
* src/testing: 00c421bed2..654bce3959
* src/third_party: d363b06a95..c5d96c8e03
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/1446cf3fe8..36d08eec1a
* src/third_party/ffmpeg: 4468d4967f..02ec9ce5a9
* src/tools: fc3b7403bf..b0ce060f3b
DEPS diff: bc2c5b551b..e0e02de5a7/DEPS

No update to Clang.

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

Change-Id: I8334e0a97e31217ad74954a50c80fb44df09b882
Reviewed-on: https://webrtc-review.googlesource.com/62280
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22464}
2018-03-16 01:18:27 +00:00
Autoroller
8870f553f3 Roll chromium_revision d94f7320ab..bc2c5b551b (543368:543473)
Change log: d94f7320ab..bc2c5b551b
Full diff: d94f7320ab..bc2c5b551b

Changed dependencies:
* src/base: 751c052320..8449ca7b1f
* src/build: dc985808be..6e0d588da1
* src/ios: 7517940e09..bb9e65b52a
* src/testing: 238abddbaa..00c421bed2
* src/third_party: 974c55a487..d363b06a95
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/6c4a8ca2e9..1446cf3fe8
* src/third_party/googletest/src: 703b4a85a2..a325ad2db5
* src/tools: f9d79def78..fc3b7403bf
DEPS diff: d94f7320ab..bc2c5b551b/DEPS

No update to Clang.

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

Change-Id: I5ed026f345aecf067452cf704a6ad51bda4724ce
Reviewed-on: https://webrtc-review.googlesource.com/62200
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22463}
2018-03-15 20:40:07 +00:00
Alex Luebs
24c220c178 Changed target_angle_degrees in audioproc_float to float to avoid integer division when converting to radians
Change-Id: I1b12d03524c34ed3fc4da89216539fd31a5c703b

Bug: none
Change-Id: I1b12d03524c34ed3fc4da89216539fd31a5c703b
Reviewed-on: https://webrtc-review.googlesource.com/61942
Commit-Queue: Alejandro Luebs <aluebs@webrtc.org>
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22462}
2018-03-15 19:01:47 +00:00
Per Åhgren
895ae9a0cd Improving the speed of the delay estimator in AEC3
This CL significantly improves the response time
of the AEC3 delay estimator to audio buffer issues.

The CL adds ensures that the delay estimator
correlators reacts to buffer issues from the
zero state which is much faster than if it has already
achieved a state matching a previous alignment.

The CL has been extensively tested on offline
recordings.

Bug: webrtc:9023, chromium:822245
Change-Id: Ic149b9429e592d4c3535eb8432582f435a1b4745
Reviewed-on: https://webrtc-review.googlesource.com/62081
Commit-Queue: Per Åhgren <peah@webrtc.org>
Reviewed-by: Ivo Creusen <ivoc@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22461}
2018-03-15 16:38:07 +00:00
Ilya Nikolaevskiy
1d037ae704 Don't crash in SingleNalu packetization for h264 if no space in packet
Also, pass correct max payload data size to encoders: now accounting for
rtp headers.

Bug: chromium:819259
Change-Id: I586924e9246218fab6072e05eca894925cfe556e
Reviewed-on: https://webrtc-review.googlesource.com/61425
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org>
Reviewed-by: Åsa Persson <asapersson@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22460}
2018-03-15 15:42:57 +00:00
Ilya Nikolaevskiy
4425b055f9 Add video send stream test to check switch to and from screenshare
Bug: webrtc:9005
Change-Id: I07b0a0f68115d5043ef6349e17b3a6bf56a51040
Reviewed-on: https://webrtc-review.googlesource.com/61820
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22459}
2018-03-15 15:41:12 +00:00
Sebastian Jansson
aca5a7df73 Improvements to network control types.
This CL prepares for adding the BBR network controller and
unit tests for GoogCC network controller.

The changes include:
* Adding pad_rate helper method on PacerConfig.
* Adding ostream operators for controller feedback structs.
* Adding increment operator to Timestamp class.
* Adding kEpoch to Timestamp class to represent 0.
* Rounding when multiplying with double.

Bug: webrtc:8415
Change-Id: I58289f37a6f9f2eee0a88bb06fb24dc295942862
Reviewed-on: https://webrtc-review.googlesource.com/61503
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22458}
2018-03-15 15:40:08 +00:00
Autoroller
dfe6bcdcd2 Roll chromium_revision 670c468885..d94f7320ab (543262:543368)
Change log: 670c468885..d94f7320ab
Full diff: 670c468885..d94f7320ab

Changed dependencies:
* src/base: 2517dfef59..751c052320
* src/build: 76da9f5d43..dc985808be
* src/ios: 54dc4fbd85..7517940e09
* src/testing: 248864d6ec..238abddbaa
* src/third_party: 9cf6350368..974c55a487
* src/third_party/depot_tools: 1c9c003404..a3a80b6908
* src/tools: 2739518d82..f9d79def78
DEPS diff: 670c468885..d94f7320ab/DEPS

No update to Clang.

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

Change-Id: Ib5ee73027de78a2dd354727cac80c5175040e276
Reviewed-on: https://webrtc-review.googlesource.com/61955
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22457}
2018-03-15 15:30:17 +00:00
Dino Radaković
56f9f0eed1 Make task_queue_ injectable by wrapping it into a std::unique_ptr and adding an optional arg to the constructor of RtcEventLogImpl.
Bug: webrtc:9004
Change-Id: I46336ba4f6464d806f0fb8549f98faea69a5f748
Reviewed-on: https://webrtc-review.googlesource.com/61420
Commit-Queue: Dino Radaković <dinor@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Reviewed-by: Elad Alon <eladalon@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22456}
2018-03-15 15:07:27 +00:00
Alex Narest
3ab1d262bc Exposing WebRTC-Audio-SendSideBwe-For-Video field trial
Bug: webrtc:9019
Change-Id: I77f004ed3325b04e1b43510caedeb30c6daa8979
Reviewed-on: https://webrtc-review.googlesource.com/62060
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Commit-Queue: Alex Narest <alexnarest@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22455}
2018-03-15 14:19:47 +00:00
Oleh Prypin
650a826cda Revert "Reland "Split perf-test-specific resources in low_bandwidth_audio_test""
This reverts commit b3808dcc36e4dca8b3d2b68c79e20c5888397690.

Reason for revert: Still fails to generate runtime_deps

Original change's description:
> Reland "Split perf-test-specific resources in low_bandwidth_audio_test"
> 
> This is a reland of 4bbc150b18e961811991e3e524378e703b6d5b31
> 
> Now using rtc_source_set to be able to generate runtime deps
> 
> Original change's description:
> > Split perf-test-specific resources in low_bandwidth_audio_test
> >
> > Bug: chromium:755660
> > Change-Id: I7c60a47b26ad86892218497f28a09a04574077e6
> > Reviewed-on: https://webrtc-review.googlesource.com/61961
> > Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
> > Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
> > Cr-Commit-Position: refs/heads/master@{#22439}
> 
> No-Try: True
> Bug: chromium:755660
> Change-Id: I66eda6f016c98e2a8a99f230d9e0323cc09e4976
> Reviewed-on: https://webrtc-review.googlesource.com/62020
> Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
> Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#22450}

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

Change-Id: I781e3172416164e6d313574a31e4c982de8bcd9c
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:755660
Reviewed-on: https://webrtc-review.googlesource.com/62120
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22454}
2018-03-15 13:52:47 +00:00
Sebastian Jansson
63b7574850 Add check for negative max bitrate in VideoSendStream.
The encoder_max_bitrate_bps_ was checked to be > 0 but since it is
unsigned and the value came from the signed initial_encoder_max_bitrate
negative values were allowed and resulted in using UINT32_MAX.

This CL adds a check for negative input values and uses a safer default.

Bug: None
Change-Id: Ia12ea406091ab9c3a498ecf554f18ba2628ecbe5
Reviewed-on: https://webrtc-review.googlesource.com/61783
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22453}
2018-03-15 13:49:47 +00:00
Paulina Hensman
7bd79a0089 Split up audio_device build target
We currently have one build target containing everything for audio_device: the interfaces,
the "fine" audio buffer, and the actual implementations for each platform.
Since we are planning to move the Android implementation to the sdk/android folder,
we only want to depend on the interfaces and the "fine" audio buffer, not the other platform
specific implementations. This CL splits the audio_device target into three different targets:
the interfaces, the fine audio buffer, and the platform specific implementations. The default
audio_device target now points to the interfaces instead.

Bug: webrtc:7452
Change-Id: I57e849cc6f4087d950fa02d969ecc682934839cd
Reviewed-on: https://webrtc-review.googlesource.com/61321
Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org>
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22452}
2018-03-15 13:47:17 +00:00
Per Åhgren
5f1a31c565 Adding a smooth transition from the startup phase parameter set in AEC3
This CL ensures a smooth transition from the parameters used during
the startup phase in the call to the parameters used in the rest of the
call. This is achieved by slowly transitioning between the parameter
sets via interpolation.

Bug: chromium:819240,webrtc:8983
Change-Id: Ifbac4b93fc6ad6efc441f41fb88ef09e8ee3d669
Reviewed-on: https://webrtc-review.googlesource.com/60360
Reviewed-by: Jesus de Vicente Pena <devicentepena@webrtc.org>
Commit-Queue: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22451}
2018-03-15 13:38:16 +00:00
Oleh Prypin
b3808dcc36 Reland "Split perf-test-specific resources in low_bandwidth_audio_test"
This is a reland of 4bbc150b18e961811991e3e524378e703b6d5b31

Now using rtc_source_set to be able to generate runtime deps

Original change's description:
> Split perf-test-specific resources in low_bandwidth_audio_test
>
> Bug: chromium:755660
> Change-Id: I7c60a47b26ad86892218497f28a09a04574077e6
> Reviewed-on: https://webrtc-review.googlesource.com/61961
> Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
> Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#22439}

No-Try: True
Bug: chromium:755660
Change-Id: I66eda6f016c98e2a8a99f230d9e0323cc09e4976
Reviewed-on: https://webrtc-review.googlesource.com/62020
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22450}
2018-03-15 13:04:57 +00:00
Ivo Creusen
2cb4105224 Moved audioproc_f interface into api directory.
The interface of the audioproc_f tool should be located in the api/ directory, so it becomes visible to the outside world.

Bug: webrtc:8732
Change-Id: Ia7475883aeb0e1f7a6afa5e791204b38dc53a8b8
Reviewed-on: https://webrtc-review.googlesource.com/61801
Commit-Queue: Ivo Creusen <ivoc@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22449}
2018-03-15 12:31:37 +00:00
Niels Möller
bb894ffcb4 Make PayloadRouter own the picture id and tl0 pic idx sequences.
It previously owned only the picture id and only in the
WebRTC-VP8-Forced-Fallback-Encoder-v2 experiment.

Moving responsibility to PayloadRouter ensures that  both
picture id and tl0 idx are continuous over codec changes,
as required by the specs for VP8 and VP9 over RTP.

Bug: webrtc:8830
Change-Id: Ie77356dfec6d1e372b6970189e4c3888451920e6
Reviewed-on: https://webrtc-review.googlesource.com/61640
Commit-Queue: Niels Moller <nisse@webrtc.org>
Reviewed-by: Åsa Persson <asapersson@webrtc.org>
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22448}
2018-03-15 12:22:07 +00:00
Patrik Höglund
9f64b9c6fe Reland "Remove unnecessary dependency on base."
This reverts commit b3bac5ec26d7679b9e3b74b24f0859548a354cb4.

Reason for revert: Turns out this patch was innocent.

> Original change's description:
> > Remove unnecessary dependency on base.
> > 
> > Why this dep is here is lost to history. Everything works
> > without it though.
> > 
> > Bug: webrtc:8821
> > Change-Id: Ie0d763fb8a6508f7177a2f4bc9b7d909b9b02eb6
> > Reviewed-on: https://webrtc-review.googlesource.com/61962
> > Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
> > Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
> > Cr-Commit-Position: refs/heads/master@{#22441}
> 

TBR=phoglund@google.com,phoglund@webrtc.org,mbonadei@webrtc.org

Change-Id: I557d7e804c1a22d08a5418ce017f0e56e03a8449
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:8821
Reviewed-on: https://webrtc-review.googlesource.com/62000
Reviewed-by: Patrik Höglund <phoglund@google.com>
Commit-Queue: Patrik Höglund <phoglund@google.com>
Cr-Commit-Position: refs/heads/master@{#22447}
2018-03-15 12:15:17 +00:00