Commit Graph

17126 Commits

Author SHA1 Message Date
17c6f88f6e Roll chromium_revision 34b92857a5..6316a55cb9 (454795:454797)
Change log: 34b92857a5..6316a55cb9
Full diff: 34b92857a5..6316a55cb9

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2734743002
Cr-Commit-Position: refs/heads/master@{#17044}
2017-03-05 22:34:48 +00:00
22807835cb Roll chromium_revision 42e64efbfe..34b92857a5 (454794:454795)
Change log: 42e64efbfe..34b92857a5
Full diff: 42e64efbfe..34b92857a5

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2733713002
Cr-Commit-Position: refs/heads/master@{#17043}
2017-03-05 14:00:56 +00:00
0ed3bfea65 Roll chromium_revision 775aa60705..42e64efbfe (454791:454794)
Change log: 775aa60705..42e64efbfe
Full diff: 775aa60705..42e64efbfe

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2728283002
Cr-Commit-Position: refs/heads/master@{#17042}
2017-03-05 10:33:05 +00:00
d3e5111028 Roll chromium_revision 59566e8814..775aa60705 (454787:454791)
Change log: 59566e8814..775aa60705
Full diff: 59566e8814..775aa60705

Changed dependencies:
* src/third_party: 5f8a82ca8c..fb47f919a4
DEPS diff: 59566e8814..775aa60705/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2731853002
Cr-Commit-Position: refs/heads/master@{#17041}
2017-03-05 07:09:27 +00:00
d3456cf8d3 Roll chromium_revision 0832734083..59566e8814 (454785:454787)
Change log: 0832734083..59566e8814
Full diff: 0832734083..59566e8814

Changed dependencies:
* src/third_party/libyuv: 45b176d153..0741a3d704
DEPS diff: 0832734083..59566e8814/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2731843002
Cr-Commit-Position: refs/heads/master@{#17040}
2017-03-05 04:11:31 +00:00
80b16f7c41 Roll chromium_revision f28287ce59..0832734083 (454779:454785)
Change log: f28287ce59..0832734083
Full diff: f28287ce59..0832734083

Changed dependencies:
* src/base: 9946e4631c..4dc87842fe
* src/third_party: 98882eb487..5f8a82ca8c
* src/tools: 370cd631ad..634368df7c
DEPS diff: f28287ce59..0832734083/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2735593002
Cr-Commit-Position: refs/heads/master@{#17039}
2017-03-05 01:12:01 +00:00
98e1531012 Revert of Enable GN check for webrtc/{ortc,p2p} (patchset #4 id:60001 of https://codereview.webrtc.org/2714263004/ )
Reason for revert:
Fails compile in Chromium for NaCl:
https://build.chromium.org/p/chromium.webrtc.fyi/builders/Win%20Builder/builds/9320/
 http://build.chromium.org/p/chromium.webrtc.fyi/builders/Mac%20Builder/builds/22215
http://build.chromium.org/p/chromium.webrtc.fyi/builders/Linux%20Builder/builds/14501

Original issue's description:
> Enable GN check for webrtc/{ortc,p2p}
>
> Introduce new target //webrtc/p2p:rtc_p2p_test_utils to host
> test-related utilities.
> Previously uncovered header "base/fakecandidatepair.h" is now also in a target.
>
> BUG=webrtc:6828
>
> Review-Url: https://codereview.webrtc.org/2714263004
> Cr-Commit-Position: refs/heads/master@{#17036}
> Committed: c9515b6ce6

TBR=deadbeef@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:6828

Review-Url: https://codereview.webrtc.org/2735583002
Cr-Commit-Position: refs/heads/master@{#17038}
2017-03-04 23:08:44 +00:00
991f8294cf Roll chromium_revision 351aa094a2..f28287ce59 (454776:454779)
Change log: 351aa094a2..f28287ce59
Full diff: 351aa094a2..f28287ce59

Changed dependencies:
* src/third_party: a3726990ae..98882eb487
DEPS diff: 351aa094a2..f28287ce59/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2733703002
Cr-Commit-Position: refs/heads/master@{#17037}
2017-03-04 22:45:37 +00:00
c9515b6ce6 Enable GN check for webrtc/{ortc,p2p}
Introduce new target //webrtc/p2p:rtc_p2p_test_utils to host
test-related utilities.
Previously uncovered header "base/fakecandidatepair.h" is now also in a target.

BUG=webrtc:6828

Review-Url: https://codereview.webrtc.org/2714263004
Cr-Commit-Position: refs/heads/master@{#17036}
2017-03-04 21:47:44 +00:00
a80e4f6958 Roll chromium_revision 16ffcf196c..351aa094a2 (454775:454776)
Change log: 16ffcf196c..351aa094a2
Full diff: 16ffcf196c..351aa094a2

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2730223003
Cr-Commit-Position: refs/heads/master@{#17035}
2017-03-04 19:11:10 +00:00
13dc486f8d Roll chromium_revision 3665df287a..16ffcf196c (454770:454775)
Change log: 3665df287a..16ffcf196c
Full diff: 3665df287a..16ffcf196c

Changed dependencies:
* src/third_party: 390dd492f0..a3726990ae
DEPS diff: 3665df287a..16ffcf196c/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2733683002
Cr-Commit-Position: refs/heads/master@{#17034}
2017-03-04 16:09:12 +00:00
7e15cfb96d Roll chromium_revision 34e86af9f3..3665df287a (454769:454770)
Change log: 34e86af9f3..3665df287a
Full diff: 34e86af9f3..3665df287a

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2727383007
Cr-Commit-Position: refs/heads/master@{#17033}
2017-03-04 13:10:11 +00:00
c670200fc8 Roll chromium_revision 6dfeb5c005..34e86af9f3 (454766:454769)
Change log: 6dfeb5c005..34e86af9f3
Full diff: 6dfeb5c005..34e86af9f3

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2728463007
Cr-Commit-Position: refs/heads/master@{#17032}
2017-03-04 10:27:02 +00:00
d81f121cfa Revert of Improve testing of SRTP external auth code paths. (patchset #2 id:20001 of https://codereview.webrtc.org/2722423003/ )
Reason for revert:
Breaks compilation in FYI bots, e.g. here:
http://build.chromium.org/p/chromium.webrtc.fyi/builders/Win%20Builder/builds/9314

FAILED: obj/third_party/webrtc/pc/rtc_pc/channel.obj
ninja -t msvc -e environment.x86 -- E:\b\c\goma_client/gomacc.exe "E:\b\depot_tools\win_toolchain\vs_files\d3cb0e37bdd120ad0ac4650b674b09e81be45616\VC\bin\amd64_x86/cl.exe" /nologo /showIncludes /FC @obj/third_party/webrtc/pc/rtc_pc/channel.obj.rsp /c ../../third_party/webrtc/pc/channel.cc /Foobj/third_party/webrtc/pc/rtc_pc/channel.obj /Fd"obj/third_party/webrtc/pc/rtc_pc_cc.pdb"
e:\b\c\b\win_builder\src\third_party\webrtc\pc\channel.cc(176): error C2819: type 'cricket::SrtpFilter' does not have an overloaded member 'operator ->'
e:\b\c\b\win_builder\src\third_party\webrtc\pc\srtpfilter.h(45): note: see declaration of 'cricket::SrtpFilter'
e:\b\c\b\win_builder\src\third_party\webrtc\pc\channel.cc(176): note: did you intend to use '.' instead?
e:\b\c\b\win_builder\src\third_party\webrtc\pc\channel.cc(176): error C2232: '->cricket::SrtpFilter::EnableExternalAuth': left operand has 'class' type, use '.'

Original issue's description:
> Improve testing of SRTP external auth code paths.
>
> Previously code behind ENABLE_EXTERNAL_AUTH was only compiled with Chromium
> but developed in WebRTC, which made testing rather complicated. This caused
> some trouble in the past (e.g. https://crbug.com/628400#c1)
>
> This CL helps in that the external auth code is now compiled with WebRTC
> and the srtpfilter integration gets tested.
>
> BUG=chromium:628400
>
> Review-Url: https://codereview.webrtc.org/2722423003
> Cr-Commit-Position: refs/heads/master@{#17030}
> Committed: ac170d5c21

TBR=deadbeef@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:628400

Review-Url: https://codereview.webrtc.org/2734643002
Cr-Commit-Position: refs/heads/master@{#17031}
2017-03-04 09:37:28 +00:00
ac170d5c21 Improve testing of SRTP external auth code paths.
Previously code behind ENABLE_EXTERNAL_AUTH was only compiled with Chromium
but developed in WebRTC, which made testing rather complicated. This caused
some trouble in the past (e.g. https://crbug.com/628400#c1)

This CL helps in that the external auth code is now compiled with WebRTC
and the srtpfilter integration gets tested.

BUG=chromium:628400

Review-Url: https://codereview.webrtc.org/2722423003
Cr-Commit-Position: refs/heads/master@{#17030}
2017-03-04 08:54:45 +00:00
ca818683fc Roll chromium_revision 78ea87a165..6dfeb5c005 (454758:454766)
Change log: 78ea87a165..6dfeb5c005
Full diff: 78ea87a165..6dfeb5c005

Changed dependencies:
* src/base: 8fe126945c..9946e4631c
* src/third_party: 272aa4c3bb..390dd492f0
* src/tools: 3d54cf8ead..370cd631ad
DEPS diff: 78ea87a165..6dfeb5c005/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2730863003
Cr-Commit-Position: refs/heads/master@{#17029}
2017-03-04 07:12:09 +00:00
e269fe7cc3 Roll chromium_revision 7791a3fc00..78ea87a165 (454729:454758)
Change log: 7791a3fc00..78ea87a165
Full diff: 7791a3fc00..78ea87a165

Changed dependencies:
* src/build: 8a0a5a27d4..10e3929acb
* src/ios: dd6eab9f94..22dfd2a553
* src/third_party: e2c8299504..272aa4c3bb
* src/third_party/catapult: f94a852c0a..9b85841202
* src/tools: 499a55c067..3d54cf8ead
DEPS diff: 7791a3fc00..78ea87a165/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2726423004
Cr-Commit-Position: refs/heads/master@{#17028}
2017-03-04 04:58:54 +00:00
9660627c9d Reland of Setting is_component_build to false by default (patchset #1 id:1 of https://codereview.webrtc.org/2731703004/ )
Reason for revert:
Trying to fix this skipping the check if we are building webrtc within chromium.

Original issue's description:
> Revert of Setting is_component_build to false by default (patchset #5 id:80001 of https://codereview.webrtc.org/2728643003/ )
>
> Reason for revert:
> Breaks chrome rolls
>
> Original issue's description:
> > Setting is_component_build to false by default
> >
> > Webrtc does not support component builds so we want to override
> > the chromium default value (which can be true on debug builds if the
> > os is different from iOS).
> >
> > Please note that the user can set this value to true in two ways:
> >
> >  - using --args (e.g.: gn gen out/default --args='is_component_build=true'
> >  - changing the value in the args.gn file
> >
> > But in both cases the value will be ignored because we don't use the
> > 'component' template but we rely directly on 'rtc_static_library' and
> > 'rtc_shared_library'.
> >
> > BUG=webrtc:6975
> > NOTRY=True
> >
> > Review-Url: https://codereview.webrtc.org/2728643003
> > Cr-Commit-Position: refs/heads/master@{#17020}
> > Committed: 2cb3944ba7
>
> TBR=kjellander@webrtc.org,mbonadei@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:6975
>
> Review-Url: https://codereview.webrtc.org/2731703004
> Cr-Commit-Position: refs/heads/master@{#17025}
> Committed: 2d9e7685a5

TBR=kjellander@webrtc.org,tommi@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:6975

Review-Url: https://codereview.webrtc.org/2729243003
Cr-Commit-Position: refs/heads/master@{#17027}
2017-03-04 03:41:59 +00:00
3720262dc8 Roll chromium_revision 698727682c..7791a3fc00 (454685:454729)
Change log: 698727682c..7791a3fc00
Full diff: 698727682c..7791a3fc00

Changed dependencies:
* src/build: 13410676a3..8a0a5a27d4
* src/ios: 4361e47b9c..dd6eab9f94
* src/testing: 9cacf531de..a4984ec2b0
* src/third_party: a6aad501fb..e2c8299504
* src/third_party/catapult: 95c33d94d5..f94a852c0a
* src/tools: ace7fd80ce..499a55c067
DEPS diff: 698727682c..7791a3fc00/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2727233007
Cr-Commit-Position: refs/heads/master@{#17026}
2017-03-04 01:16:03 +00:00
2d9e7685a5 Revert of Setting is_component_build to false by default (patchset #5 id:80001 of https://codereview.webrtc.org/2728643003/ )
Reason for revert:
Breaks chrome rolls

Original issue's description:
> Setting is_component_build to false by default
>
> Webrtc does not support component builds so we want to override
> the chromium default value (which can be true on debug builds if the
> os is different from iOS).
>
> Please note that the user can set this value to true in two ways:
>
>  - using --args (e.g.: gn gen out/default --args='is_component_build=true'
>  - changing the value in the args.gn file
>
> But in both cases the value will be ignored because we don't use the
> 'component' template but we rely directly on 'rtc_static_library' and
> 'rtc_shared_library'.
>
> BUG=webrtc:6975
> NOTRY=True
>
> Review-Url: https://codereview.webrtc.org/2728643003
> Cr-Commit-Position: refs/heads/master@{#17020}
> Committed: 2cb3944ba7

TBR=kjellander@webrtc.org,mbonadei@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:6975

Review-Url: https://codereview.webrtc.org/2731703004
Cr-Commit-Position: refs/heads/master@{#17025}
2017-03-04 00:15:01 +00:00
ccf57a71eb BlankDetectorDesktopCapturerWrapper to detect a blank DesktopFrame
DXGI capturer highly depends on video adapter and its driver, as well as Windows
itself. I recently found it cannot work on my virtualbox instance any more,
which indicates it may not work well on some specific systems. What worse is,
the APIs do not return a failure in such case.

So this change adds a BlankDetectorDesktopCapturerWrapper, which samples several
pixels in the frame returned by a DesktopCapturer implementation. If all the
pixels selected are blank, this wrapper returns a failure. A typical usage is to
combine BlankDetectorDesktopCapturerWrapper with FallbackDesktopCapturerWrapper,
and use GDI capturer in case of failure.

Usually less than 10000 pixels are checked, so the
BlankDetectorDesktopCapturerWrapper should not significant impact the capturer
performance.

This change is expected to resolve bug 682112 in another dimension.

BUG=682112

Review-Url: https://codereview.webrtc.org/2709523003
Cr-Original-Commit-Position: refs/heads/master@{#16984}
Committed: c4e9d210b3
Review-Url: https://codereview.webrtc.org/2709523003
Cr-Commit-Position: refs/heads/master@{#17024}
2017-03-03 22:40:15 +00:00
d3501adf17 Create the SrtpTransportInterface.
Create the SrtpTransportInterface, a subclass of RtpTransportInterface, which
allows the user to set the send and receive keys. The functionalities are
implemented inside the RtpTransportAdapters on top of BaseChannel.

BUG=webrtc:7013

Review-Url: https://codereview.webrtc.org/2714813004
Cr-Commit-Position: refs/heads/master@{#17023}
2017-03-03 22:39:06 +00:00
716e726ef0 Roll chromium_revision d41fc4a850..698727682c (454644:454685)
Change log: d41fc4a850..698727682c
Full diff: d41fc4a850..698727682c

Changed dependencies:
* src/build: 1468ab3603..13410676a3
* src/ios: 7ef8f8a3cb..4361e47b9c
* src/third_party: b6e906bd50..a6aad501fb
* src/third_party/catapult: 2098afcc06..95c33d94d5
* src/tools: 82218d86ef..ace7fd80ce
DEPS diff: d41fc4a850..698727682c/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2735453002
Cr-Commit-Position: refs/heads/master@{#17022}
2017-03-03 22:10:44 +00:00
a4fb2e9c98 Roll chromium_revision 34094a6991..d41fc4a850 (454592:454644)
Change log: 34094a6991..d41fc4a850
Full diff: 34094a6991..d41fc4a850

Changed dependencies:
* src/base: 12b56f8e03..8fe126945c
* src/build: 8ce716418e..1468ab3603
* src/ios: ae19e93a6e..7ef8f8a3cb
* src/testing: df1d366109..9cacf531de
* src/third_party: ed60efcdb6..b6e906bd50
* src/third_party/catapult: 1b305da0d5..2098afcc06
* src/tools: 5eeceb2632..82218d86ef
DEPS diff: 34094a6991..d41fc4a850/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2730893003
Cr-Commit-Position: refs/heads/master@{#17021}
2017-03-03 19:42:33 +00:00
2cb3944ba7 Setting is_component_build to false by default
Webrtc does not support component builds so we want to override
the chromium default value (which can be true on debug builds if the
os is different from iOS).

Please note that the user can set this value to true in two ways:

 - using --args (e.g.: gn gen out/default --args='is_component_build=true'
 - changing the value in the args.gn file

But in both cases the value will be ignored because we don't use the
'component' template but we rely directly on 'rtc_static_library' and
'rtc_shared_library'.

BUG=webrtc:6975
NOTRY=True

Review-Url: https://codereview.webrtc.org/2728643003
Cr-Commit-Position: refs/heads/master@{#17020}
2017-03-03 19:36:37 +00:00
02455b27a2 Modify TransportFeedbackPacketLossTrackerTest to use parameterization
BUG=webrtc:7058

Review-Url: https://codereview.webrtc.org/2674733002
Cr-Commit-Position: refs/heads/master@{#17019}
2017-03-03 19:11:06 +00:00
7af9357580 Packet Loss Tracker - Stream Separation
1. Packet reception statistics (PLR and RPLR) calculated on each stream separately.
2. Algorithm changed from considering separate quadrants of the sequence-number-ring to simply looking at the oldest in-window SENT packet.

BUG=webrtc:7058

Review-Url: https://codereview.webrtc.org/2632203002
Cr-Commit-Position: refs/heads/master@{#17018}
2017-03-03 18:51:35 +00:00
b85a88853a Fixing race between CallbackCanceled and CancelCallback in AsyncInvoker.
Pointer was already protected by a critical section in two places but
not the third. Added thread annotations to prevent this from happening
in the future.

BUG=None

Review-Url: https://codereview.webrtc.org/2726263004
Cr-Commit-Position: refs/heads/master@{#17017}
2017-03-03 18:33:18 +00:00
a1991c5175 Removing HTTPS and SOCKS proxy server code.
This isn't used any more so there's no point in maintaining it.

BUG=None

Review-Url: https://codereview.webrtc.org/2731673002
Cr-Commit-Position: refs/heads/master@{#17016}
2017-03-03 18:23:08 +00:00
78d89778b4 Roll chromium_revision 84609d29db..34094a6991 (454568:454592)
Change log: 84609d29db..34094a6991
Full diff: 84609d29db..34094a6991

Changed dependencies:
* src/third_party: ee985adde1..ed60efcdb6
* src/third_party/catapult: 7ef761733d..1b305da0d5
* src/tools: 4b43aa596f..5eeceb2632
DEPS diff: 84609d29db..34094a6991/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2730973002
Cr-Commit-Position: refs/heads/master@{#17015}
2017-03-03 16:47:03 +00:00
0ebe0199ac Add unit tests for RTCMTLVideoView.
To properly test the functionality,  following changes  were needed
- Make RTCMTLVideoView compiliable for all cpu architectures not just arm64.
This is needed so that the test can run on any device and on simulator as well.
- Refactor RTCMTLVideoView to have  mockable class methods.
The unittest class, RTCMTLVideoViewTests was designed to provide easy transition
to XCTest when the time comes for that.
To transition to XCTest it would suffice to inherit from XCTestCase and remove
the gtest methods.

BUG=webrtc:7079

Review-Url: https://codereview.webrtc.org/2723903003
Cr-Commit-Position: refs/heads/master@{#17014}
2017-03-03 16:24:06 +00:00
446fb136dc APM configuration files generator.
It generates json files to be used as APM configuration presets.
Useful to avoid manual editing of such files.

BUG=webrtc:7218
NOTRY=True

Review-Url: https://codereview.webrtc.org/2719853006
Cr-Commit-Position: refs/heads/master@{#17013}
2017-03-03 16:20:19 +00:00
bf4007dbe9 Evaluation controller, evaluation score abstract class, and score data access.
BUG=webrtc:7218

Review-Url: https://codereview.webrtc.org/2714543005
Cr-Commit-Position: refs/heads/master@{#17012}
2017-03-03 15:59:31 +00:00
930ff23261 Fixing a unittest to allow new Opus version.
New Opus version starts to support 120ms frame lengths. AudioEncoderOpusTest had an unnecessary check on the available frame lengths.

It is removed in this CL.

BUG=b/35415318

Review-Url: https://codereview.webrtc.org/2731583003
Cr-Commit-Position: refs/heads/master@{#17011}
2017-03-03 15:34:52 +00:00
810025f9e9 Readme file with example that explains how the conversational speech generator tool should work.
BUG=webrtc:7218
NOTRY=True

Review-Url: https://codereview.webrtc.org/2722173003
Cr-Commit-Position: refs/heads/master@{#17010}
2017-03-03 15:31:10 +00:00
db23ea69b6 Add performance tracing for PlatformThread and parts of the video code.
BUG=webrtc:7219

Review-Url: https://codereview.webrtc.org/2729783004
Cr-Commit-Position: refs/heads/master@{#17009}
2017-03-03 15:21:18 +00:00
b4ec8765d8 "audioproc_f" wrapper
- Metadata and AudioProcConfigFile classes
- ApmModuleSimulator constructor updated
- BUILD.gn updated

BUG=webrtc:7218
NOTRY=True

Review-Url: https://codereview.webrtc.org/2711313004
Cr-Commit-Position: refs/heads/master@{#17008}
2017-03-03 14:53:56 +00:00
a4b1d31207 Simulation controller (shell arguments parser and simulation runner) and libraries (data access, noise generators, evaluation scores).
Execution flag added to the .py and .sh scripts.
BUILD.gn files adapted (see :lib), APM config files moved.

BUG=webrtc:7218
NOTRY=True

Review-Url: https://codereview.webrtc.org/2715943002
Cr-Commit-Position: refs/heads/master@{#17007}
2017-03-03 14:48:48 +00:00
4336d73bd3 Reland of Fix flaky EndToEndTest.TransportSeqNumOnAudioAndVideo (patchset #1 id:1 of https://codereview.webrtc.org/2730893002/ )
Reason for revert:
Fixing race and relanding

Original issue's description:
> Revert of Fix flaky EndToEndTest.TransportSeqNumOnAudioAndVideo (patchset #2 id:20001 of https://codereview.webrtc.org/2728103002/ )
>
> Reason for revert:
> Fails on tsan
> http://build.chromium.org/p/client.webrtc/builders/Linux%20Tsan%20v2/builds/10235
>
> Original issue's description:
> > Fix flaky EndToEndTest.TransportSeqNumOnAudioAndVideo
> > Add extra checks to it to simplify diagnostic should it fail again.
> >
> > BUG=webrtc:7292
> >
> > Review-Url: https://codereview.webrtc.org/2728103002
> > Cr-Commit-Position: refs/heads/master@{#16999}
> > Committed: bcb6004a9d
>
> TBR=asapersson@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:7292
>
> Review-Url: https://codereview.webrtc.org/2730893002
> Cr-Commit-Position: refs/heads/master@{#17000}
> Committed: 9a59473f2c

TBR=asapersson@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:7292

Review-Url: https://codereview.webrtc.org/2730673004
Cr-Commit-Position: refs/heads/master@{#17006}
2017-03-03 14:21:54 +00:00
65cb70d939 Fix cyclic deps: rent_a_codec<->audio_coding and rent_a_codec<->neteq
In short, what I did was to

  * Remove acm_common_defs.h (the stuff in it was used only by
    acm_codec_database.cc).

  * Move audio_coding_module_typedefs.h to a new build target.

  * Move the NetEqDecoder enum (and the associated
    NetEqDecoderToSdpAudioFormat function) to a new file in a new
    build target.

BUG=webrtc:7243, webrtc:7244

Review-Url: https://codereview.webrtc.org/2723253005
Cr-Commit-Position: refs/heads/master@{#17005}
2017-03-03 14:16:28 +00:00
154a7bb877 Add Metal video view in AppRTCMobile and Metal availability macro.
- The RTC_SUPPORTS_METAL macro allows consumers to gracefully handle compilation for different archs that are not supporting Metal.

BUG=webrtc:7079

Review-Url: https://codereview.webrtc.org/2722583002
Cr-Commit-Position: refs/heads/master@{#17004}
2017-03-03 14:11:10 +00:00
3a2c803dc3 Multiply in 64 bits to avoid overflow
A fuzzer run caused the operands of this multiplication to be 512 and
5000000, resulting in a product about 20% too large for int32_t. So
change this from a 16x32->32 to a 16x32->64 multiplication. Since we
right shift by 2 at the end, the end result will still fit in int32_t.

I also had to fix a few follow-on add/sub overflows found by the same
fuzzer input once the multiplication was fixed. I chose to saturate
these, since it wasn't just an intermediate value that overflowed.

BUG=chromium:693868

Review-Url: https://codereview.webrtc.org/2729573002
Cr-Commit-Position: refs/heads/master@{#17003}
2017-03-03 13:44:49 +00:00
d0472af435 Roll chromium_revision dcdc81fcde..84609d29db (454553:454568)
Change log: dcdc81fcde..84609d29db
Full diff: dcdc81fcde..84609d29db

Changed dependencies:
* src/ios: d3b7b0146e..ae19e93a6e
* src/third_party: ef5cd34d5a..ee985adde1
* src/tools: 5fe86cecb0..4b43aa596f
DEPS diff: dcdc81fcde..84609d29db/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2726393002
Cr-Commit-Position: refs/heads/master@{#17002}
2017-03-03 13:25:39 +00:00
5bdee47ede Increase tick precision in TaskQueue on Windows 64.
Hopefully this will reduce the flakiness of PostDelayedTask.

BUG=none

Review-Url: https://codereview.webrtc.org/2728663008
Cr-Commit-Position: refs/heads/master@{#17001}
2017-03-03 13:20:12 +00:00
9a59473f2c Revert of Fix flaky EndToEndTest.TransportSeqNumOnAudioAndVideo (patchset #2 id:20001 of https://codereview.webrtc.org/2728103002/ )
Reason for revert:
Fails on tsan
http://build.chromium.org/p/client.webrtc/builders/Linux%20Tsan%20v2/builds/10235

Original issue's description:
> Fix flaky EndToEndTest.TransportSeqNumOnAudioAndVideo
> Add extra checks to it to simplify diagnostic should it fail again.
>
> BUG=webrtc:7292
>
> Review-Url: https://codereview.webrtc.org/2728103002
> Cr-Commit-Position: refs/heads/master@{#16999}
> Committed: bcb6004a9d

TBR=asapersson@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:7292

Review-Url: https://codereview.webrtc.org/2730893002
Cr-Commit-Position: refs/heads/master@{#17000}
2017-03-03 13:04:49 +00:00
bcb6004a9d Fix flaky EndToEndTest.TransportSeqNumOnAudioAndVideo
Add extra checks to it to simplify diagnostic should it fail again.

BUG=webrtc:7292

Review-Url: https://codereview.webrtc.org/2728103002
Cr-Commit-Position: refs/heads/master@{#16999}
2017-03-03 12:38:11 +00:00
dea489f33e Add support for Location (RTC_FROM_HERE) to ProcessThread::RegisterModule.
This makes a few things a lot clearer when looking at perf trace data:

* What module instances (where they were created) are called
* On what thread
* How frequently
* For how long

ProcessThread will be replaced by TaskQueue moving forward and this is a step towards understanding the behavior of the affected code.

BUG=webrtc:7219

Review-Url: https://codereview.webrtc.org/2729053002
Cr-Commit-Position: refs/heads/master@{#16998}
2017-03-03 11:20:24 +00:00
bcb72e786d Roll chromium_revision 0098184215..dcdc81fcde (454534:454553)
Change log: 0098184215..dcdc81fcde
Full diff: 0098184215..dcdc81fcde

Changed dependencies:
* src/ios: 5bc0f5a778..d3b7b0146e
* src/third_party: db134cfb89..ef5cd34d5a
* src/tools: 3edd973170..5fe86cecb0
DEPS diff: 0098184215..dcdc81fcde/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2723003009
Cr-Commit-Position: refs/heads/master@{#16997}
2017-03-03 10:22:32 +00:00
f0d7b2b507 Make sure that ApmHelpersTest tests don't enter a tight loop.
BUG=webrtc:7219, webrtc:7290
TBR=solenberg@webrtc.org

Review-Url: https://codereview.webrtc.org/2729133002
Cr-Commit-Position: refs/heads/master@{#16996}
2017-03-03 09:34:15 +00:00
2fc52544b0 Fix flaky ViEEncoder tests.
This CL fixes two issues. The first is a tsan complaint about a data
race. The test had a fix to make it deterministic but the race still
existed, so this adds locks around the critical section to appease
the sanitizer.

The second, more annoying issue, is that occasionally the test would
start before the encoder had been configured, as this happens
asynchronously on a task queue. This would cause frames to be queued
up and dropped, but not where we expected them to be dropped.
This was causing some tests to fail very occasionally. I've added
a synchronisation mechanism by posting a barrier task on the queue
and not proceeding with the tests until it finishes.

BUG=webrtc:7217, webrtc:7232, webrtc:7260

Review-Url: https://codereview.webrtc.org/2722183004
Cr-Commit-Position: refs/heads/master@{#16995}
2017-03-03 08:24:41 +00:00