20098 Commits

Author SHA1 Message Date
Autoroller
736a98ae5d Roll chromium_revision 0b04bb65d6..5aca6dd699 (503455:503520)
Change log: 0b04bb65d6..5aca6dd699
Full diff: 0b04bb65d6..5aca6dd699

Changed dependencies:
* src/base: 8322a45b6e..1ad0de3267
* src/build: 68d3be9b11..880a78a5b9
* src/ios: a701b9fce2..b25923c953
* src/testing: 8fcd8f2775..d0000d7125
* src/third_party: 5a404050d5..cf92e446d0
* src/tools: f98ecab250..0d25071bbe
DEPS diff: 0b04bb65d6..5aca6dd699/DEPS

No update to Clang.

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

Change-Id: I15dce7be5ae26a9eb0e180a5e7b45d44b492609e
Reviewed-on: https://webrtc-review.googlesource.com/2580
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19916}
2017-09-21 19:19:45 +00:00
Karl Wiberg
92d9dd069d rtp_rtcp_format: Separate public and private source files
There was one .h file that didn't have to be public. :-)

BUG=webrtc:8159, webrtc:8255

Change-Id: I0998f0340384c57f52affdde30f6b4eb2eaa712b
Reviewed-on: https://webrtc-review.googlesource.com/2400
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19915}
2017-09-21 17:45:25 +00:00
Autoroller
8e8da13eb1 Roll chromium_revision e242527ec0..0b04bb65d6 (503426:503455)
Change log: e242527ec0..0b04bb65d6
Full diff: e242527ec0..0b04bb65d6

Changed dependencies:
* src/build: 555b75b182..68d3be9b11
* src/ios: 76b87738dd..a701b9fce2
* src/third_party: 3ef96a8e1f..5a404050d5
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/f51f273ee8..c03c218190
* src/tools: c8b855bc2f..f98ecab250
DEPS diff: e242527ec0..0b04bb65d6/DEPS

No update to Clang.

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

Change-Id: I8986ce14213e9a887b689a6bc5b8c7fd4e841609
Reviewed-on: https://webrtc-review.googlesource.com/2540
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19914}
2017-09-21 16:28:35 +00:00
Autoroller
e10c01c0a6 Roll chromium_revision 6995ce043e..e242527ec0 (503371:503426)
Change log: 6995ce043e..e242527ec0
Full diff: 6995ce043e..e242527ec0

Changed dependencies:
* src/base: 533dae7360..8322a45b6e
* src/buildtools: 26b7e66950..f6d165d9d8
* src/ios: ec55a185d9..76b87738dd
* src/testing: 12a0d395a0..8fcd8f2775
* src/third_party: 55d2f862b6..3ef96a8e1f
* src/third_party/catapult: 6be590cea2..e1aa3179fa
* src/tools: 5f0140b10b..c8b855bc2f
DEPS diff: 6995ce043e..e242527ec0/DEPS

No update to Clang.

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

Change-Id: I176844ea9fb5b37938541877ac3f0e5b2b9fa596
Reviewed-on: https://webrtc-review.googlesource.com/2501
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19913}
2017-09-21 13:17:15 +00:00
solenberg
946d886187 Remove VoENetwork
BUG=webrtc:4690

Review-Url: https://codereview.webrtc.org/3016543002
Cr-Commit-Position: refs/heads/master@{#19912}
2017-09-21 11:02:53 +00:00
Elad Alon
99a81b613d Remove #include of rtc_stream_config.h from rtc_event_log.h
StreamConfig is not integral to RTC-event logging in general, but rather to specific events. Therefore, the dependency on it should not be exported through rtc_event_log.h.

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

Change-Id: I1ece0830cd05fd12220c8c717490e15942bacec9
Reviewed-on: https://webrtc-review.googlesource.com/1238
Commit-Queue: Elad Alon <eladalon@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Reviewed-by: Elad Alon <eladalon@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19911}
2017-09-21 09:05:54 +00:00
Autoroller
fc1793064f Roll chromium_revision 2d1b3e73b6..6995ce043e (503346:503371)
Change log: 2d1b3e73b6..6995ce043e
Full diff: 2d1b3e73b6..6995ce043e

Changed dependencies:
* src/ios: 629ce83683..ec55a185d9
* src/third_party: e329a44e21..55d2f862b6
* src/tools: 92e8e4d093..5f0140b10b
DEPS diff: 2d1b3e73b6..6995ce043e/DEPS

