19077 Commits

Author SHA1 Message Date
mbonadei
bcc2176e64 Decoupling audio_device from Obj-C code
The goal of this CL is to separate Obj-C/Obj-C++ code from targets which have
also C++ code (see https://bugs.chromium.org/p/webrtc/issues/detail?id=7743
for more information).

To achieve this we have created 2 targets (audio_device_ios_objc and
audio_device_generic) and audio_device will act as a proxy between these targets
(this way we can avoid a circular dependency between audio_device_generic and
audio_device_ios_objc).

BUG=webrtc:7743

Review-Url: https://codereview.webrtc.org/2991343002
Cr-Commit-Position: refs/heads/master@{#19795}
2017-09-12 11:45:24 +00:00
magjed
2475ae2e4c Simplify passing video coded factories in media engine
We soon want to be able to pass in a new type of video codec factories,
see issue 7925 for more information. We currently plumb these video
codec factories in a clumsy way from the media engine to the video
engine, which will require us to update a lot of places when we add
new video codec factory types. This CL cleans up the way we pass in
video codec factories to make it easier to add the new factory types.

In particular, this CL:
 * Updates WebRtcVideoEngine to take the video codec factories as
   arguments in ctor instead of in SetExternalVideoCodec functions.
 * Remove the Init() function from the vidoe engines - this function is
   not used.
 * Update CompositeMediaEngine to take generic variadic arguments, so we
   can send different arguments for different engines, without having to
   update this class.
 * Simplify ownership of video codec factories in WebRtcVideoEngine.
   WebRtcVideoEngine outlives WebRtcVideoChannel,
   WebRtcVideoSendStream and WebRtcVideoReceiveStream, so it can
   keep ownership without having to share ownership with these classes.

BUG=webrtc:7925

Review-Url: https://codereview.webrtc.org/3008043002
Cr-Commit-Position: refs/heads/master@{#19794}
2017-09-12 11:42:15 +00:00
eladalon
1e7dd31001 Break the ANA build-target into ANA and ANA-config
This is done to solve a dependency-cycle with the RtcEventLog - now the RtcEventLog can depend on the config part of ANA, and be able to peer inside, while the implementation part of ANA can invoke the RtcEventLog.

BUG=webrtc:8111
TBR=stefan@webrtc.org

Review-Url: https://codereview.webrtc.org/3010343002
Cr-Commit-Position: refs/heads/master@{#19793}
2017-09-12 11:38:25 +00:00
buildbot
adfc2795bb Roll chromium_revision f2668a840f..c06541dae0 (501203:501227)
Change log: f2668a840f..c06541dae0
Full diff: f2668a840f..c06541dae0

Changed dependencies:
* src/ios: ad1da357b7..f137d734c9
* src/testing: a325b8a0d3..5421b9f680
* src/third_party: a39b561cfe..14e314c161
* src/tools: c3dd823da1..046fe5c057
DEPS diff: f2668a840f..c06541dae0/DEPS

No update to Clang.

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

Review-Url: https://codereview.webrtc.org/3013593002
Cr-Commit-Position: refs/heads/master@{#19792}
2017-09-12 10:21:05 +00:00
magjed
43467b09c8 ObjC EncodedImage: Use fixed width integer types
We currently use long for some variables, which causes warnings when
converting from int64_t. We should use fixed width integer types
instead.

BUG=b/65491700

Review-Url: https://codereview.webrtc.org/3009293002
Cr-Commit-Position: refs/heads/master@{#19791}
2017-09-12 09:29:43 +00:00
buildbot
9a2d5c9846 Roll chromium_revision 1c19443a45..f2668a840f (501170:501203)
Change log: 1c19443a45..f2668a840f
Full diff: 1c19443a45..f2668a840f

Changed dependencies:
* src/base: 345b13d1eb..e381e380bc
* src/third_party: 8922a58a14..a39b561cfe
* src/tools: 9c1decbeff..c3dd823da1
DEPS diff: 1c19443a45..f2668a840f/DEPS

No update to Clang.

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

Review-Url: https://codereview.webrtc.org/3012173002
Cr-Commit-Position: refs/heads/master@{#19790}
2017-09-12 07:17:03 +00:00
buildbot
d10bed125a Roll chromium_revision af161574c2..1c19443a45 (501126:501170)
Change log: af161574c2..1c19443a45
Full diff: af161574c2..1c19443a45

Changed dependencies:
* src/build: d78169a36f..1555ee546d
* src/testing: 5832afb230..a325b8a0d3
* src/third_party: b50a6ba67d..8922a58a14
* src/third_party/catapult: c59db25d81..d5df04f53c
* src/tools: af8d40056c..9c1decbeff
DEPS diff: af161574c2..1c19443a45/DEPS

No update to Clang.

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

Review-Url: https://codereview.webrtc.org/3007413002
Cr-Commit-Position: refs/heads/master@{#19789}
2017-09-12 04:18:03 +00:00
buildbot
22581d4d81 Roll chromium_revision 0e2fc3a0b9..af161574c2 (501051:501126)
Change log: 0e2fc3a0b9..af161574c2
Full diff: 0e2fc3a0b9..af161574c2

Changed dependencies:
* src/base: 7b6dbc8d1f..345b13d1eb
* src/ios: 32847e75d6..ad1da357b7
* src/testing: 52eccfe830..5832afb230
* src/third_party: 726415ed49..b50a6ba67d
* src/third_party/catapult: 99ec818780..c59db25d81
* src/tools: f3bc46f72e..af8d40056c
DEPS diff: 0e2fc3a0b9..af161574c2/DEPS

No update to Clang.

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

Review-Url: https://codereview.webrtc.org/3013583002
Cr-Commit-Position: refs/heads/master@{#19788}
2017-09-12 02:18:13 +00:00
buildbot
2597889111 Roll chromium_revision 307e855af4..0e2fc3a0b9 (500986:501051)
Change log: 307e855af4..0e2fc3a0b9
Full diff: 307e855af4..0e2fc3a0b9

Changed dependencies:
* src/base: 893d7fcb24..7b6dbc8d1f
* src/build: 5fbb0195ff..d78169a36f
* src/ios: 7e611bf2e9..32847e75d6
* src/testing: a56d2bad4b..52eccfe830
* src/third_party: f472d45563..726415ed49
* src/third_party/catapult: f465506fe2..99ec818780
* src/third_party/libvpx/source/libvpx: 30c261b1eb..9a2dd7e67e
* src/tools: 641d99fc42..f3bc46f72e
DEPS diff: 307e855af4..0e2fc3a0b9/DEPS

No update to Clang.

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

Review-Url: https://codereview.webrtc.org/3007403002
Cr-Commit-Position: refs/heads/master@{#19787}
2017-09-11 22:30:27 +00:00
Steve Anton
18ee1d55b4 Move SDP m= line matching from BaseChannel to WebRtcSession
This is part of the work towards implementing Unified Plan.

The logic for correlating m= lines to channels is changing in
Unified Plan. Moving this logic to WebRtcSession means that we do
not need to add a flag to BaseChannel to indicate which logic it
should use (i.e., Plan B vs. Unified Plan) and can keep those
details in WebRtcSession.

Bug: webrtc:8183
Change-Id: I729da73ece01fd20f45e82f8956a02c4cad2469e
Reviewed-on: https://chromium-review.googlesource.com/653490
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Reviewed-by: Peter Thatcher <pthatcher@webrtc.org>
Commit-Queue: Steve Anton <steveanton@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19786}
2017-09-11 20:46:16 +00:00
buildbot
3e1c1ff073 Roll chromium_revision 4431ab1b87..307e855af4 (500875:500986)
Change log: 4431ab1b87..307e855af4
Full diff: 4431ab1b87..307e855af4

Changed dependencies:
* src/base: 38fa824d5b..893d7fcb24
* src/build: 898597f665..5fbb0195ff
* src/ios: 243cabb61c..7e611bf2e9
* src/testing: 18a069015d..a56d2bad4b
* src/third_party: 32321ad8ea..f472d45563
* src/third_party/catapult: e3fe21f502..f465506fe2
* src/tools: 9ae881969e..641d99fc42
DEPS diff: 4431ab1b87..307e855af4/DEPS

No update to Clang.

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

Review-Url: https://codereview.webrtc.org/3011203002
Cr-Commit-Position: refs/heads/master@{#19785}
2017-09-11 19:29:19 +00:00
danilchap
ce25181714 Remove RtpPacketToSend::GetHeader as almost unused.
Merge rtp::Packet::GetHeader into RtpPacketReceived::GetHeader removing
error-prone code where latter shadow former version

BUG=None

Review-Url: https://codereview.webrtc.org/3012983002
Cr-Commit-Position: refs/heads/master@{#19784}
2017-09-11 19:24:41 +00:00
ehmaldonado
a827c087fa Make webrtc_perf_tests run serially on swarming.
BUG=chromium:755660
NOTRY=True

Review-Url: https://codereview.webrtc.org/3012973002
Cr-Commit-Position: refs/heads/master@{#19783}
2017-09-11 19:14:58 +00:00
andersc
063f0c0d3a Reland of Prepare for injectable SW decoders (patchset #1 id:1 of https://codereview.webrtc.org/3010953002/ )
Reason for revert:
Fix bug introduced by keeping the allocated decoders in a map.

Original issue's description:
> Revert of Prepare for injectable SW decoders (patchset #3 id:40001 of https://codereview.webrtc.org/3009973002/ )
>
> Reason for revert:
> Tentative revert since it seems to cause problems in Chrome, MAC.
>
> https://build.chromium.org/p/chromium.webrtc.fyi/builders/Mac%20Tester/builds/42684
>
>
>
> Original issue's description:
> > Prepare for injectable SW decoders
> >
> > Pretty much mirrors the work done on the encoding side in CLs:
> >
> > "Clean up ownership of webrtc::VideoEncoder"
> > https://codereview.webrtc.org/3007643002/
> >
> > "Let VideoEncoderSoftwareFallbackWrapper own the wrapped encoder"
> > https://codereview.webrtc.org/3007683002/
> >
> > "WebRtcVideoEngine: Encapsulate logic for unifying internal and external video codecs"
> > https://codereview.webrtc.org/3006713002/
> >
> > BUG=webrtc:7925
> >
> > Review-Url: https://codereview.webrtc.org/3009973002
> > Cr-Commit-Position: refs/heads/master@{#19641}
> > Committed: 084c55a63a
>
> TBR=magjed@webrtc.org,andersc@webrtc.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=webrtc:7925
>
> Review-Url: https://codereview.webrtc.org/3010953002
> Cr-Commit-Position: refs/heads/master@{#19647}
> Committed: 1f88531038

TBR=magjed@webrtc.org,perkj@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:7925

Review-Url: https://codereview.webrtc.org/3005363002
Cr-Commit-Position: refs/heads/master@{#19782}
2017-09-11 18:50:51 +00:00
oprypin
370c6d5694 Use hermetic toolchain on Mac, except for local iOS builds
Copied from https://chromium.googlesource.com/chromium/src/+/d04b06a98/build_overrides/build.gni

BUG=chromium:763924

Review-Url: https://codereview.webrtc.org/3013003002
Cr-Commit-Position: refs/heads/master@{#19781}
2017-09-11 18:38:48 +00:00
Alex Loiko
357429dd1e Rudimentary optimization with APM/QA.
Added script 'apm_quality_assessment_optimize' for finding parameters
that minimize a custom function of the scores generated by APM-QA. The
script reuses the existing functionality for filtering the data on
configs/scores/outputs.

To archieve that, some modularization has been done: the part from
apm_quality_assessment_export that reads in data into a
pandas.DataFrame has been moved into quality_assessment.collect_data.

TESTED = though extensive manual tests. Unit tests for the user
scripts and 'collect_data' are missing, because we don't have a test
framework for loading/exporting fake data.

BUG=webrtc:7218

Change-Id: I5521b952970243da05fc4db1b9feef87a2e5ccad
Reviewed-on: https://chromium-review.googlesource.com/643292
Commit-Queue: Alex Loiko <aleloi@webrtc.org>
Reviewed-by: Alessio Bazzica <alessiob@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19780}
2017-09-11 17:00:37 +00:00
philipel
3b3c9c4eb0 Don't treat picture ids as wrapping in the FrameBuffer2 class.
Picture ids are now unwrapped in the RtpFrameReferenceFinder class, so the
FrameBuffer2 no longer need to treat them as wrapping.

BUG=webrtc:7874

Review-Url: https://codereview.webrtc.org/3012883002
Cr-Commit-Position: refs/heads/master@{#19779}
2017-09-11 16:38:36 +00:00
erikvarga
4232273061 Use RaceChecker instead of ThreadChecker in remote_bitrate_estimator.
BUG=webrtc:7826

Review-Url: https://codereview.webrtc.org/3006173002
Cr-Commit-Position: refs/heads/master@{#19778}
2017-09-11 16:23:37 +00:00
eladalon
98b1b7d59e Add explicit copy constructors to RTPHeader and RTPHeaderExtension
Explicit copy-constructors are required by chromium. (No copy constructors were used until now, but a different CL requires them.)

BUG=None
TBR=stefan@webrtc.org

Review-Url: https://codereview.webrtc.org/3006343002
Cr-Commit-Position: refs/heads/master@{#19777}
2017-09-11 15:48:26 +00:00
eladalon
4bb3b9c6cb Move StreamConfig into its own file
Move StreamConfig into its own file, to allow it to be seen from different RtcEvent subclasses (introduces in upcoming CL).

BUG=webrtc:8111

Review-Url: https://codereview.webrtc.org/3013523002
Cr-Commit-Position: refs/heads/master@{#19776}
2017-09-11 14:25:26 +00:00
buildbot
b600d8794b Roll chromium_revision ad20484e8e..4431ab1b87 (500401:500875)
Change log: ad20484e8e..4431ab1b87
Full diff: ad20484e8e..4431ab1b87

Changed dependencies:
* src/base: 064ee04d60..38fa824d5b
* src/build: 92ccaf1432..898597f665
* src/ios: 028e2e7892..243cabb61c
* src/testing: 2dcdb7d1a9..18a069015d
* src/third_party: 51a4efd6dc..32321ad8ea
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/e3bb51cb23..6881ec0465
* src/third_party/catapult: 07a2febe72..e3fe21f502
* src/tools: d3ed6d9887..9ae881969e
* src/tools/swarming_client: 72b6a2dc60..5e8001d9a7
DEPS diff: ad20484e8e..4431ab1b87/DEPS

Clang version changed 310694:312679
Details: ad20484e8e..4431ab1b87/tools/clang/scripts/update.py

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

Review-Url: https://codereview.webrtc.org/3005353002
Cr-Commit-Position: refs/heads/master@{#19775}
2017-09-11 13:55:38 +00:00
sakal
c36daecd77 Add support for H264 high-profile in injectable video encoder.
BUG=webrtc:7760

Review-Url: https://codereview.webrtc.org/3007133002
Cr-Commit-Position: refs/heads/master@{#19774}
2017-09-11 13:53:27 +00:00
peah
c6b1041d67 Removed the timeout for the delay estimate quality.
BUG=webrtc:8223, chromium:763761

Review-Url: https://codereview.webrtc.org/3011193002
Cr-Commit-Position: refs/heads/master@{#19773}
2017-09-11 13:46:07 +00:00
peah
ea154106a8 Lowered the allowed jitter in the api calls to a reasonable level
This CL reduces the allowed jitter in the api calls to a reasonable
level in order to ensure a quicker revery from audio path glitches.

BUG=webrtc:8224, chromium:763775

Review-Url: https://codereview.webrtc.org/3009273002
Cr-Commit-Position: refs/heads/master@{#19772}
2017-09-11 13:44:37 +00:00
denicija
d207a39d09 Add |RTCUIApplicationStatusObserver sharedInstance| call in ios test AppDelegate.
We want to perform the observation setup as soon as possible to avoid deadlocking,
especially for test scenario where most of the work is done on main thread.

BUG=webrtc:6634

Review-Url: https://codereview.webrtc.org/3012913002
Cr-Commit-Position: refs/heads/master@{#19771}
2017-09-11 13:43:28 +00:00
korniltsev.anatoly
0ea0310b89 android: add IceServer.urls field
This makes api more consistent with ios and native library

BUG=None

Review-Url: https://codereview.webrtc.org/3012843002
Cr-Commit-Position: refs/heads/master@{#19770}
2017-09-11 13:41:38 +00:00
henrika
e0406fd955 Removes unused ADM APIs (final stage)
BUG=webrtc:7306

Review-Url: https://codereview.webrtc.org/3006333003
Cr-Commit-Position: refs/heads/master@{#19769}
2017-09-11 13:17:38 +00:00
magjed
7cede379c7 Android: Add helper class VideoFrameDrawer that can render VideoFrames
This CL adds a helper class VideoFrameDrawer that provides an
abstraction for rendering arbitrary video frames using OpenGL. The class
takes care of dispatching on the video buffer type and uploading
I420 data to textures.

BUG=None

Review-Url: https://codereview.webrtc.org/3008423002
Cr-Commit-Position: refs/heads/master@{#19768}
2017-09-11 13:12:07 +00:00
mbonadei
bc37847978 Decoupling rtc_base_approved from Obj-C code
The goal of this CL is to separate Obj-C/Obj-C++ code from targets which have
also C++ code (see https://bugs.chromium.org/p/webrtc/issues/detail?id=7743
for more information).

To achieve this we have created 2 targets (rtc_base_approved_objc and
rtc_base_approved_generic) and rtc_base_approved will act as a proxy between
these targets (this way we can avoid a circular dependency between
rtc_base_approved_generic and rtc_base_approved_objc).

BUG=webrtc:7743
NOTRY=True

Review-Url: https://codereview.webrtc.org/2988433002
Cr-Commit-Position: refs/heads/master@{#19767}
2017-09-11 10:43:34 +00:00
nisse
0677904e1b Delete Filesystem::CreateFolder.
BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2891923002
Cr-Commit-Position: refs/heads/master@{#19766}
2017-09-11 09:36:28 +00:00
nisse
ca5706d8b5 Reland of Use RtxReceiveStream. (patchset #1 id:1 of https://codereview.webrtc.org/3007303002/ )
Reason for revert:
Identified a configuration problem in the video quality tests. Intend to fix and reland.

Original issue's description:
> Revert of Use RtxReceiveStream. (patchset #5 id:320001 of https://codereview.webrtc.org/3006063002/ )
>
> Reason for revert:
> This change appears to break ulpfec, with severe regressions, e.g., for webrtc_perf_test FullStackTest.ForemanCifPlr5Ulpfec
>
> Original issue's description:
> > Reland of Use RtxReceiveStream. (patchset #1 id:1 of https://codereview.webrtc.org/3010983002/ )
> >
> > Reason for revert:
> > Intend to fix perf failures and reland.
> >
> > Original issue's description:
> > > Revert of Use RtxReceiveStream. (patchset #5 id:80001 of https://codereview.webrtc.org/3008773002/ )
> > >
> > > Reason for revert:
> > > A few perf tests broken, including
> > >
> > > RampUpTest.UpDownUpAbsSendTimeSimulcastRedRtx
> > > RampUpTest.UpDownUpTransportSequenceNumberRtx
> > > RampUpTest.UpDownUpTransportSequenceNumberPacketLoss
> > >
> > >
> > > Original issue's description:
> > > > Use RtxReceiveStream.
> > > >
> > > > This also has the beneficial side-effect that when a media stream
> > > > which is protected by FlexFEC receives an RTX retransmission, the
> > > > retransmitted media packet is passed into the FlexFEC machinery,
> > > > which should improve its ability to recover packets via FEC.
> > > >
> > > > BUG=webrtc:7135
> > > >
> > > > Review-Url: https://codereview.webrtc.org/3008773002
> > > > Cr-Commit-Position: refs/heads/master@{#19649}
> > > > Committed: 5c0f6c62ea
> > >
> > > TBR=brandtr@webrtc.org,danilchap@webrtc.org,stefan@webrtc.org,magjed@webrtc.org
> > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > NOPRESUBMIT=true
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=webrtc:7135
> > >
> > > Review-Url: https://codereview.webrtc.org/3010983002
> > > Cr-Commit-Position: refs/heads/master@{#19653}
> > > Committed: 3c39c0137a
> >
> > TBR=brandtr@webrtc.org,danilchap@webrtc.org,stefan@webrtc.org,magjed@webrtc.org
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > BUG=webrtc:7135
> >
> > Review-Url: https://codereview.webrtc.org/3006063002
> > Cr-Commit-Position: refs/heads/master@{#19715}
> > Committed: 35713eaf56
>
> TBR=brandtr@webrtc.org,danilchap@webrtc.org,stefan@webrtc.org,magjed@webrtc.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=webrtc:7135
>
> Review-Url: https://codereview.webrtc.org/3007303002
> Cr-Commit-Position: refs/heads/master@{#19744}
> Committed: 8e7eee0351

TBR=brandtr@webrtc.org,danilchap@webrtc.org,stefan@webrtc.org,magjed@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:7135

Review-Url: https://codereview.webrtc.org/3012963002
Cr-Commit-Position: refs/heads/master@{#19765}
2017-09-11 09:32:16 +00:00
ilnik
8412fd333d Fix code formating in api/video/video_content_type.*
Generated by "git cl format".

BUG=none

Review-Url: https://codereview.webrtc.org/3006333002
Cr-Commit-Position: refs/heads/master@{#19764}
2017-09-11 09:20:45 +00:00
henrika
76535de14f Improves stereo/mono audio support on Android.
Fixes some issues related to calling WebRtcAudioManager.setStereoOutput(true)
and WebRtcAudioManager.setStereoInput(true) and ensures that the ADM reports
correct values related to stereo support given these settings.

Also makes it more clear that the OpenSLES audio implementation does not support
stereo (we now fail in Init()).

To summarize: this change ensures that the user can ask for stereo input
and/or stereo output audio on Android in combination with the Java based
audio layer. By default (if no WebRtcAudioManager.setStereoXXX() APIs are called), mono will be used.

BUG=webrtc:7962

Review-Url: https://codereview.webrtc.org/3009193002
Cr-Commit-Position: refs/heads/master@{#19763}
2017-09-11 08:25:55 +00:00
kjellander
1ddfc5502a Whitespace change to trigger bots
BUG=chromium:738330
TBR=ehmaldonado@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/3012143002
Cr-Commit-Position: refs/heads/master@{#19762}
2017-09-10 18:35:21 +00:00
ivoc
17289097f0 Implement ANA statistics.
This CL also makes it possible to enable/prevent ANA controllers from making adaptations using field trials.

BUG=webrtc:8127

Review-Url: https://codereview.webrtc.org/3007983002
Cr-Commit-Position: refs/heads/master@{#19761}
2017-09-09 15:45:40 +00:00
danilchap
a37de39216 Update thread annotiation macros to use RTC_ prefix
BUG=webrtc:8198

Review-Url: https://codereview.webrtc.org/3012853002
Cr-Commit-Position: refs/heads/master@{#19760}
2017-09-09 11:17:22 +00:00
Karl Wiberg
e1d464ec7b Style guide: Attempt to make the L2 and L3 headings more visually distinct
The default style of the L2 and L3 headers are too similar, making it difficult to see which is which.

BUG=none
NOTRY=true

Change-Id: I0deede2ad5766db9b63baa48be8e4da4aba784ca
Reviewed-on: https://chromium-review.googlesource.com/657697
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19759}
2017-09-09 03:52:23 +00:00
Karl Wiberg
241d7107b2 Style guide: Add sections for Java, Objective-C/C++, and Python
They're just pointers to the corresponding Chromium or Google style
guides.

BUG=none
NOTRY=true

Change-Id: Ib808db1cc4fc4d8a4ea708e6ec1c92d6d219b78e
Reviewed-on: https://chromium-review.googlesource.com/657419
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Kári Tristan Helgason <kthelgason@webrtc.org>
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Reviewed-by: Niels Möller <nisse@chromium.org>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Cr-Commit-Position: refs/heads/master@{#19758}
2017-09-09 03:41:33 +00:00
ehmaldonado
1359744d72 Whitespace CL - Test changes to android bots.
TBR=kjellander@webrtc.org
BUG=chromium:717417

Review-Url: https://codereview.webrtc.org/3012933002
Cr-Commit-Position: refs/heads/master@{#19757}
2017-09-08 20:42:00 +00:00
ivoc
0d0b912128 Add and modify a few ANA stats.
This CL adds seperate counters for ANA frame length increases and decreases, which gives more insight into what actions are taken. In addition, a new stat is added to track the sum of the uplink packet loss fraction that is set by the ANA FEC controller.

BUG=webrtc:8127

Review-Url: https://codereview.webrtc.org/3007243002
Cr-Commit-Position: refs/heads/master@{#19756}
2017-09-08 20:24:21 +00:00
Diogo Real
7bd1f1bb5b Add support for changing the TLS elliptic curve set.
This CL is almost identical to http://chromium-review.googlesource.com/c/611150

Bug: webrtc:8213
Change-Id: I21a8a0041a73b3171ed66b687dc47a579d45fe19
Reviewed-on: https://chromium-review.googlesource.com/653205
Commit-Queue: Diogo Real <diogor@google.com>
Reviewed-by: Peter Thatcher <pthatcher@webrtc.org>
Reviewed-by: Emad Omara <emadomara@webrtc.org>
Reviewed-by: Zeke Chin <tkchin@webrtc.org>
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19755}
2017-09-08 20:02:03 +00:00
kjellander
bdf3072f1a Revert of Remove typedefs.h from webrtc/ root (part 1) (patchset #3 id:40001 of https://codereview.webrtc.org/3007253002/ )
Reason for revert:
Breaks the Chromium WebRTC FYI bots:
https://build.chromium.org/p/chromium.webrtc.fyi/builders/ios-simulator/builds/2834
https://build.chromium.org/p/chromium.webrtc.fyi/builders/Win%20Builder/builds/11775

Example:
FAILED: obj/third_party/libjingle_xmpp/libjingle_xmpp_unittests/xmpplogintask_unittest.obj
ninja -t msvc -e environment.x86 -- E:\b\c\goma_client/gomacc.exe "e:\b\c\win_toolchain\vs_files\f53e4598951162bad6330f7a167486c7ae5db1e5\vc\bin\amd64_x86/cl.exe" /nologo /showIncludes  @obj/third_party/libjingle_xmpp/libjingle_xmpp_unittests/xmpplogintask_unittest.obj.rsp /c ../../third_party/libjingle_xmpp/xmpp/xmpplogintask_unittest.cc /Foobj/third_party/libjingle_xmpp/libjingle_xmpp_unittests/xmpplogintask_unittest.obj /Fd"obj/third_party/libjingle_xmpp/libjingle_xmpp_unittests_cc.pdb"
../../third_party/libjingle_xmpp/xmpp/xmpplogintask_unittest.cc(95): error C3861: 'FALLTHROUGH': identifier not found

Original issue's description:
> Remove typedefs.h from webrtc/ root (part 1)
>
> Split out webrtc-specific #defines from typedefs.h, into rtc_base/annotations.h and rtc_base/arch.h.
> Also removes the curiously named WEBRTC_CPU_DETECTION #define.
>
> BUG=webrtc:6854
>
> Review-Url: https://codereview.webrtc.org/3007253002
> Cr-Commit-Position: refs/heads/master@{#19752}
> Committed: a895836321

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

Review-Url: https://codereview.webrtc.org/3013543002
Cr-Commit-Position: refs/heads/master@{#19754}
2017-09-08 18:00:21 +00:00
kjellander
ec2c93e947 Use bundled SDK 10.12 toolchain for Mac and iOS.
BUG=webrtc:6608, webrtc:8099, chromium:659726, chromium:763440
TBR=mbonadei@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2995033002
Cr-Commit-Position: refs/heads/master@{#19753}
2017-09-08 17:52:17 +00:00
solenberg
a895836321 Remove typedefs.h from webrtc/ root (part 1)
Split out webrtc-specific #defines from typedefs.h, into rtc_base/annotations.h and rtc_base/arch.h.
Also removes the curiously named WEBRTC_CPU_DETECTION #define.

BUG=webrtc:6854

Review-Url: https://codereview.webrtc.org/3007253002
Cr-Commit-Position: refs/heads/master@{#19752}
2017-09-08 15:50:54 +00:00
ivoc
e1198e068b Add new ANA stats to the old GetStats() to count the number of actions taken by each controller.
This CL only wires up the new stats but does not set the values yet. This will be added in a follow-up CL.

BUG=webrtc:8127

Review-Url: https://codereview.webrtc.org/3011623002
Cr-Commit-Position: refs/heads/master@{#19751}
2017-09-08 15:13:19 +00:00
mbonadei
01410dcc99 Fixing path to the protobuf_utils.h file.
This path is wrong and it generates a bad error message because the only
file that can use google::protobuf is now under rtc_base and not under
base.

BUG=None
NOTRY=True

Review-Url: https://codereview.webrtc.org/3010293002
Cr-Commit-Position: refs/heads/master@{#19750}
2017-09-08 15:01:53 +00:00
ehmaldonado
6e6289dc42 Update gtest-parallel-wrapper.py to deal with changes in gtest-parallel.
Needed after 7676778438

BUG=None

Review-Url: https://codereview.webrtc.org/3011103002
Cr-Commit-Position: refs/heads/master@{#19749}
2017-09-08 14:25:51 +00:00
ehmaldonado
34623ce83a WebRTC: Save logcat output to isolated outputs.
NOTRY=True
BUG=chromium:717417

Review-Url: https://codereview.webrtc.org/3008343002
Cr-Commit-Position: refs/heads/master@{#19748}
2017-09-08 14:03:13 +00:00
mbonadei
63f968e0ce Removing WEBRTC_BUILD_LIBEVENT macro definition
This seems to be unused in WebRTC and a search in cs.chromium.orm shows
that it is never used in chromium too.

Interesting CL about this macro: https://codereview.webrtc.org/2153563003

BUG=None

Review-Url: https://codereview.webrtc.org/3006243002
Cr-Commit-Position: refs/heads/master@{#19747}
2017-09-08 13:20:53 +00:00
eladalon
8ec568a9ff Make CreateRtcLogStreamConfig() return a std::unique_ptr
This is done for two reasons:
1. This will be useful in an upcoming CL, when all logging will be done with one function that accepts a std::unique_ptr<RtcEvent>.
2. Ensure no unnecessary copies when the compiler fails to optimize.

BUG=webrtc:8111
TBR=stefan@webrtc.org

Review-Url: https://codereview.webrtc.org/3010273002
Cr-Commit-Position: refs/heads/master@{#19746}
2017-09-08 13:15:52 +00:00