18172 Commits

Author SHA1 Message Date
saza
5de068082b Add a check in the BlockBuffer of AEC2 to guard for buffer overflows.
Ensure that the ring buffer does not return a pointer into the buffer if
no data is available to read.

The ring buffer fix is not directly applicable to issue webrtc:7845, but may cause related memory errors.

BUG=webrtc:7845

Review-Url: https://codereview.webrtc.org/2971313002
Cr-Commit-Position: refs/heads/master@{#18940}
2017-07-10 08:01:09 +00:00
Jonathan Yu
3ffa72d0f0 Add AudioFrame::ResetWithoutMuting() to address performance regression.
Prior to https://codereview.webrtc.org/2750783004/ Reset() intentionally
did not zero out the buffer. After that change, callers calling Reset()
and then mutable_data() were performing a wasteful zeroing.

This change adds ResetWithoutMuting() to match the old behavior and
switches the sole non-test caller of Reset() to use ResetWithoutMuting()
instead.

Prior to this change (optimized, Linux):
$ out/Default/webrtc_perf_tests --gtest_filter=NetEqPerformanceTest.Run* \
  --gtest_repeat=10 | grep neteq_performance
*RESULT neteq_performance: 10_pl_10_drift= 4051 ms
*RESULT neteq_performance: 0_pl_0_drift= 1768 ms
*RESULT neteq_performance: 10_pl_10_drift= 3666 ms
*RESULT neteq_performance: 0_pl_0_drift= 1690 ms
*RESULT neteq_performance: 10_pl_10_drift= 3685 ms
*RESULT neteq_performance: 0_pl_0_drift= 1693 ms
*RESULT neteq_performance: 10_pl_10_drift= 3720 ms
*RESULT neteq_performance: 0_pl_0_drift= 1690 ms
*RESULT neteq_performance: 10_pl_10_drift= 3780 ms
*RESULT neteq_performance: 0_pl_0_drift= 1728 ms
*RESULT neteq_performance: 10_pl_10_drift= 3733 ms
*RESULT neteq_performance: 0_pl_0_drift= 1737 ms
*RESULT neteq_performance: 10_pl_10_drift= 3781 ms
*RESULT neteq_performance: 0_pl_0_drift= 1744 ms
*RESULT neteq_performance: 10_pl_10_drift= 3712 ms
*RESULT neteq_performance: 0_pl_0_drift= 1731 ms
*RESULT neteq_performance: 10_pl_10_drift= 3681 ms
*RESULT neteq_performance: 0_pl_0_drift= 1691 ms
*RESULT neteq_performance: 10_pl_10_drift= 3681 ms
*RESULT neteq_performance: 0_pl_0_drift= 1690 ms

With this change:
$ out/Default/webrtc_perf_tests --gtest_filter=NetEqPerformanceTest.Run* \
  --gtest_repeat=10 | grep neteq_performance
*RESULT neteq_performance: 10_pl_10_drift= 3824 ms
*RESULT neteq_performance: 0_pl_0_drift= 1632 ms
*RESULT neteq_performance: 10_pl_10_drift= 3502 ms
*RESULT neteq_performance: 0_pl_0_drift= 1521 ms
*RESULT neteq_performance: 10_pl_10_drift= 3520 ms
*RESULT neteq_performance: 0_pl_0_drift= 1534 ms
*RESULT neteq_performance: 10_pl_10_drift= 3517 ms
*RESULT neteq_performance: 0_pl_0_drift= 1530 ms
*RESULT neteq_performance: 10_pl_10_drift= 3521 ms
*RESULT neteq_performance: 0_pl_0_drift= 1527 ms
*RESULT neteq_performance: 10_pl_10_drift= 3511 ms
*RESULT neteq_performance: 0_pl_0_drift= 1533 ms
*RESULT neteq_performance: 10_pl_10_drift= 3518 ms
*RESULT neteq_performance: 0_pl_0_drift= 1523 ms
*RESULT neteq_performance: 10_pl_10_drift= 3503 ms
*RESULT neteq_performance: 0_pl_0_drift= 1524 ms
*RESULT neteq_performance: 10_pl_10_drift= 3514 ms
*RESULT neteq_performance: 0_pl_0_drift= 1534 ms
*RESULT neteq_performance: 10_pl_10_drift= 3501 ms
*RESULT neteq_performance: 0_pl_0_drift= 1530 ms

BUG=webrtc:7343,chromium:738852,chromium:738839

Change-Id: Idcbb276ca0ed27fff95164a73f1c1fa310175ee5
Reviewed-on: https://chromium-review.googlesource.com/563021
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Reviewed-by: Olga Sharonova <olka@webrtc.org>
Reviewed-by: Tommi <tommi@webrtc.org>
Commit-Queue: Tommi <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18939}
2017-07-08 23:36:26 +00:00
perkj
f1377f7222 Change VideoTrack implementation to invoke VideoTrackSourceInterface::AddOrUpdateSink on the worker thread.
Added documentation of thread expectations for video tracks and sources to the API.