No update to Clang.

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

Change-Id: I56721ca826484bf66341ccdee17f5ec480a97ee1
Reviewed-on: https://webrtc-review.googlesource.com/2480
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19910}
2017-09-21 07:26:33 +00:00
Autoroller
7a2b37051e Roll chromium_revision d49a98a3ca..2d1b3e73b6 (503300:503346)
Change log: d49a98a3ca..2d1b3e73b6
Full diff: d49a98a3ca..2d1b3e73b6

Changed dependencies:
* src/base: d749161688..533dae7360
* src/build: 583eac153b..555b75b182
* src/testing: 4c3bcef275..12a0d395a0
* src/third_party: 8213af59dc..e329a44e21
* src/tools: 725868c5e8..92e8e4d093
DEPS diff: d49a98a3ca..2d1b3e73b6/DEPS

Clang version changed 313222:313786
Details: d49a98a3ca..2d1b3e73b6/tools/clang/scripts/update.py

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

Change-Id: Ib5bd83d38998f067ed407ca2738ad1380b551ad1
Reviewed-on: https://webrtc-review.googlesource.com/2460
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19909}
2017-09-21 04:30:53 +00:00
Autoroller
aa0fe1290e Roll chromium_revision f52ff80530..d49a98a3ca (501932:503300)
Change log: f52ff80530..d49a98a3ca
Full diff: f52ff80530..d49a98a3ca

Changed dependencies:
* src/base: a3848e11ae..d749161688
* src/build: 0119b14e14..583eac153b
* src/buildtools: cbc33b9c0a..26b7e66950
* src/ios: 79eaa19c53..629ce83683
* src/testing: e9068583fe..4c3bcef275
* src/third_party: 3c251d88b3..8213af59dc
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/683ffbbe57..f51f273ee8
* src/third_party/catapult: dd30f4f383..6be590cea2
* src/third_party/gtest-parallel: 965cfdccf9..ee20273811
* src/third_party/libyuv: 27036e33e8..5b1af9a335
* src/tools: 02f1273b3b..725868c5e8
DEPS diff: f52ff80530..d49a98a3ca/DEPS

Clang version changed 312679:313222
Details: f52ff80530..d49a98a3ca/tools/clang/scripts/update.py

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

Change-Id: I801b2242f57be609a1f018d1d320e2183e73448f
Reviewed-on: https://webrtc-review.googlesource.com/2440
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19908}
2017-09-21 01:37:42 +00:00
deadbeef
4e2deab79c Only return stats for the most recent unsignaled audio stream.
The track-level stats are currently implemented in terms of the stream-
level stats. Which is a problem if multiple unsignaled streams map to the
same track (see bug for more details). This CL fixes the problem
partially, but only returning stats for one of the unsignaled streams.
A better solution would be to return stats for both streams, but update
the track-level stats independently somehow. But that would require more
extensive changes, and it's not yet clear how we want to do it.

BUG=webrtc:8158

