18338 Commits

Author SHA1 Message Date
Noah Richards
bc8ee33658 Remove verbose logs from audio_coding_module.cc.
PlayoutFrequency(), at least, is called ~200 times a second. The others
appear to not be in practice, but it's unclear what value they serve.

They were traces before https://chromium-review.googlesource.com/c/518133/,
which was more reasonable, as you could enable them for just audio
coding traces. But now that they are just logs, they make all VERBOSE
logging unusable.

Bug: webrtc:7959
Change-Id: I190a61c8ff4c0f047798087e80adbb41d791fc29
Reviewed-on: https://chromium-review.googlesource.com/563881
Reviewed-by: Minyue Li <minyue@webrtc.org>
Commit-Queue: Noah Richards <noahric@chromium.org>
Cr-Commit-Position: refs/heads/master@{#18956}
2017-07-10 17:36:28 +00:00
ilnik
a7a4535a35 Refactor timing frame logic to work with encoders with internal sources
BUG=webrtc:7594,webrtc:7893

Review-Url: https://codereview.webrtc.org/2968153002
Cr-Commit-Position: refs/heads/master@{#18955}
2017-07-10 17:03:23 +00:00
buildbot
5ce5a4751c Roll chromium_revision b98c4727fc..dea6441d2d (485244:485283)
Change log: b98c4727fc..dea6441d2d
Full diff: b98c4727fc..dea6441d2d

Changed dependencies:
* src/build: 89f39ee351..fd574d91e3
* src/ios: dfd6769647..b9a5aba9bc
* src/third_party: 141fb2b157..237861e668
* src/third_party/catapult: f3726edb45..72646aa580
* src/tools: ef8c907dee..93b558504b
DEPS diff: b98c4727fc..dea6441d2d/DEPS

No update to Clang.

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

Review-Url: https://codereview.webrtc.org/2979553002
Cr-Commit-Position: refs/heads/master@{#18954}
2017-07-10 16:30:49 +00:00
sprang
d2702ef110 Fix flaky test VideoSendStreamTest.SendsKeepAlive
Since the keep-alive payload type is not registered in the payload type
map of FakeNetworkPipe, it will cause a DCHECK to trigger unless we're
able to destroy the call before that.

Just register it in the fake network as media type "any", it will be
discarded early on the receive side anyway.

BUG=webrt:7964

Review-Url: https://codereview.webrtc.org/2979543002
Cr-Commit-Position: refs/heads/master@{#18953}
2017-07-10 15:41:10 +00:00
ehmaldonado
fe53355dcb Fix presubmit check for webrtc/base.
Show a warning only when there's something to warn about.

TBR=kjellander@webrtc.org
NOTRY=True
BUG=webrtc:7634

Review-Url: https://codereview.webrtc.org/2974093002
Cr-Commit-Position: refs/heads/master@{#18952}
2017-07-10 14:04:10 +00:00
ehmaldonado
ea0e08400c Add presubmit check to prevent further changes to webrtc/base.
R=mbonadei@webrtc.org
TBR=kjellander@webrtc.org
NOTRY=True
BUG=webrtc:7634

Review-Url: https://codereview.webrtc.org/2972363002
Cr-Commit-Position: refs/heads/master@{#18951}
2017-07-10 13:44:09 +00:00
buildbot
78460a712a Roll chromium_revision 8e79102feb..b98c4727fc (485221:485244)
Change log: 8e79102feb..b98c4727fc
Full diff: 8e79102feb..b98c4727fc

Changed dependencies:
* src/base: e97cb732ff..6c8397f09a
* src/ios: bddd825b22..dfd6769647
* src/testing: 42ff042710..eca18e3799
* src/third_party: 63ca4b90f3..141fb2b157
* src/third_party/catapult: 00b0c16c97..f3726edb45
* src/tools: 8e4aeb7bb9..ef8c907dee
DEPS diff: 8e79102feb..b98c4727fc/DEPS

No update to Clang.

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

Review-Url: https://codereview.webrtc.org/2977563002
Cr-Commit-Position: refs/heads/master@{#18950}
2017-07-10 13:31:29 +00:00
ehmaldonado
370dd47973 Revert of Remove remains of webrtc/base (patchset #7 id:120001 of https://codereview.webrtc.org/2973183002/ )
Reason for revert:
Breaks lots of downstream projects.

Original issue's description:
> Remove remains of webrtc/base
>
> All downstream code have been updated to the new location.
>
> In PRESUBMIT.py:
> * Remove webrtc/rtc_base from CPP_BLACKLIST
> * Add webrtc/rtc_base to LEGACY_API_DIRS
>
> Fix some duplicated paths in
> webrtc/modules/audio_processing/test/conversational_speech/BUILD.gn
>
> BUG=webrtc:7634
> TBR=kwiberg@webrtc.org
>
> Review-Url: https://codereview.webrtc.org/2973183002
> Cr-Commit-Position: refs/heads/master@{#18948}
> Committed:
9483b49baf

TBR=kwiberg@webrtc.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:7634

Review-Url: https://codereview.webrtc.org/2976633002
Cr-Commit-Position: refs/heads/master@{#18949}
2017-07-10 12:58:42 +00:00
ehmaldonado
9483b49baf Remove remains of webrtc/base
All downstream code have been updated to the new location.

In PRESUBMIT.py:
* Remove webrtc/rtc_base from CPP_BLACKLIST
* Add webrtc/rtc_base to LEGACY_API_DIRS

Fix some duplicated paths in
webrtc/modules/audio_processing/test/conversational_speech/BUILD.gn

BUG=webrtc:7634
TBR=kwiberg@webrtc.org

Review-Url: https://codereview.webrtc.org/2973183002
Cr-Commit-Position: refs/heads/master@{#18948}
2017-07-10 11:50:54 +00:00
buildbot
ccd7328c3c Roll chromium_revision a28aeb7be0..8e79102feb (485062:485221)
Change log: a28aeb7be0..8e79102feb
Full diff: a28aeb7be0..8e79102feb

Changed dependencies:
* src/base: f2196895af..e97cb732ff
* src/build: 1b36d1d2b7..89f39ee351
* src/ios: b23bd93a72..bddd825b22
* src/testing: 2945c7249a..42ff042710
* src/third_party: afbc77557f..63ca4b90f3
* src/third_party/catapult: 1e3b1949cd..00b0c16c97
* src/tools: 1d5fd8bcb3..8e4aeb7bb9
DEPS diff: a28aeb7be0..8e79102feb/DEPS

No update to Clang.

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

Review-Url: https://codereview.webrtc.org/2980473002
Cr-Commit-Position: refs/heads/master@{#18947}
2017-07-10 10:38:51 +00:00
eladalon
6c9556e7f1 Prevent warnings in PacketRouterTest and PacketRouterRembTest
Change MockRtpRtcp to NiceMock<MockRtpRtcp> throughout PacketRouterTest and PacketRouterRembTest (12 tests in total), to suppress a large number of warnings which are currently ignored.

BUG=None

Review-Url: https://codereview.webrtc.org/2977533002
Cr-Commit-Position: refs/heads/master@{#18946}
2017-07-10 10:33:00 +00:00
magjed
6cc25614a9 Remove webrtc::VideoEncoderFactory
Replace the use of webrtc::VideoEncoderFactory with
cricket::WebRtcVideoEncoderFactory and remove the adapter classes
between these two factory types.

Some code changes were necessary in order to accomplish this:
 * Move SimulcastEncoderAdapter from
   webrtc/modules/video_coding/codecs/vp8 to webrtc/media/engine (that's
   where it's used).
 * Rename simulcast_unittest.h to simulcast_test_utility.h and make it
   into it's own target, because it's used from both
   simulcast_unittest.cc and simulcast_encoder_adapter_unittest.cc.
 * Remove ownership of the encoder factory from SimulcastEncoderAdapter,
   and make the necessary changes in surrounding code.

The goal with this CL is to clean up the code, and also to free up
the name webrtc::VideoEncoderFactory for future use.

BUG=webrtc:7925

Review-Url: https://codereview.webrtc.org/2964953002
Cr-Commit-Position: refs/heads/master@{#18945}
2017-07-10 10:26:36 +00:00
minyue-webrtc
c453b08f1e Adding log in OrtcFactoryIntegrationTest and fix a bug.
BUG=webrtc:7915

Change-Id: I89aa48d9a182cf86cf59dc438c9095eb8ab38c58
Reviewed-on: https://chromium-review.googlesource.com/558421
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18944}
2017-07-10 10:00:30 +00:00
minyue-webrtc
0b249c24bf Refactor gunit for synergy to gtest.
BUG=webrtc:7958

Change-Id: I83ff689cef022967e6c58df5eaee8de6fc5cdba8
Reviewed-on: https://chromium-review.googlesource.com/563311
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18943}
2017-07-10 10:00:30 +00:00
mbonadei
539d104e3e Revert of Change VideoTrack implementation to invoke VideoTrackSourceInterface::AddOrUpdateSink on wt (patchset #2 id:20001 of https://codereview.webrtc.org/2964863002/ )
Reason for revert:
It breaks a downstream project.

Original issue's description:
> 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}
> Committed: f1377f7222

TBR=deadbeef@webrtc.org,noahric@chromium.org,yujo@chromium.org,perkj@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=None

Review-Url: https://codereview.webrtc.org/2979493003
Cr-Commit-Position: refs/heads/master@{#18942}
2017-07-10 09:40:49 +00:00
saza
bffe597e69 Convert occurrences of deprecated WEBRTC_TRACE logging to LOG style logging in webrtc/modules/audio_device/linux/audio_device_pulse_linux.cc.
First patch set uses a script attached in an issue comment:
https://bugs.chromium.org/p/webrtc/issues/detail?id=5118#c24
This discards the boilerplate prefix of WEBRTC_TRACE log strings, but it appears to be discarded anyway by all users.

Second patch set removes the header and makes small fixes to four of the log messages.

BUG=webrtc:5118

Review-Url: https://codereview.webrtc.org/2958273002
Cr-Commit-Position: refs/heads/master@{#18941}
2017-07-10 08:05:45 +00:00
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