BUG=None

Review-Url: https://codereview.webrtc.org/2964863002
Cr-Commit-Position: refs/heads/master@{#18938}
2017-07-07 23:38:28 +00:00
tommi
cf39dd5d82 Add RTC_FROM_HERE location information to two DCHECKs in ProcessThread.
BUG=none
TBR=kwiberg@webrtc.org

Review-Url: https://codereview.webrtc.org/2967693002
Cr-Commit-Position: refs/heads/master@{#18937}
2017-07-07 23:24:34 +00:00
buildbot
f88f72dd16 Roll chromium_revision 85f2caa791..a28aeb7be0 (484906:485062)
Change log: 85f2caa791..a28aeb7be0
Full diff: 85f2caa791..a28aeb7be0

Changed dependencies:
* src/base: c70dc1b9ee..f2196895af
* src/build: 1cef53c750..1b36d1d2b7
* src/ios: 57d1fb9e50..b23bd93a72
* src/testing: d1f2428318..2945c7249a
* src/third_party: 020af231b1..afbc77557f
* src/third_party/catapult: 3e38417eed..1e3b1949cd
* src/tools: 88047361a0..1d5fd8bcb3
DEPS diff: 85f2caa791..a28aeb7be0/DEPS

No update to Clang.

TBR=
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Review-Url: https://codereview.webrtc.org/2973993002
Cr-Commit-Position: refs/heads/master@{#18936}
2017-07-07 22:34:54 +00:00
zstein
4dde3df3b5 Move SrtpSession and tests to their own files.
BUG=None

Review-Url: https://codereview.webrtc.org/2976443002
Cr-Commit-Position: refs/heads/master@{#18935}
2017-07-07 21:26:25 +00:00
jbauch
7d0a77eef4 Handle case where UDP packet contains multiple DTLS records.
Our DTLS implementation doesn't do this, but other implementations may; see https://tools.ietf.org/html/rfc6347#section-4.1.1.

BUG=chromium:537189

Review-Url: https://codereview.webrtc.org/2970883005
Cr-Commit-Position: refs/heads/master@{#18934}
2017-07-07 20:44:07 +00:00
jtteh
7480da4118 Trace loggging: Check for g_event_logger is not null before calling it.
BUG=webrtc:7868

Review-Url: https://codereview.webrtc.org/2961663002
Cr-Commit-Position: refs/heads/master@{#18933}
2017-07-07 18:02:15 +00:00
peah
fb660ae633 Decreased the adaptation rate for the adaptive filter in the echo canceller 3
BUG=webrtc:7955

Review-Url: https://codereview.webrtc.org/2968223003
Cr-Commit-Position: refs/heads/master@{#18932}
2017-07-07 14:59:24 +00:00
buildbot
991521e2f9 Roll chromium_revision 6ddb8d2861..85f2caa791 (484869:484906)
Change log: 6ddb8d2861..85f2caa791
Full diff: 6ddb8d2861..85f2caa791

Changed dependencies:
* src/base: ec9c935970..c70dc1b9ee
* src/ios: 07f3f49f7b..57d1fb9e50
* src/third_party: 3dfe35c3f7..020af231b1
* src/tools: f0f0c832e8..88047361a0
DEPS diff: 6ddb8d2861..85f2caa791/DEPS

No update to Clang.

TBR=
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Review-Url: https://codereview.webrtc.org/2968393002
Cr-Commit-Position: refs/heads/master@{#18931}
2017-07-07 13:49:42 +00:00
henrik.lundin
de5ff8e2c8 Fix a variable naming typo
This typo was introduced in https://codereview.webrtc.org/2721123005/.

BUG=none
TBR=henrika@webrtc.org

Review-Url: https://codereview.webrtc.org/2976473002
Cr-Commit-Position: refs/heads/master@{#18930}
2017-07-07 12:29:47 +00:00
peah
e67bedbac3 External APM usage downstream dependency support cleanup
This CL removes code that supported the now removed
downstream dependencies in the support for using an
external audio processing module.

BUG=webrtc:7939

Review-Url: https://codereview.webrtc.org/2969213002
Cr-Commit-Position: refs/heads/master@{#18929}
2017-07-07 11:25:11 +00:00
Anders Carlsson
a0349c138d Injectable Obj-C video codecs
Initial CL for this effort, with a working RTCVideoEncoder/Decoder for H264
(wrapping the VideoToolbox codec).

Some notes / things left to do:
  - There are some hard-coded references to codec types that are supported by
    webrtc::VideoCodec, cricket::VideoCodec, webrtc::CodecSpecificInfo etc
    since we need to convert to/from these types in ObjCVideoEncoder/Decoder.
    These types would need to be more codec agnostic to avoid this.
  - Most interfaces are borrowed from the design document for injectable
    codecs in Android. Some data in the corresponding C++ classes is discarded
    when converting to the Obj-C version, since it has fewer fields. I have not
    verified whether all data that we do keep is needed, or whether we might be
    losing anything useful in these conversions.
  - Implement the VideoToolbox codec code directly in the RTCVideoEncoderH264
    classes, instead of wrapping webrtc::H264VideoToolboxEncoder / decoder.
    Eliminates converting between ObjC/C++ types outside the ObjCVideoEncoder/
    Decoder wrapper classes.
  - List the injected codec factory's supported codecs in the list of codecs in
    AppRTCMobile.

BUG=webrtc:7924
R=magjed@webrtc.org

Review-Url: https://codereview.webrtc.org/2966023002 .
Cr-Commit-Position: refs/heads/master@{#18928}
2017-07-07 11:19:14 +00:00
buildbot
c1a58bae41 Roll chromium_revision a5ed187842..6ddb8d2861 (484843:484869)
Change log: a5ed187842..6ddb8d2861
Full diff: a5ed187842..6ddb8d2861

Changed dependencies:
* src/third_party: 8a08a637ac..3dfe35c3f7
* src/third_party/catapult: be072d088a..3e38417eed
* src/tools: ebfc194a57..f0f0c832e8
DEPS diff: a5ed187842..6ddb8d2861/DEPS

No update to Clang.

TBR=
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Review-Url: https://codereview.webrtc.org/2975563002
Cr-Commit-Position: refs/heads/master@{#18927}
2017-07-07 10:45:17 +00:00
ehmaldonado
eaaae9e91b base->rtc_base: Update .c, .mm and .java files.
TBR=kwiberg@webrtc.org
BUG=webrtc:7634

Review-Url: https://codereview.webrtc.org/2974613003
Cr-Commit-Position: refs/heads/master@{#18926}
2017-07-07 10:09:51 +00:00
buildbot
0e9bd8e15b Roll chromium_revision 4b357464fd..a5ed187842 (484824:484843)
Change log: 4b357464fd..a5ed187842
Full diff: 4b357464fd..a5ed187842

Changed dependencies:
* src/build: 47732a6a8b..1cef53c750
* src/ios: 8f12a6fedf..07f3f49f7b
* src/third_party: 48700edf54..8a08a637ac
* src/third_party/catapult: 6539cc70d9..be072d088a
* src/tools: 605ec4e4ce..ebfc194a57
DEPS diff: 4b357464fd..a5ed187842/DEPS

No update to Clang.

TBR=
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Review-Url: https://codereview.webrtc.org/2972173002
Cr-Commit-Position: refs/heads/master@{#18925}
2017-07-07 08:32:07 +00:00
ilnik
f04afde85a Report interframe delay sum in old GetStats
BUG=webrtc:7420

Review-Url: https://codereview.webrtc.org/2965033002
Cr-Commit-Position: refs/heads/master@{#18924}
2017-07-07 08:26:24 +00:00
jbauch
5b361730d0 Support re-entrant calls to MessageQueueManager::Clear.
BUG=webrtc:7908

Review-Url: https://codereview.webrtc.org/2968753002
Cr-Commit-Position: refs/heads/master@{#18923}
2017-07-07 06:51:37 +00:00
buildbot
876088ac77 Roll chromium_revision baaa9eae93..4b357464fd (484696:484824)
Change log: baaa9eae93..4b357464fd
Full diff: baaa9eae93..4b357464fd

Changed dependencies:
* src/base: e3c7a40993..ec9c935970
* src/build: 58c9238e98..47732a6a8b
* src/ios: d4493d467f..8f12a6fedf
* src/third_party: e359c7b403..48700edf54
* src/third_party/catapult: 5d065952a0..6539cc70d9
* src/tools: ccb73c5776..605ec4e4ce
DEPS diff: baaa9eae93..4b357464fd/DEPS

No update to Clang.

TBR=
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Review-Url: https://codereview.webrtc.org/2975543002
Cr-Commit-Position: refs/heads/master@{#18922}
2017-07-07 04:16:17 +00:00
braveyao
4a494ffd12 desktop_capture: crop border in window_capture on Win8/10
On Windows8/10, we prefer cropping desired window out from a whole screen
capture due to some reasons. The problem is Win10 has an invisible border
around the window. If we leave the border, it will expose background a bit.

This cl is about to always remove the border of desired window on Win8/10.
This will help a lot to capturing still windows during window sharing.
This cl still can't handle the background exposure issue when you move the
target window around during capturing. More investigation is needed.

BUG=chromium:737278

Review-Url: https://codereview.webrtc.org/2973853002
Cr-Commit-Position: refs/heads/master@{#18921}
2017-07-07 03:20:27 +00:00
buildbot
f07e6b4c00 Roll chromium_revision 2e0945b687..baaa9eae93 (484611:484696)
Change log: 2e0945b687..baaa9eae93
Full diff: 2e0945b687..baaa9eae93

Changed dependencies:
* src/base: 16dde4fdea..e3c7a40993
* src/build: 08ca0e267f..58c9238e98
* src/ios: 289b09cbb9..d4493d467f
* src/testing: eb5b142282..d1f2428318
* src/third_party: 5ef3f903b6..e359c7b403
* src/tools: bc3c9bb918..ccb73c5776
DEPS diff: 2e0945b687..baaa9eae93/DEPS

No update to Clang.

TBR=
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Review-Url: https://codereview.webrtc.org/2969243004
Cr-Commit-Position: refs/heads/master@{#18920}
2017-07-06 19:35:48 +00:00
Edward Lemur
c20978e581 Rename webrtc/base -> webrtc/rtc_base
NOPRESUBMIT=True # cpplint errors that aren't caused by this CL.
NOTRY=True
NOTREECHECKS=True
TBR=kwiberg@webrtc.org, kjellander@webrtc.org

Bug: webrtc:7634
Change-Id: I3cca0fbaa807b563c95979cccd6d1bec32055f36
Reviewed-on: https://chromium-review.googlesource.com/562156
Commit-Queue: Edward Lemur <ehmaldonado@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18919}
2017-07-06 19:11:40 +00:00
buildbot
ea39dfa770 Roll chromium_revision c33c6bfd24..2e0945b687 (484321:484611)
Change log: c33c6bfd24..2e0945b687
Full diff: c33c6bfd24..2e0945b687

Changed dependencies:
* src/base: 191ee9145c..16dde4fdea
* src/build: a2bc0d6277..08ca0e267f
* src/ios: e4a519df2a..289b09cbb9
* src/testing: 12355604f7..eb5b142282
* src/third_party: d91910238a..5ef3f903b6
* src/third_party/catapult: 34ef95cb09..5d065952a0
* src/tools: d803aeab28..bc3c9bb918
DEPS diff: c33c6bfd24..2e0945b687/DEPS

No update to Clang.

TBR=
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Review-Url: https://codereview.webrtc.org/2968023003
Cr-Commit-Position: refs/heads/master@{#18918}
2017-07-06 16:48:49 +00:00
Sebastian Jansson
9e3f1e4ca2 Fixed a miscalculation of sent bitrate caused by mixup of time units
Bug: webrtc:7949
Change-Id: Ia57fdd3d1de0952b80e77c30b0a6cfe44515eff2
Reviewed-on: https://chromium-review.googlesource.com/561460
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18917}
2017-07-06 15:22:58 +00:00
mbonadei
d66072b71b Moving asm code out of common_audio_c sources list
BUG=webrtc:7743

Review-Url: https://codereview.webrtc.org/2966173002
Cr-Commit-Position: refs/heads/master@{#18916}
2017-07-06 14:44:14 +00:00
oprypin
3b03476233 Remove MAIN_NIB_FILE from Info.plist because the substitution is broken
BUG=webrtc:7943

Review-Url: https://codereview.webrtc.org/2965193002
Cr-Commit-Position: refs/heads/master@{#18915}
2017-07-06 14:09:57 +00:00
henrik.lundin
a44910787b Let NetEq reset the AudioFrame during muted state
In practice, this change will make AudioFrame::muted_ replicate the
explicit muted variable, passed as a pointer to NetEq::GetAudio.

BUG=webrtc:7944

Review-Url: https://codereview.webrtc.org/2965203002
Cr-Commit-Position: refs/heads/master@{#18914}
2017-07-06 12:23:53 +00:00
sprang
02569adfd4 Update screen simulcast config
Lower then bitrate so that the delta between the highest layer of the
lower stream and lowest layer of the higher stream is not too large.

BUG=webrtc:4172

This is a reland of the following CL:

Review-Url: https://codereview.webrtc.org/2791273002
Cr-Commit-Position: refs/heads/master@{#18232}
Committed: dceb42da3e

https: //codereview.webrtc.org/2883963002
Review-Url: https://codereview.webrtc.org/2966833002
Cr-Commit-Position: refs/heads/master@{#18913}
2017-07-06 12:05:50 +00:00
sprang
168794c43c Implement RTP keepalive in native stack.
BUG=webrtc:7907

Review-Url: https://codereview.webrtc.org/2960363002
Cr-Commit-Position: refs/heads/master@{#18912}
2017-07-06 11:38:06 +00:00
mbonadei
5c0d703382 Moving asm code out of isac_fix_c sources list
BUG=webrtc:7743

Review-Url: https://codereview.webrtc.org/2973613002
Cr-Commit-Position: refs/heads/master@{#18911}
2017-07-06 10:48:55 +00:00
ehmaldonado
05db21d5b3 Reland of move webrtc/tools (patchset #1 id:1 of https://codereview.webrtc.org/2973493002/ )
Remove webrtc/tools
https://chromium-review.googlesource.com/c/558980/ has been submitted. It should be safe to
reland now.

TBR=mbonadei@webrtc.org,kwiberg@webrtc.org
BUG=webrtc:7855

Review-Url: https://codereview.webrtc.org/2969093003
Cr-Commit-Position: refs/heads/master@{#18910}
2017-07-06 10:34:35 +00:00
ilnik
2edc6845ac Report timing frames info in GetStats.
Some frames are already marked as 'timing frames' via video-timing RTP header extension. Timestamps along full WebRTC pipeline are gathered for these frames. This CL implements reporting of these timestamps for a single
timing frame since the last GetStats(). The frame with the longest end-to-end delay between two consecutive GetStats calls is reported.

The purpose of this timing information is not to provide a realtime statistics but to provide debugging information as it will help identify problematic places in video pipeline for outliers (frames which took longest to process).

BUG=webrtc:7594

Review-Url: https://codereview.webrtc.org/2946413002
Cr-Commit-Position: refs/heads/master@{#18909}
2017-07-06 10:06:50 +00:00
tommi
5b7fc8ce42 A few simplifications to CodecDatabase and VCMGenericDecoder.
* Remove the ReleaseDecoder and Release methods that were used in combination with deleting the decoder object. Now simply deleting the object does the right thing.
* Remove 'friend' relationship between the two classes since they don't need to touch each other's state directly anymore.
* Use std::unique_ptr for holding pointers and transferring ownership.

These changes were previously reviewed here:
https://codereview.webrtc.org/2764573002/

BUG=webrtc:7361, 695438

Review-Url: https://codereview.webrtc.org/2966823002
Cr-Commit-Position: refs/heads/master@{#18908}
2017-07-05 23:45:57 +00:00
buildbot
7025244bc0 Roll chromium_revision f45f1f992e..c33c6bfd24 (484285:484321)
Change log: f45f1f992e..c33c6bfd24
Full diff: f45f1f992e..c33c6bfd24

Changed dependencies:
* src/base: a99d022b75..191ee9145c
* src/build: 7c5f98e246..a2bc0d6277
* src/ios: c8dd01b0ed..e4a519df2a
* src/testing: d8b4703bb9..12355604f7
* src/third_party: 8ab400b1fa..d91910238a
* src/third_party/catapult: b5c1738572..34ef95cb09
* src/tools: c9be946122..d803aeab28
DEPS diff: f45f1f992e..c33c6bfd24/DEPS

No update to Clang.

TBR=
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Review-Url: https://codereview.webrtc.org/2969333002
Cr-Commit-Position: refs/heads/master@{#18907}
2017-07-05 19:15:57 +00:00
bdodson
6aa95117d8 Fix null ref in NetworkMonitorAutoDetect if Connectivity Manager service is unavailable
BUG=webrtc:7917
TBR=magjed@webrtc.org

Review-Url: https://codereview.webrtc.org/2963363002
Cr-Commit-Position: refs/heads/master@{#18906}
2017-07-05 16:55:09 +00:00
buildbot
e4f63a1929 Roll chromium_revision c01b31617b..f45f1f992e (484252:484285)
Change log: c01b31617b..f45f1f992e
Full diff: c01b31617b..f45f1f992e

Changed dependencies:
* src/build: 15128409f7..7c5f98e246
* src/ios: 5853d88229..c8dd01b0ed
* src/testing: a1a5b9ddb5..d8b4703bb9
* src/third_party: 3b09bc7d32..8ab400b1fa
* src/tools: e011fe0fa3..c9be946122
DEPS diff: c01b31617b..f45f1f992e/DEPS

No update to Clang.

TBR=
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Review-Url: https://codereview.webrtc.org/2970123002
Cr-Commit-Position: refs/heads/master@{#18905}
2017-07-05 16:47:30 +00:00
minyue-webrtc
b16a01f14f Revert "Reland "Adding ANA config event to debug dump.""
This reverts commit 2d54784d890be462a7fbf0fcfdc633bc4791982a.

Reason for revert: upstream conflicts

Original change's description:
> Reland "Adding ANA config event to debug dump."
> 
> Originally review in https://chromium-review.googlesource.com/c/535554/
> 
> Reverted in https://chromium-review.googlesource.com/c/539737/ due to upstreaming failure.
> 
> BUG=webrtc:7854
> 
> Change-Id: Ie4ad6ecfaf0f6b556dc662512d0be8ce94f8a4a8
> Reviewed-on: https://chromium-review.googlesource.com/541436
> Commit-Queue: Minyue Li <minyue@webrtc.org>
> Reviewed-by: Oskar Sundbom <ossu@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#18865}

TBR=minyue@webrtc.org,ossu@webrtc.org

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

Bug: webrtc:7854
Change-Id: I28841ed088664d2965454dc52196f83c9d81773e
Reviewed-on: https://chromium-review.googlesource.com/559429
Commit-Queue: Minyue Li <minyue@webrtc.org>
Reviewed-by: Minyue Li <minyue@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18904}
2017-07-05 14:50:32 +00:00
henrik.lundin
63d146b743 NetEq: Rectify the implementation of PacketBuffer::DiscardOldPackets
The implementation of this method did not follow the description in
the method comment. It was supposed to delete all packets in a range
[A, B], but if at least one packet in the buffer had a timestamp lower
than A, then no packets at all were discarded. This is now fixed.

BUG=webrtc:7937

Review-Url: https://codereview.webrtc.org/2969123003
Cr-Commit-Position: refs/heads/master@{#18903}
2017-07-05 14:03:34 +00:00
buildbot
440ea8cdff Roll chromium_revision 3fe2409358..c01b31617b (484231:484252)
Change log: 3fe2409358..c01b31617b
Full diff: 3fe2409358..c01b31617b

Changed dependencies:
* src/build: 32f5297cf7..15128409f7
* src/third_party: 6bd6195cce..3b09bc7d32
* src/third_party/catapult: 68c7880882..b5c1738572
DEPS diff: 3fe2409358..c01b31617b/DEPS

No update to Clang.

TBR=
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Review-Url: https://codereview.webrtc.org/2971793002
Cr-Commit-Position: refs/heads/master@{#18902}
2017-07-05 13:43:22 +00:00
gnish
191113a46b Added implementation of four functions in the BBR congestion controller:
1) Function responsible for receiving feedback, digesting data and deciding switch scenarios.
2) Function which enters Startup mode.
3) Function which exits Startup mode.
4) Function which calculates, whether or not full bandwidth is reached.

BUG=webrtc:7713

Review-Url: https://codereview.webrtc.org/2924603002
Cr-Commit-Position: refs/heads/master@{#18901}
2017-07-05 12:00:46 +00:00
buildbot
bc0c4f581f Roll chromium_revision 6da2ebcead..3fe2409358 (484119:484231)
Change log: 6da2ebcead..3fe2409358
Full diff: 6da2ebcead..3fe2409358

Changed dependencies:
* src/base: 491d181829..a99d022b75
* src/build: bfca473dd8..32f5297cf7
* src/ios: f0a1c5a39c..5853d88229
* src/testing: 6dc88d9f12..a1a5b9ddb5
* src/third_party: 616d4281cb..6bd6195cce
* src/tools: 819a1b82e0..e011fe0fa3
DEPS diff: 6da2ebcead..3fe2409358/DEPS

No update to Clang.

TBR=
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Review-Url: https://codereview.webrtc.org/2970933002
Cr-Commit-Position: refs/heads/master@{#18900}
2017-07-05 10:51:03 +00:00
minyue-webrtc
fae474c9cd Implement packet discard rate in NetEq.
BUG=webrtc:7903

Change-Id: I819c9362671ca0b02c602d53e4dc39afdd8ec465
Reviewed-on: https://chromium-review.googlesource.com/555311
Commit-Queue: Minyue Li <minyue@webrtc.org>
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18899}
2017-07-05 10:18:00 +00:00
stefan
889d9654f7 Fix issue with zero rtt reports when using FlexFEC and add perf test.
BUG=webrtc:7938

Review-Url: https://codereview.webrtc.org/2966153002
Cr-Commit-Position: refs/heads/master@{#18898}
2017-07-05 10:03:02 +00:00
henrika
070efc088e Improves WebRTC.Audio.AveragePlayoutCallbacksBetweenGlitches UMA stat
BUG=b/38018041

Review-Url: https://codereview.webrtc.org/2972743003
Cr-Commit-Position: refs/heads/master@{#18897}
2017-07-05 09:34:31 +00:00
buildbot
abee2d89cd Roll chromium_revision 2fe6dc66f8..6da2ebcead (484092:484119)
Change log: 2fe6dc66f8..6da2ebcead
Full diff: 2fe6dc66f8..6da2ebcead

Changed dependencies:
* src/ios: 2b60652929..f0a1c5a39c
* src/third_party: c593527afc..616d4281cb
DEPS diff: 2fe6dc66f8..6da2ebcead/DEPS

No update to Clang.

TBR=
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Review-Url: https://codereview.webrtc.org/2969083002
Cr-Commit-Position: refs/heads/master@{#18896}
2017-07-04 16:33:14 +00:00
buildbot
0fc6d871bd Roll chromium_revision cf58257d56..2fe6dc66f8 (483646:484092)
Change log: cf58257d56..2fe6dc66f8
Full diff: cf58257d56..2fe6dc66f8

Changed dependencies:
* src/base: 9d97c44015..491d181829
* src/build: e9a431763e..bfca473dd8
* src/ios: c888f6b414..2b60652929
* src/testing: 86da9bf8b5..6dc88d9f12
* src/third_party: f72956cf4f..c593527afc
* src/third_party/catapult: 6d102fd082..68c7880882
* src/third_party/ffmpeg: 88c555e9e6..ddb09a0d5a
* src/third_party/gtest-parallel: 4bf9c03d93..2a45a8d381
* src/tools: 9e78562176..819a1b82e0
DEPS diff: cf58257d56..2fe6dc66f8/DEPS

No update to Clang.

TBR=
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal

Review-Url: https://codereview.webrtc.org/2967033002
Cr-Commit-Position: refs/heads/master@{#18895}
2017-07-04 15:00:54 +00:00
philipel
f720704493 Added philipel@webrtc.org to webrtc/modules/remote_bitrate_estimator/OWNERS.
BUG=none
NOTRY=true

Review-Url: https://codereview.webrtc.org/2966043002
Cr-Commit-Position: refs/heads/master@{#18894}
2017-07-04 14:57:46 +00:00
henrika
cb576c50ee Fixes build issue based on usage of Android O specific API
BUG=NONE
NOTRY=TRUE

Review-Url: https://codereview.webrtc.org/2967043002
Cr-Commit-Position: refs/heads/master@{#18893}
2017-07-04 14:02:35 +00:00
Gustavo Garcia
c43f68e52c Fix do not unregister bluetooth receiver if it was not registered
Bug: webrtc:7890
Change-Id: Ib46b4a4407fa030500930ed03a093b26c71f8963
Reviewed-on: https://chromium-review.googlesource.com/550617
Commit-Queue: Henrik Andreasson <henrika@webrtc.org>
Reviewed-by: Henrik Andreasson <henrika@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18892}
2017-07-04 13:50:15 +00:00
magjed
cc8856c9c2 Remove unused static VideoEncoder functions
BUG=None
TBR=stefan

Review-Url: https://codereview.webrtc.org/2967853002
Cr-Commit-Position: refs/heads/master@{#18891}
2017-07-04 13:03:41 +00:00