Review-Url: https://codereview.webrtc.org/3008373002
Cr-Commit-Position: refs/heads/master@{#19907}
2017-09-20 20:56:21 +00:00
kwiberg
feeb9bfe03 Remove backwards compatibilty header for Optional
BUG=webrtc:8205

Review-Url: https://codereview.webrtc.org/3011963002
Cr-Commit-Position: refs/heads/master@{#19906}
2017-09-20 19:17:42 +00:00
Charu Jain
851481cfaa Revert "Roll chromium_revision f52ff80530..4bafa509ea (501932:502960)"
This reverts commit e68293553d1bd2504bf3ebf7f6769c3b01e640e3.

Reason for revert: Breaks internal projects

Original change's description:
> Roll chromium_revision f52ff80530..4bafa509ea (501932:502960)
> 
> Change log: f52ff80530..4bafa509ea
> Full diff: f52ff80530..4bafa509ea
> 
> Changed dependencies:
> * src/base: a3848e11ae..6afcd86a32
> * src/build: 0119b14e14..67a664871e
> * src/buildtools: cbc33b9c0a..26b7e66950
> * src/ios: 79eaa19c53..2cd231262b
> * src/testing: e9068583fe..0c3fb670c3
> * src/third_party: 3c251d88b3..f56e199ae6
> * src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/683ffbbe57..f51f273ee8
> * src/third_party/catapult: dd30f4f383..ab30bb20a8
> * src/third_party/gtest-parallel: 965cfdccf9..ee20273811
> * src/third_party/libyuv: 27036e33e8..5b1af9a335
> * src/tools: 02f1273b3b..4fa8837ea2
> DEPS diff: f52ff80530..4bafa509ea/DEPS
> 
> Clang version changed 312679:313222
> Details: f52ff80530..4bafa509ea/tools/clang/scripts/update.py
> 
> TBR=buildbot@webrtc.org,
> BUG=None
> CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal
> 
> Change-Id: Iade6f94aca4b9d61cf545e80147268bbab5ee3ed
> Reviewed-on: https://webrtc-review.googlesource.com/2280
> Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
> Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#19904}

TBR=buildbot@webrtc.org

Change-Id: I358e1006a0f2708bb106eb8ee81118c3c8702fb4
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: None
Cq-Include-Trybots: master.internal.tryserver.corp.webrtc:linux_internal
Reviewed-on: https://webrtc-review.googlesource.com/2320
Reviewed-by: Charu Jain <charujain@webrtc.org>
Commit-Queue: Charu Jain <charujain@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19905}
2017-09-20 09:36:51 +00:00
Autoroller
e68293553d Roll chromium_revision f52ff80530..4bafa509ea (501932:502960)
Change log: f52ff80530..4bafa509ea
Full diff: f52ff80530..4bafa509ea

Changed dependencies:
* src/base: a3848e11ae..6afcd86a32
* src/build: 0119b14e14..67a664871e
* src/buildtools: cbc33b9c0a..26b7e66950
* src/ios: 79eaa19c53..2cd231262b
* src/testing: e9068583fe..0c3fb670c3
* src/third_party: 3c251d88b3..f56e199ae6
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/683ffbbe57..f51f273ee8
* src/third_party/catapult: dd30f4f383..ab30bb20a8
* src/third_party/gtest-parallel: 965cfdccf9..ee20273811
* src/third_party/libyuv: 27036e33e8..5b1af9a335
* src/tools: 02f1273b3b..4fa8837ea2
DEPS diff: f52ff80530..4bafa509ea/DEPS

Clang version changed 312679:313222
Details: f52ff80530..4bafa509ea/tools/clang/scripts/update.py

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

Change-Id: Iade6f94aca4b9d61cf545e80147268bbab5ee3ed
Reviewed-on: https://webrtc-review.googlesource.com/2280
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19904}
2017-09-19 22:17:59 +00:00
zhihuang
b19012e6cc Remove the support of fallback from DTLS to SDES.
The support of fallback from DTLS to SDES is removed in this CL.
Setting an SDP with both DTLS fingerprint and SDES crypto would fail.

BUG=webrtc:8266

