Commit Graph

15338 Commits

Author SHA1 Message Date
67b3bbe639 Separating SCTP code from BaseChannel/MediaChannel.
The BaseChannel code is geared around RTP; the presence of media engines,
send and receive streams, SRTP, SDP directional attribute negotiation, etc.
It doesn't make sense to use it for SCTP as well. This separation should make
future work both on BaseChannel and the SCTP code paths easier.

SctpDataEngine now becomes SctpTransport, and is used by WebRtcSession
directly. cricket::DataChannel is also renamed, to RtpDataChannel, so it
doesn't get confused with webrtc::DataChannel any more.

Beyond just moving code around, some consequences of this CL:
- We'll now stop using the worker thread for SCTP. Packets will be
  processed right on the network thread instead.
- The SDP directional attribute is ignored, as it's supposed to be.

BUG=None

Review-Url: https://codereview.webrtc.org/2564333002
Cr-Commit-Position: refs/heads/master@{#15906}
2017-01-05 02:38:02 +00:00
d9762e7938 Roll chromium_revision 8e37fbee0c..383e867add (441474:441533)
Change log: 8e37fbee0c..383e867add
Full diff: 8e37fbee0c..383e867add

Changed dependencies:
* src/base: ab28773913..ee4df8cbb6
* src/build: ade890e6b7..9cde9c94fc
* src/third_party: 93dd48b6c7..630bc0bb1d
* src/tools: 9c29bfd953..2504b4dc1d
DEPS diff: 8e37fbee0c..383e867add/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2610923006
Cr-Commit-Position: refs/heads/master@{#15905}
2017-01-05 01:59:49 +00:00
00627af417 Roll chromium_revision bcf1404d6a..8e37fbee0c (441419:441474)
Change log: bcf1404d6a..8e37fbee0c
Full diff: bcf1404d6a..8e37fbee0c

Changed dependencies:
* src/build: bf5f7961f8..ade890e6b7
* src/testing: 8af2b1295b..af0ef73765
* src/third_party: 4857337573..93dd48b6c7
* src/tools: abc835cd78..9c29bfd953
DEPS diff: bcf1404d6a..8e37fbee0c/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2612013003
Cr-Commit-Position: refs/heads/master@{#15904}
2017-01-04 22:42:20 +00:00
38386169e8 Roll chromium_revision 1b539730c8..bcf1404d6a (441381:441419)
Change log: 1b539730c8..bcf1404d6a
Full diff: 1b539730c8..bcf1404d6a

Changed dependencies:
* src/build: 17e1e627fe..bf5f7961f8
* src/testing: 870a985703..8af2b1295b
* src/third_party: 8570effd07..4857337573
* src/third_party/ced/src: e57cdc44bd..368a9cc09a
* src/tools: 6550763b0f..abc835cd78
DEPS diff: 1b539730c8..bcf1404d6a/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2612843002
Cr-Commit-Position: refs/heads/master@{#15903}
2017-01-04 19:46:39 +00:00
0b5a26a576 Refactor webrtc_perf_tests into several source_sets.
BUG=webrtc:6954

Review-Url: https://codereview.webrtc.org/2609403002
Cr-Commit-Position: refs/heads/master@{#15902}
2017-01-04 17:13:58 +00:00
758b6d7efa Roll chromium_revision 3d1bea3cc8..1b539730c8 (441358:441381)
Change log: 3d1bea3cc8..1b539730c8
Full diff: 3d1bea3cc8..1b539730c8

Changed dependencies:
* src/base: 9738faf9f8..ab28773913
* src/third_party: 49fe4f9a96..8570effd07
* src/third_party/catapult: a067dd2f2b..9e6944a8f3
* src/tools: b6f32004ca..6550763b0f
DEPS diff: 3d1bea3cc8..1b539730c8/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2617533002
Cr-Commit-Position: refs/heads/master@{#15901}
2017-01-04 16:39:27 +00:00
da8dcfb43e Refactor rtc_unittests into several targets.
Also fix some warnings.

NOTRY=True
BUG=webrtc:6954

Review-Url: https://codereview.webrtc.org/2611663002
Cr-Commit-Position: refs/heads/master@{#15900}
2017-01-04 15:11:23 +00:00
fd58b61068 BitrateProber::CreateProbeCluster now only accept one parameter (bitrate_bps).
Instead of having to specify a bitrate and how many packets to use,
the BitrateProber will now use the bitrate to calculate how many
bytes it will use to probe that bitrate instead.

For now, |kMinProbeDurationMs| is set to 15 ms which means that probing
at 1900 kbps will result in 1900/8*0.015 = 3.5 kB used. Since we can
expect packets to be smaller at the beginning of a stream (500 to 700
bytes) this will result in 7 to 5 packets sent for that bitrate, and
should work very similar to how the current initial probing works.

A minimum of 5 packets are always sent.

BUG=webrtc:6822

Review-Url: https://codereview.webrtc.org/2609113003
Cr-Commit-Position: refs/heads/master@{#15899}
2017-01-04 15:05:25 +00:00
b557b2169e Roll chromium_revision 1d78b4038d..3d1bea3cc8 (441349:441358)
Change log: 1d78b4038d..3d1bea3cc8
Full diff: 1d78b4038d..3d1bea3cc8

Changed dependencies:
* src/third_party: 7a09a18cf1..49fe4f9a96
DEPS diff: 1d78b4038d..3d1bea3cc8/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2610833002
Cr-Commit-Position: refs/heads/master@{#15898}
2017-01-04 13:50:46 +00:00
e3b11aa565 Add cleanup_links.py script that runs before sync.
This should reduce/eliminate the amount of manual cleanup users
have to do to sync past 177567c518b121731e507e9b9c4049c4dc96e4c8 (#15754).

This is essentially a stripped down version of
526248779a/setup_links.py
which only does the link cleaning + adds removal of the links db.

BUG=webrtc:5006
NOTRY=True

Review-Url: https://codereview.webrtc.org/2603203002
Cr-Commit-Position: refs/heads/master@{#15897}
2017-01-04 13:35:25 +00:00
88d369a76d Roll chromium_revision 79df88ae04..1d78b4038d (441326:441349)
Change log: 79df88ae04..1d78b4038d
Full diff: 79df88ae04..1d78b4038d

Changed dependencies:
* src/base: 2698aeb466..9738faf9f8
* src/build: dd74acbe8d..17e1e627fe
* src/third_party: 44cc8b18fd..7a09a18cf1
* src/tools: 7bda84ba9b..b6f32004ca
DEPS diff: 79df88ae04..1d78b4038d/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2611943002
Cr-Commit-Position: refs/heads/master@{#15896}
2017-01-04 10:58:46 +00:00
ee045ccce5 Roll chromium_revision ed0f612143..79df88ae04 (441313:441326)
Change log: ed0f612143..79df88ae04
Full diff: ed0f612143..79df88ae04

Changed dependencies:
* src/base: 9af93a2aa4..2698aeb466
* src/third_party: c76e806cb9..44cc8b18fd
* src/tools: e805a837ba..7bda84ba9b
DEPS diff: ed0f612143..79df88ae04/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2614633002
Cr-Commit-Position: refs/heads/master@{#15895}
2017-01-04 07:47:54 +00:00
e7b0f522d7 Add rtc_enable_external_auth variable for setting ENABLE_EXTERNAL_AUTH
This will make it easier for some downstream projects to control whether
or not to set ENABLE_EXTERNAL_AUTH, via the GN variable.

BUG=None
NOTRY=True

Review-Url: https://codereview.webrtc.org/2608673002
Cr-Commit-Position: refs/heads/master@{#15894}
2017-01-04 06:09:25 +00:00
c409677d28 Roll chromium_revision d40f036aa8..ed0f612143 (441269:441313)
Change log: d40f036aa8..ed0f612143
Full diff: d40f036aa8..ed0f612143

Changed dependencies:
* src/build: ee8bb658b4..dd74acbe8d
* src/testing: 54b5e1ed55..870a985703
* src/third_party: 68fbb3bcfc..c76e806cb9
* src/third_party/catapult: 4ffd54d31c..a067dd2f2b
* src/tools: 320280ed15..e805a837ba
DEPS diff: d40f036aa8..ed0f612143/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2616603002
Cr-Commit-Position: refs/heads/master@{#15893}
2017-01-04 04:33:55 +00:00
bfa73bfc18 Roll chromium_revision c7a192e476..d40f036aa8 (441214:441269)
Change log: c7a192e476..d40f036aa8
Full diff: c7a192e476..d40f036aa8

Changed dependencies:
* src/base: 89194fc790..9af93a2aa4
* src/build: 544fcea946..ee8bb658b4
* src/third_party: 53d0c0d541..68fbb3bcfc
* src/third_party/catapult: 71960b0305..4ffd54d31c
* src/tools: 9dd33962ea..320280ed15
DEPS diff: c7a192e476..d40f036aa8/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2610073002
Cr-Commit-Position: refs/heads/master@{#15892}
2017-01-04 01:40:16 +00:00
8ca8bcd22f Roll chromium_revision 8fb83f45f0..c7a192e476 (441171:441214)
Change log: 8fb83f45f0..c7a192e476
Full diff: 8fb83f45f0..c7a192e476

Changed dependencies:
* src/base: b806bd4361..89194fc790
* src/build: a2c7357dde..544fcea946
* src/third_party: d6dc26c608..53d0c0d541
* src/third_party/catapult: 9ddf24882e..71960b0305
* src/tools: 2754c7411d..9dd33962ea
DEPS diff: 8fb83f45f0..c7a192e476/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2609283002
Cr-Commit-Position: refs/heads/master@{#15891}
2017-01-03 22:31:09 +00:00
12771a1910 Relax parsing of a=bundle-only with a nonzero port.
This use of a=bundle-only is unspecified, but not disallowed, so it
should simply result in the attribute being ignored, not a parse
failure.

Note that older versions of Firefox may generate SDP with a=bundle-only
and a nonzero port, so this also fixes an interop issue. See:
https://bugzilla.mozilla.org/show_bug.cgi?id=1325991

BUG=webrtc:4674

Review-Url: https://codereview.webrtc.org/2609863003
Cr-Commit-Position: refs/heads/master@{#15890}
2017-01-03 21:53:47 +00:00
7be1987b75 Roll chromium_revision 753c01b46e..8fb83f45f0 (441128:441171)
Change log: 753c01b46e..8fb83f45f0
Full diff: 753c01b46e..8fb83f45f0

Changed dependencies:
* src/base: 1c326e6782..b806bd4361
* src/build: bdc04ca095..a2c7357dde
* src/third_party: 60a4906ad6..d6dc26c608
* src/third_party/libvpx/source/libvpx: d1eca240fb..f27276f44f
* src/tools: 3197fa64d3..2754c7411d
DEPS diff: 753c01b46e..8fb83f45f0/DEPS

No update to Clang.

TBR=marpan@webrtc.org,
BUG=None

Review-Url: https://codereview.webrtc.org/2609233002
Cr-Commit-Position: refs/heads/master@{#15889}
2017-01-03 19:51:53 +00:00
e50658de85 Create the DtlsTransportInternal
DtlsTransportInternal is an internal interface that does DTLS.
The DtlsTransportChannel will inherit from this class instead of the
TransportChannelImpl so that the ICE-related methods can be separated.

Once the DtlsTransportChannl inherits from this class. It would be
renamed as DtlsTransport.

BUG=none

Review-Url: https://codereview.webrtc.org/2597053002
Cr-Commit-Position: refs/heads/master@{#15888}
2017-01-03 19:34:12 +00:00
ce723453c0 Roll chromium_revision b9df69c913..753c01b46e (441109:441128)
Change log: b9df69c913..753c01b46e
Full diff: b9df69c913..753c01b46e

Changed dependencies:
* src/base: 0a830d49ce..1c326e6782
* src/third_party: 3d6d5eee26..60a4906ad6
DEPS diff: b9df69c913..753c01b46e/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2609203002
Cr-Commit-Position: refs/heads/master@{#15887}
2017-01-03 16:43:03 +00:00
107567e385 Roll chromium_revision 5d19cfe16c..b9df69c913 (441100:441109)
Change log: 5d19cfe16c..b9df69c913
Full diff: 5d19cfe16c..b9df69c913

Changed dependencies:
* src/third_party: 82a4c2a79a..3d6d5eee26
DEPS diff: 5d19cfe16c..b9df69c913/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2610693002
Cr-Commit-Position: refs/heads/master@{#15886}
2017-01-03 14:42:06 +00:00
2c2f34c1ca PacketBuffer now correctly cast sequence numbers to uint16_t.
BUG=webrtc:5514

Review-Url: https://codereview.webrtc.org/2603223002
Cr-Commit-Position: refs/heads/master@{#15885}
2017-01-03 13:55:34 +00:00
d026354410 Reland of Added first layer of the echo canceller 3 functionality.
Reason for reland:
Added disabling of the BlockProcessor DEATH tests due to false alarms on the trybots.
These errors cannot be reproduced locally and they occur only in the DEATH test code,
which means that the memory leaks do not occur under normal conditions.

Original issue's description:
> Reason for revert:
> Memcheck buildbot detected memory leaks in the death tests. The code looks fine
> to me, but please investigate what causes the error and reland.

> > Original issue's description:
> > Added first layer of the echo canceller 3 functionality.
> >
> > This CL adds the first layer of the echo canceller 3.
> > All of the code is as it should, apart from
> > block_processor.* which only contains placeholder
> > functionality. (Upcoming CLs will add proper
> > functionality into those files.)
> >
> >
> >
> > BUG=webrtc:6018
> >
> > Review-Url: https://codereview.webrtc.org/2584493002
> > Cr-Commit-Position: refs/heads/master@{#15861}
> > Committed:
> 38fd1758e9
>
> TBR=ivoc@webrtc.org,aleloi@webrtc.org,henrik.lundin@webrtc.org,peah@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:6018

BUG=webrtc:6018

TBR=ivoc@webrtc.org,aleloi@webrtc.org,henrik.lundin@webrtc.org

Review-Url: https://codereview.webrtc.org/2608233002
Cr-Commit-Position: refs/heads/master@{#15884}
2017-01-03 12:20:34 +00:00
338b606b94 Roll chromium_revision f58d96c9f3..5d19cfe16c (441094:441100)
Change log: f58d96c9f3..5d19cfe16c
Full diff: f58d96c9f3..5d19cfe16c

Changed dependencies:
* src/third_party: 013beefb1a..82a4c2a79a
DEPS diff: f58d96c9f3..5d19cfe16c/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2610623002
Cr-Commit-Position: refs/heads/master@{#15883}
2017-01-03 10:28:57 +00:00
6966bd51fc ReceiveStatisticsProxy:
- add some unit tests
- change SampleCounter members from int to int64_t

BUG=webrtc:5283

Review-Url: https://codereview.webrtc.org/2577073002
Cr-Commit-Position: refs/heads/master@{#15882}
2017-01-03 08:44:06 +00:00
ce722b3bb8 Roll chromium_revision 47eb4d6194..f58d96c9f3 (441086:441094)
Change log: 47eb4d6194..f58d96c9f3
Full diff: 47eb4d6194..f58d96c9f3

Changed dependencies:
* src/third_party: b9996477ff..013beefb1a
DEPS diff: 47eb4d6194..f58d96c9f3/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2609143002
Cr-Commit-Position: refs/heads/master@{#15881}
2017-01-03 08:34:19 +00:00
0178954cb5 Roll chromium_revision 106ba1c439..47eb4d6194 (441080:441086)
Change log: 106ba1c439..47eb4d6194
Full diff: 106ba1c439..47eb4d6194

Changed dependencies:
* src/third_party: 39eb6a88cc..b9996477ff
DEPS diff: 106ba1c439..47eb4d6194/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2603203004
Cr-Commit-Position: refs/heads/master@{#15880}
2017-01-03 04:46:13 +00:00
64170dc11c Roll chromium_revision 39702ec482..106ba1c439 (441079:441080)
Change log: 39702ec482..106ba1c439
Full diff: 39702ec482..106ba1c439

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2609123002
Cr-Commit-Position: refs/heads/master@{#15879}
2017-01-03 01:51:11 +00:00
be4f0125df Roll chromium_revision 61be4cf001..39702ec482 (441076:441079)
Change log: 61be4cf001..39702ec482
Full diff: 61be4cf001..39702ec482

Changed dependencies:
* src/third_party: 47ac2747ee..39eb6a88cc
DEPS diff: 61be4cf001..39702ec482/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2610553004
Cr-Commit-Position: refs/heads/master@{#15878}
2017-01-02 23:43:45 +00:00
7946b546db Revert of Added first layer of the echo canceller 3 functionality (patchset #13 id:240001 of https://codereview.webrtc.org/2584493002/ )
Reason for revert:
Memcheck buildbot detected memory leaks in the death tests. The code looks fine to me, but please investigate what causes the error and reland.

Original issue's description:
> Added first layer of the echo canceller 3 functionality.
>
> This CL adds the first layer of the echo canceller 3.
> All of the code is as it should, apart from
> block_processor.* which only contains placeholder
> functionality. (Upcoming CLs will add proper
> functionality into those files.)
>
>
>
> BUG=webrtc:6018
>
> Review-Url: https://codereview.webrtc.org/2584493002
> Cr-Commit-Position: refs/heads/master@{#15861}
> Committed: 38fd1758e9

TBR=ivoc@webrtc.org,aleloi@webrtc.org,henrik.lundin@webrtc.org,peah@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:6018

Review-Url: https://codereview.webrtc.org/2603293002
Cr-Commit-Position: refs/heads/master@{#15877}
2017-01-02 21:44:49 +00:00
33985e125b Roll chromium_revision 51e54fdf0e..61be4cf001 (441070:441076)
Change log: 51e54fdf0e..61be4cf001
Full diff: 51e54fdf0e..61be4cf001

Changed dependencies:
* src/third_party: 4d2bd80a38..47ac2747ee
* src/tools: 819af205e7..3197fa64d3
DEPS diff: 51e54fdf0e..61be4cf001/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2609823002
Cr-Commit-Position: refs/heads/master@{#15876}
2017-01-02 20:07:31 +00:00
b4e426e8db RTCIceCandidateStats.transportId added and collected.
BUG=webrtc:6756, chromium:632723, chromium:627816

Review-Url: https://codereview.webrtc.org/2597963002
Cr-Commit-Position: refs/heads/master@{#15875}
2017-01-02 17:59:31 +00:00
d25f79eb83 Roll chromium_revision 1186149ec7..51e54fdf0e (441062:441070)
Change log: 1186149ec7..51e54fdf0e
Full diff: 1186149ec7..51e54fdf0e

Changed dependencies:
* src/third_party: 109700219f..4d2bd80a38
DEPS diff: 1186149ec7..51e54fdf0e/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2610553003
Cr-Commit-Position: refs/heads/master@{#15874}
2017-01-02 17:26:58 +00:00
c7c26a0e64 Reland of place basictypes.h with stdint.h for int_t types. (patchset #1 id:1 of https://codereview.webrtc.org/2603203003/ )
Reason for revert:
Doing a reland where systeminfo.cc includes basictypes.h so that CPU_X86 etc. are defined when they are checked/used.

Original issue's description:
> Revert of Replace basictypes.h with stdint.h for int_t types. (patchset #1 id:1 of https://codereview.webrtc.org/2604043002/ )
>
> Reason for revert:
> Very likely cause of Chromium import bot breakage (unused function '__cpuid'), TBD why.
>
> Original issue's description:
> > Replace basictypes.h with stdint.h for int_t types.
> >
> > Removes basictypes.h for types that only makes use of it for fixed-size-int
> > typedefs and replaces it with stdint.h.
> >
> > BUG=webrtc:6853
> > R=tommi@webrtc.org
> >
> > Review-Url: https://codereview.webrtc.org/2604043002
> > Cr-Commit-Position: refs/heads/master@{#15867}
> > Committed: 7fd1a75300
>
> TBR=tommi@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:6853
>
> Review-Url: https://codereview.webrtc.org/2603203003
> Cr-Commit-Position: refs/heads/master@{#15869}
> Committed: 7eb0e23bcf

BUG=webrtc:6853
TBR=tommi@webrtc.org

Review-Url: https://codereview.webrtc.org/2609783002
Cr-Commit-Position: refs/heads/master@{#15873}
2017-01-02 16:42:32 +00:00
6769c49418 RTC[In/Out]boundRTPStreamStats: qpSum,framesDecoded,framesEncoded added.
Recently added to the spec:
RTCRTPStreamStats.qpSum - https://w3c.github.io/webrtc-stats/#dom-rtcrtpstreamstats-qpsum
RTCInboundRTPStreamStats.framesDecoded - https://w3c.github.io/webrtc-stats/#dom-rtcinboundrtpstreamstats-framesdecoded
RTCOutboundRTPStreamStats.framesEncoded - https://w3c.github.io/webrtc-stats/#dom-rtcoutboundrtpstreamstats-framesencoded

These are added and collected. However, the qpSum is only collected in
the outbound case. It should be collected in the inbound case before
closing crbug.com/657855

BUG=chromium:657854, chromium:657855, chromium:657856

Review-Url: https://codereview.webrtc.org/2588373005
Cr-Commit-Position: refs/heads/master@{#15872}
2017-01-02 16:35:13 +00:00
d17a5a7709 RTCIceCandidateStats.deleted = false added.
Since previously, only the deleted = false case is supported, but now
that stat is added. It's a recent addition to the spec:
https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatestats-deleted

BUG=webrtc:6756, chromium:632723, chromium:627816

Review-Url: https://codereview.webrtc.org/2591963003
Cr-Commit-Position: refs/heads/master@{#15871}
2017-01-02 16:09:59 +00:00
06495bcbb7 RTCIceCandidatePairStats.[state/priority] added, ConnectionInfo updated.
State and priority added to ConnectionInfo. The Connection::State enum
is replaced by IceCandidatePairState enum class.

At P2PTransportChannel::GetStats, Connection::stats is called, producing
ConnectionInfo for the connection that is then filled in with additional
values from the Connection. This is refactored so that all values are
set by Connection::stats.

RTCStatsCollector is updated to surface the ConnectionInfo stats.

BUG=webrtc:6755, chromium:633550, chromium:627816

Review-Url: https://codereview.webrtc.org/2597423003
Cr-Commit-Position: refs/heads/master@{#15870}
2017-01-02 16:08:18 +00:00
7eb0e23bcf Revert of Replace basictypes.h with stdint.h for int_t types. (patchset #1 id:1 of https://codereview.webrtc.org/2604043002/ )
Reason for revert:
Very likely cause of Chromium import bot breakage (unused function '__cpuid'), TBD why.

Original issue's description:
> Replace basictypes.h with stdint.h for int_t types.
>
> Removes basictypes.h for types that only makes use of it for fixed-size-int
> typedefs and replaces it with stdint.h.
>
> BUG=webrtc:6853
> R=tommi@webrtc.org
>
> Review-Url: https://codereview.webrtc.org/2604043002
> Cr-Commit-Position: refs/heads/master@{#15867}
> Committed: 7fd1a75300

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

Review-Url: https://codereview.webrtc.org/2603203003
Cr-Commit-Position: refs/heads/master@{#15869}
2017-01-02 15:32:25 +00:00
cafb497cc1 Limit NetEqImpl::ExtractPackets to returning one CNG packet
BUG=chromium:668834

Review-Url: https://codereview.webrtc.org/2609043002
Cr-Commit-Position: refs/heads/master@{#15868}
2017-01-02 15:00:50 +00:00
7fd1a75300 Replace basictypes.h with stdint.h for int_t types.
Removes basictypes.h for types that only makes use of it for fixed-size-int
typedefs and replaces it with stdint.h.

BUG=webrtc:6853
R=tommi@webrtc.org

Review-Url: https://codereview.webrtc.org/2604043002
Cr-Commit-Position: refs/heads/master@{#15867}
2017-01-02 14:58:46 +00:00
23351197fb Improve rtcstats_integrationtest.cc by sanity checking values.
TestMemberIsPositive and TestMemberIsNonNegative added and used in test.

BUG=chromium:627816

Review-Url: https://codereview.webrtc.org/2593623002
Cr-Commit-Position: refs/heads/master@{#15866}
2017-01-02 14:52:19 +00:00
9baddf25b9 Replace basictypes.h with stddef.h for size_t.
Files only making use of size_t from basictypes.h are replaced with
stddef.h, except in cases where they already for instance use stdio.h or
stdlib.h that already provide size_t.

BUG=webrtc:6853
R=tommi@webrtc.org

Review-Url: https://codereview.webrtc.org/2605123002
Cr-Commit-Position: refs/heads/master@{#15865}
2017-01-02 14:44:41 +00:00
bad48f6d72 Roll chromium_revision 2c2151e575..1186149ec7 (441052:441062)
Change log: 2c2151e575..1186149ec7
Full diff: 2c2151e575..1186149ec7

Changed dependencies:
* src/third_party: cb1bf68f80..109700219f
* src/tools: bf7eaeae94..819af205e7
DEPS diff: 2c2151e575..1186149ec7/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2603233002
Cr-Commit-Position: refs/heads/master@{#15864}
2017-01-02 14:31:10 +00:00
c3a2b7f487 RTCIceCandidateStats.isRemote added and collected.
This was added to the spec: https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatestats-isremote

BUG=webrtc:6756, chromium:632723, chromium:627816

Review-Url: https://codereview.webrtc.org/2595003003
Cr-Commit-Position: refs/heads/master@{#15863}
2017-01-02 12:46:15 +00:00
f415f8ae73 Removed RTCStatsCollector::ProducePartialResultsOnWorkerThread.
No stats are collected by it, remove to reduce unnecessary thread hops.

BUG=webrtc:6875, chromium:627816

Review-Url: https://codereview.webrtc.org/2583193002
Cr-Commit-Position: refs/heads/master@{#15862}
2017-01-02 12:28:51 +00:00
38fd1758e9 Added first layer of the echo canceller 3 functionality.
This CL adds the first layer of the echo canceller 3.
All of the code is as it should, apart from
block_processor.* which only contains placeholder
functionality. (Upcoming CLs will add proper
functionality into those files.)

BUG=webrtc:6018

Review-Url: https://codereview.webrtc.org/2584493002
Cr-Commit-Position: refs/heads/master@{#15861}
2017-01-02 11:13:38 +00:00
f709e56b4a Roll chromium_revision 57c478d214..2c2151e575 (441049:441052)
Change log: 57c478d214..2c2151e575
Full diff: 57c478d214..2c2151e575

Changed dependencies:
* src/third_party: d5fd253cad..cb1bf68f80
DEPS diff: 57c478d214..2c2151e575/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2610543002
Cr-Commit-Position: refs/heads/master@{#15860}
2017-01-02 10:32:52 +00:00
20d4547e5d Make VideoSendStreamTest.DoesNotUtilizeUlpfecForH264WithNackEnabled useful again.
This test was inadvertently made useless in https://codereview.webrtc.org/2558303002/.
Prior to that CL, at least 100 media packets -- but no ULPFEC packets -- had to
be sent before the test claimed that ULPFEC was not utilized. This CL reinstates
that behaviour, but instead of counting packets we expect the test to time out
when ULPFEC should not be utilized.

This solution is simple in code, but increases the test duration from 70 ms
to 10000 ms. Note, however, that the 70 ms duration was for a test that didn't
test anything interesting...

TESTED=Using gtest-parallel locally: 2000 test runs without flakes.
BUG=webrtc:6851

Review-Url: https://codereview.webrtc.org/2592693002
Cr-Commit-Position: refs/heads/master@{#15859}
2017-01-02 08:34:27 +00:00
a82775f6a6 Roll chromium_revision bf2de97090..57c478d214 (441048:441049)
Change log: bf2de97090..57c478d214
Full diff: bf2de97090..57c478d214

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2611503002
Cr-Commit-Position: refs/heads/master@{#15858}
2017-01-02 04:33:03 +00:00
62da53c826 Roll chromium_revision d631e7f1a2..bf2de97090 (441047:441048)
Change log: d631e7f1a2..bf2de97090
Full diff: d631e7f1a2..bf2de97090

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2610483002
Cr-Commit-Position: refs/heads/master@{#15857}
2017-01-01 19:49:54 +00:00