Review-Url: https://codereview.webrtc.org/3011133002
Cr-Commit-Position: refs/heads/master@{#19903}
2017-09-19 20:47:59 +00:00
alexnarest
b335e31bcb This is a rollback of https://chromium-review.googlesource.com/c/external/webrtc/+/616724
it degraded results of the ANA testing

BUG=webrtc:8105

Review-Url: https://codereview.webrtc.org/3011323002
Cr-Commit-Position: refs/heads/master@{#19902}
2017-09-19 19:00:32 +00:00
nisse
75dd6d4b96 Drop reference to webrtc_overrides/.../task_queue.h
Since cl
https://chromium-review.googlesource.com/c/chromium/src/+/664807,
chromium no longer uses it. We need to stop referring to it from
webrtc, before it can be deleted in chromium.

BUG=webrtc:8166

Review-Url: https://codereview.webrtc.org/3015513002
Cr-Commit-Position: refs/heads/master@{#19901}
2017-09-19 15:28:00 +00:00
Mirko Bonadei
4dc4e259ce Reland "Adding PRESUBMIT check to avoid mixing C, C++ and Objc-C/Obj-C++.""
This reverts commit 034a6b8a4cdf151ae7377c87c5b2b6156d658173.

Reason for revert: Trying to fix the issue of rtc_base:rtc_base which has 2 kind of source files but in exclusive if branches.

Original change's description:
> Revert "Adding PRESUBMIT check to avoid mixing C, C++ and Objc-C/Obj-C++."
> 
> This reverts commit 0c15c5332fea2bbf5fe29dd806f9f4e606eeb9b8.
> 
> Reason for revert: This causes problems in this moment. I have to fix a target in rtc_base before landing this presubmit check.
> 
> Original change's description:
> > Adding PRESUBMIT check to avoid mixing C, C++ and Objc-C/Obj-C++.
> > 
> > The error message will be something like:
> > 
> > GN targets cannot mix .c (or .cc) and .m (or .mm) source files.
> > Please create a separate target for each collection of sources.
> > Mixed sources:
> > {
> >   BUILD_GN_PATH: [
> >     [
> >       TARGET_NAME,
> >       [
> >         SOURCES
> >       ]
> >     ],
> >     ...
> >   ],
> >   ...
> > }
> > 
> > Bug: webrtc:7743
> > Change-Id: I45dd2c621b830e5aeb081fa8d17c9497a49c2554
> > Reviewed-on: https://webrtc-review.googlesource.com/1980
> > Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
> > Reviewed-by: Henrik Kjellander <kjellander@webrtc.org>
> > Cr-Commit-Position: refs/heads/master@{#19897}
> 
> TBR=kjellander@webrtc.org,mbonadei@webrtc.org
> 
> Change-Id: I73ff609b0140719473afd36ead1632e5cc3b41f6
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: webrtc:7743
> Reviewed-on: https://webrtc-review.googlesource.com/2180
> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#19898}

TBR=kjellander@webrtc.org,mbonadei@webrtc.org

Change-Id: I18dbb5a6a01ac2a184446542c29b25a3e33508ea
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:7743
Reviewed-on: https://webrtc-review.googlesource.com/2181
Reviewed-by: Henrik Kjellander <kjellander@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19900}
2017-09-19 14:23:00 +00:00
Mirko Bonadei
080832eb37 Moving Obj-C++ code in desktop_capture_objc.
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 (desktop_capture_objc and
desktop_capture_generic) and desktop_capture will act as a proxy
between these targets (this way we can avoid a circular dependency
between desktop_capture_generic and desktop_capture_objc).

NOTRY=True

Bug: webrtc:7743
Change-Id: I19f8bb8719cfc6af259819e2089cebea72b5d531
Reviewed-on: https://webrtc-review.googlesource.com/2220
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Henrik Kjellander <kjellander@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19899}
2017-09-19 14:16:19 +00:00
Mirko Bonadei
034a6b8a4c Revert "Adding PRESUBMIT check to avoid mixing C, C++ and Objc-C/Obj-C++."
This reverts commit 0c15c5332fea2bbf5fe29dd806f9f4e606eeb9b8.

Reason for revert: This causes problems in this moment. I have to fix a target in rtc_base before landing this presubmit check.

Original change's description:
> Adding PRESUBMIT check to avoid mixing C, C++ and Objc-C/Obj-C++.
> 
> The error message will be something like:
> 
> GN targets cannot mix .c (or .cc) and .m (or .mm) source files.
> Please create a separate target for each collection of sources.
> Mixed sources:
> {
>   BUILD_GN_PATH: [
>     [
>       TARGET_NAME,
>       [
>         SOURCES
>       ]
>     ],
>     ...
>   ],
>   ...
> }
> 
> Bug: webrtc:7743
> Change-Id: I45dd2c621b830e5aeb081fa8d17c9497a49c2554
> Reviewed-on: https://webrtc-review.googlesource.com/1980
> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
> Reviewed-by: Henrik Kjellander <kjellander@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#19897}

TBR=kjellander@webrtc.org,mbonadei@webrtc.org

Change-Id: I73ff609b0140719473afd36ead1632e5cc3b41f6
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:7743
Reviewed-on: https://webrtc-review.googlesource.com/2180
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19898}
2017-09-19 10:54:40 +00:00
Mirko Bonadei
0c15c5332f Adding PRESUBMIT check to avoid mixing C, C++ and Objc-C/Obj-C++.
The error message will be something like:

GN targets cannot mix .c (or .cc) and .m (or .mm) source files.
Please create a separate target for each collection of sources.
Mixed sources:
{
  BUILD_GN_PATH: [
    [
      TARGET_NAME,
      [
        SOURCES
      ]
    ],
    ...
  ],
  ...
}

Bug: webrtc:7743
Change-Id: I45dd2c621b830e5aeb081fa8d17c9497a49c2554
Reviewed-on: https://webrtc-review.googlesource.com/1980
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Henrik Kjellander <kjellander@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19897}
2017-09-19 09:41:18 +00:00
Mirko Bonadei
7de1eb7bdc Adding Test at the end of test classes.
NOTRY= True

Bug: None
Change-Id: I73c09c41e7ce5f445b9e1b816a3fbba045627c8f
Reviewed-on: https://webrtc-review.googlesource.com/2141
Reviewed-by: Henrik Kjellander <kjellander@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19896}
2017-09-19 08:59:29 +00:00
zhihuang
eb23e17798 Revert of Completed the functionalities of SrtpTransport. (patchset 7 id:320001 of https://codereview.webrtc.org/2997983002/ )
Reason for revert:
This seems to be causing some video freezes. See https://bugs.chromium.org/p/webrtc/issues/detail?id=8251

Original issue's description:
> Completed the functionalities of SrtpTransport.
>
> The SrtpTransport takes the SRTP responsibilities from the BaseChannel
> and SrtpFilter. SrtpTransport is now responsible for setting the crypto
> keys, protecting and unprotecting the packets. SrtpTransport doesn't know
> if the keys are from SDES or DTLS handshake.
>
> BaseChannel is now only responsible setting the offer/answer for SDES
> or extracting the key from DtlsTransport and configuring the
> SrtpTransport.
>
> SrtpFilter is used by BaseChannel as a helper for SDES negotiation.
>
> BUG=webrtc:7013
>
> Review-Url: https://codereview.webrtc.org/2997983002
> Cr-Commit-Position: refs/heads/master@{#19636}
> Committed: e683c6871f

TBR=deadbeef@webrtc.org,pthatcher@google.com,zhihuang@webrtc.org
Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:7013

Review-Url: https://codereview.webrtc.org/3018513002
Cr-Commit-Position: refs/heads/master@{#19895}
2017-09-19 08:12:52 +00:00
Mirko Bonadei
2572404789 Removing useless include_dirs entry.
After the migration from serc/webrtc to src/ this entry in the
include_dirs list is not needed anymore.

Bug: chromium:611808
Change-Id: I17c87509b73b8a44f758d59ada28d366da664649
Reviewed-on: https://webrtc-review.googlesource.com/1920
Reviewed-by: Henrik Kjellander <kjellander@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19894}
2017-09-18 19:55:55 +00:00
nisse
a5f043f9cd Change ForwardErrorCorrection class to accept one received packet at a time.
BUG=None

Review-Url: https://codereview.webrtc.org/3012243002
Cr-Commit-Position: refs/heads/master@{#19893}
2017-09-18 14:58:59 +00:00
solenberg
dd3abbb532 Remove VoERTP_RTCP.
BUG=webrtc:4690

Review-Url: https://codereview.webrtc.org/3006383002
Cr-Commit-Position: refs/heads/master@{#19892}
2017-09-18 14:05:30 +00:00
Danil Chapovalov
c5267d251a Simplify ReceiveStatistics: merge GetActiveStatisticians into RtcpReportBlocks
BUG=webrtc:8016

Change-Id: Ie38a86b730298039915baaac12b7fd97a5440345
Reviewed-on: https://webrtc-review.googlesource.com/1842
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19891}
2017-09-18 13:19:36 +00:00
Magnus Jedvert
aa568a64ed Android: Add interface for getting native EGL context
This CL also implements support for getting the native context on
EGL 1.4. It's a bit tricker to get the native handle for EGL 1.0 so it
will be done in a separate CL.

Bug: webrtc:8257
Change-Id: I269e75c357f19507098180077fa9d1b1ac4dce23
Reviewed-on: https://webrtc-review.googlesource.com/1880
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19890}
2017-09-18 12:39:16 +00:00
solenberg
6dc2038d0d Remove VoECodec.
BUG=webrtc:4690

Review-Url: https://codereview.webrtc.org/3019433002
Cr-Commit-Position: refs/heads/master@{#19889}
2017-09-18 12:22:39 +00:00
Mirko Bonadei
6ac1552676 Cleaning checkdeps configuration.
After moving WebRTC from src/webrtc to src/ we can remove -webrtc from
the checkdeps configuration.

In this CL I also remove "+voice_engine_configurations.h" because this
header does not exist anymore.

NOTRY= True

Bug: chromium:611808
Change-Id: I4de427c51d78707f8107dd2dd1f834362d1c4da2
Reviewed-on: https://webrtc-review.googlesource.com/1845
Reviewed-by: Henrik Kjellander <kjellander@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19888}
2017-09-18 12:07:06 +00:00
Mirko Bonadei
a730c1c5ae Enabling and fixing CheckNewlineAtTheEndOfProtoFiles
This check has been skipped during the migration from src/webrtc to
src. It was also reporting false positives. Now it should be fixed.

NOTRY=True

Bug: chromium:611808
Change-Id: Id8567dd92099e75ac35351f053829deebf28a9d1
Reviewed-on: https://webrtc-review.googlesource.com/1580
Reviewed-by: Henrik Kjellander <kjellander@webrtc.org>
Reviewed-by: Henrik Kjellander <kjellander@google.com>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19887}
2017-09-18 10:58:36 +00:00
charujain
cb728ea83a Fix Gn Untracked headers in webrtc/modules/video_coding.
Fixed following headers in this CL
===================================

src/webrtc/modules/video_coding/sequence_number_util.h
src/webrtc/modules/video_coding/codecs/interface/common_constants.h
src/webrtc/modules/video_coding/codecs/interface/mock/mock_video_codec_interface.h

src/webrtc/modules/video_coding/codecs/vp8/include/vp8_globals.h
src/webrtc/modules/video_coding/codecs/vp9/include/vp9_globals.h
src/webrtc/modules/video_coding/codecs/h264/include/h264_globals.h

src/webrtc/modules/video_coding/utility/mock/mock_frame_dropper.h

src/webrtc/modules/video_coding/test/test_util.h
src/webrtc/modules/video_coding/codecs/interface/video_error_codes.h
src/webrtc/modules/video_coding/codecs/interface/video_codec_interface.h
src/webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h

Remaining:
===========
src/webrtc/modules/video_coding/include/video_codec_interface.h
src/webrtc/modules/video_coding/include/video_error_codes.h

BUG=webrtc:7620

Review-Url: https://codereview.webrtc.org/3012323002
Cr-Commit-Position: refs/heads/master@{#19886}
2017-09-18 10:08:08 +00:00
solenberg
b63310a256 Remove VoEFile and things it uses.
BUG=webrtc:4690

Review-Url: https://codereview.webrtc.org/3013033002
Cr-Commit-Position: refs/heads/master@{#19885}
2017-09-18 10:04:12 +00:00
kwiberg
2352ce3c43 Remove backwards compatibilty header for ArrayView
BUG=webrtc:8205

Review-Url: https://codereview.webrtc.org/3010633002
Cr-Commit-Position: refs/heads/master@{#19884}
2017-09-18 09:55:59 +00:00
Edward Lemur
ef6ee9850b Pass environment variable as string in autoroll script.
NOTRY=True
TBR=kjellander@webrtc.org

Bug: chromium:765231
Change-Id: I0121160ebd991815dd95dd6b145a68206be2d731
Reviewed-on: https://webrtc-review.googlesource.com/1844
Reviewed-by: Edward Lemur <ehmaldonado@webrtc.org>
Commit-Queue: Edward Lemur <ehmaldonado@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19883}
2017-09-18 09:46:06 +00:00
henrika
1d4db392c7 Revert of If SRTP sessions exist, don't create new ones when applying answer. (patchset #1 id:1 of https://codereview.webrtc.org/3019443002/ )
Reason for revert:
Speculative revert since all Android bots on WebRTC FYI started to fail when this CL landed.

https://build.chromium.org/p/chromium.webrtc.fyi/builders/Android%20Tests%20%28dbg%29%20%28L%20Nexus6%29

Original issue's description:
> If SRTP sessions exist, don't create new ones when applying answer.
>
> Instead, call the "Update" methods of SrtpSession, which will just call
> srtp_update, instead of wiping out the session state completely.
>
> This was causing decryption to stop working when subsequent
> offers/answers are applied. We don't know enough about SRTP to
> understand the root cause, and I wasn't able to write an integration
> test that reproduces the issue... But at least this fixes the bug that
> can be reproduced reliably using Hangouts.
>
> BUG=webrtc:8251
>
> Review-Url: https://codereview.webrtc.org/3019443002
> Cr-Commit-Position: refs/heads/master@{#19874}
> Committed: https://webrtc.googlesource.com/src/+/5ada7acf603e90e71990e9d4ff8f49389f24958c

TBR=zhihuang@webrtc.org,deadbeef@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:8251
NOTRY=TRUE

Review-Url: https://codereview.webrtc.org/3017543002
Cr-Commit-Position: refs/heads/master@{#19882}
2017-09-18 09:34:30 +00:00
Gustaf Ullberg
9a2e906b0c Added RTCMediaStreamTrackStats.concealmentEvents
The number of concealment events. This counter increases every time a concealed sample is
synthesized after a non-concealed sample. That is, multiple consecutive concealed samples
will increase the concealedSamples count multiple times but is a single concealment event.

Bug: webrtc:8246
Change-Id: I7ef404edab765218b1f11e3128072c5391e83049
Reviewed-on: https://webrtc-review.googlesource.com/1221
Commit-Queue: Gustaf Ullberg <gustaf@webrtc.org>
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org>
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19881}
2017-09-18 08:58:06 +00:00
solenberg
35dee81321 Clean out unused methods from VoiceEngine and VoEBase.
BUG=webrtc:4690

Review-Url: https://codereview.webrtc.org/3018523002
Cr-Commit-Position: refs/heads/master@{#19880}
2017-09-18 08:57:01 +00:00
Aaron Gable
2c9ac29c5b Autoroller: don't use GCE auth pathway
Even with the right credentials in place, git-cl will default to
using autogenerated GCE credentials when on a GCE machine. Tell
it to use the appropriate .gitcookies every time.

TBR=ehmaldonado@webrtc.org, kjellander@webrtc.org
NOTRY=True

Bug: chromium:765231
Change-Id: I761db91dde7db0c945e50e961c5687c835602dc4
Reviewed-on: https://webrtc-review.googlesource.com/1700
Commit-Queue: Edward Lemur <ehmaldonado@webrtc.org>
Reviewed-by: Edward Lemur <ehmaldonado@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19879}
2017-09-18 08:28:35 +00:00
nisse
435472542a Delete deprecated metod RtpRtcp::SetMaxTransferUnit.
Deprecated since cl https://codereview.webrtc.org/2589743002

BUG=webrtc:6847

Review-Url: https://codereview.webrtc.org/3006413002
Cr-Commit-Position: refs/heads/master@{#19878}
2017-09-18 07:37:37 +00:00
Henrik Kjellander
cb3b1c13f7 video_quality_loopback_test.py: Fix relative path to root.
This was missed in https://webrtc-review.googlesource.com/1575

BUG=chromium:611808
NOTRY=True
TBR=mbonadei@webrtc.org

Change-Id: Ie5b891d8071a70a510f114d8d0ab2dd6a8547b3c
Reviewed-on: https://webrtc-review.googlesource.com/1840
Reviewed-by: Henrik Kjellander <kjellander@webrtc.org>
Commit-Queue: Henrik Kjellander <kjellander@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19877}
2017-09-18 04:26:15 +00:00
Elad Alon
2782904c56 RtcEventLog::Create() no longer a friend of RtcEventLogImpl
By making RtcEventLogImpl's ctor public, we remove the necessity to make the function a friend. Visibility of RtcEventLogImpl is still limited to the .cc file.

BUG=webrtc:8111

Change-Id: I774d2e93620a8d9f24299ef2a94f7593b490839d
Reviewed-on: https://webrtc-review.googlesource.com/1237
Commit-Queue: Elad Alon <eladalon@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19876}
2017-09-17 19:42:45 +00:00
deadbeef
d45aea8f42 Serialize "a=x-google-flag:conference".
There was a test for deserialization but not serialization. This was
probably always broken and no one noticed. I only noticed while
debugging something else.

BUG=None
TBR=pthatcher@webrtc.org

Review-Url: https://codereview.webrtc.org/3012383002
Cr-Commit-Position: refs/heads/master@{#19875}
2017-09-16 08:24:29 +00:00
deadbeef
5ada7acf60 If SRTP sessions exist, don't create new ones when applying answer.
Instead, call the "Update" methods of SrtpSession, which will just call
srtp_update, instead of wiping out the session state completely.

This was causing decryption to stop working when subsequent
offers/answers are applied. We don't know enough about SRTP to
understand the root cause, and I wasn't able to write an integration
test that reproduces the issue... But at least this fixes the bug that
can be reproduced reliably using Hangouts.

BUG=webrtc:8251

Review-Url: https://codereview.webrtc.org/3019443002
Cr-Commit-Position: refs/heads/master@{#19874}
2017-09-16 00:52:36 +00:00
deadbeef
1c5e6d0a3f Remove BasicPortAllocator::EnableProtocol.
I'm not sure why we ever had this in the first place, and it confuses
people on a nearly weekly basis, so let's get rid of it. The protocols
are enabled right after the corresponding gathering is done, so the only
real effect it has is to produce confusing log messages (first
"candidate not signaled because protocol not enabled", then "protocol
enabled, signaling candidate" right afterwards).

BUG=None

Review-Url: https://codereview.webrtc.org/3018483002
Cr-Commit-Position: refs/heads/master@{#19873}
2017-09-16 00:46:56 +00:00
deadbeef
7f1563facf Making BasicPortAllocator tests slightly less fragile.
Many of the tests follow a pattern of "wait for N candidates to be
gathered, then (without waiting) assert that gathering is complete". But
this only works if the "gathering complete" signal happens in the same
task as the last candidate being gathered, which isn't an API guarantee.
So the tests will be less fragile if they do the reverse: "wait for
gathering to be complete, then (without waiting) assert that N candidates
were gathered".

Also fixing some somewhat unrelated issues elsewhere. Like a test that
was supposed to be waiting for some period of time and ensuring no
additional candidates were gathered, but wasn't actually waiting at all.

BUG=None

Review-Url: https://codereview.webrtc.org/3018493002
Cr-Commit-Position: refs/heads/master@{#19872}
2017-09-16 00:40:01 +00:00
Per Åhgren
930021d465 Eliminating the risk of sustained echo during capture data loss in AEC3.
This CL adds an offset to the delay estimation used in AEC3 for 
determining the alignment between the render and capture signals.
This ensures that there is no possibility for the capture loss to 
cause the delay estimation to miss aligning the signals.

BUG=webrtc:8247, chromium:765242

Change-Id: I526dc7971b13425a28e99d69168fd3722a4cfdae
Reviewed-on: https://webrtc-review.googlesource.com/1232
Reviewed-by: Alex Loiko <aleloi@webrtc.org>
Commit-Queue: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19871}
2017-09-15 21:24:46 +00:00
Elad Alon
f491c522cb Move log_count_ out of RtcEventLogImpl
The limit on logs is not specific to the implementation of the logs, but is rather shared between all possible logs.
Also, by making it local to the .cc, not a member, we reduce the necessity of making RtcEventLog::Create a friend of the implementation. This necessity is removed completely by a following CL.

BUG=webrtc:8111
NOPRESUBMIT=True

Change-Id: I03044ed55ceeaf0064d5207b7407926571590699
Reviewed-on: https://webrtc-review.googlesource.com/1236
Commit-Queue: Elad Alon <eladalon@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19870}
2017-09-15 19:29:27 +00:00
Elad Alon
a96fd7fe6b Make rtc_event_log2text handle all events [2/2]
rtc_event_log2text doesn't currently handle all possible RtcEvent-s.
1. Previous CL - to make sure events are not forgotten in the future, change the succession of if-statements to a switch, so that the compiler would complain if events are ever added, but are not handled here.
2. This CL - add handling of currently-unhandled events.

BUG=webrtc:8111

Change-Id: I5c726c077483b5d85cf8060674c8191a90cb84cc
Reviewed-on: https://webrtc-review.googlesource.com/1244
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Commit-Queue: Elad Alon <eladalon@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19869}
2017-09-15 19:13:09 +00:00
Zijie He
a7567a9481 Implement DesktopCapturerWrapper and CaptureResultDesktopCapturerWrapper
Wrapper pattern is widely used in DesktopCapturer implementations. So this
change adds DesktopCapturerWrapper and CaptureResultDesktopCapturerWrapper as
the base classes of other wrappers. Implementing a new wrapper should become
easy, the implementation does not need to care about the uninteresting
overrides.

Bug: chromium:764258
Change-Id: If91c1b5e778805906f7f77854ea5600aa61bf64a
Reviewed-on: https://webrtc-review.googlesource.com/1420
Commit-Queue: Zijie He <zijiehe@google.com>
Reviewed-by: Jamie Walch <jamiewalch@chromium.org>
Cr-Commit-Position: refs/heads/master@{#19868}
2017-09-15 18:56:26 +00:00
Danil Chapovalov
6c170578e6 Move rtcp packet classes from rtp_rtcp to rtp_rtcp_format target
Bug: None
Change-Id: I353228fd5b75bd4fceeaee1bb6fd07b01dac56a1
Reviewed-on: https://webrtc-review.googlesource.com/1480
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Elad Alon <eladalon@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19867}
2017-09-15 17:36:30 +00:00