Commit Graph

16500 Commits

Author SHA1 Message Date
21e4e0b0ab Delete webrtc/base/common.h
BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2684613002
Cr-Commit-Position: refs/heads/master@{#16718}
2017-02-20 13:01:01 +00:00
e5c27a5db6 Add a PrintTo function for rtc::Optional to aid with testing.
gtest can print objects if they have an operator<< or a PrintTo
function in the same namespace as the object's class. Since
std::optional does not seem to have an operator<<, it'd be preferable
not to rely on rtc::Optional being printable through operator<<.

Currently, gtest errors will just dump the raw bytes of
rtc::Optionals, which make them really annoying to work with in tests.

BUG=webrtc:7196

Review-Url: https://codereview.webrtc.org/2704483002
Cr-Commit-Position: refs/heads/master@{#16717}
2017-02-20 12:41:42 +00:00
6bb8e0efd3 Add support for creating HW codecs in the VideoProcessor tests.
This CL adds the ability to _create_ HW codecs (Android and iOS) in the
VideoProcessor integration tests. Since the VideoProcessor class is not thread
safe yet, this CL does not add the ability to _use_ HW codecs in the tests. A
follow-up CL is planned that will add this ability.

This CL further adds a separate build target which is used to separate the
"plot" versions of the integration tests from the "correctness" versions. The
former will be run manually on devices, whereas the latter are used on the
trybots/buildbots to find regressions in the SW codecs. The underlying test
is the same, however.

BUG=webrtc:6634

Review-Url: https://codereview.webrtc.org/2695653002
Cr-Commit-Position: refs/heads/master@{#16716}
2017-02-20 12:35:52 +00:00
8dd4ec3324 Fix clang style warnings in webrtc/base/thread.h
TBR=tommi@webrtc.org
BUG=webrtc:163
NOTRY=True # trivial change, last round of tests passed.

Review-Url: https://codereview.webrtc.org/2706843002
Cr-Commit-Position: refs/heads/master@{#16715}
2017-02-20 12:17:53 +00:00
9420af7900 Roll chromium_revision 4e0e67fdb9..907dd7c27e (451573:451586)
Change log: 4e0e67fdb9..907dd7c27e
Full diff: 4e0e67fdb9..907dd7c27e

Changed dependencies:
* src/ios: 753d370324..3936769367
* src/third_party: 9da3af69e5..ed2407e0a0
DEPS diff: 4e0e67fdb9..907dd7c27e/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2706023002
Cr-Commit-Position: refs/heads/master@{#16714}
2017-02-20 11:02:05 +00:00
fe90ad195f TrackMediaInfoMap: Allow same SSRC for send and receive side.
Running video loopback on https://appr.tc/ revealed that it is possible
to use the same SSRC for a local and remote audio or video track. This
caused a DCHECK crash. The constructor of TrackMediaInfoMap is updated
to support this mapping and the unittest is updated (moved and modified
a test from being a death test to being a non-death test).

I've verified that this fixes the bug.

BUG=chromium:693087

Review-Url: https://codereview.webrtc.org/2703783002
Cr-Commit-Position: refs/heads/master@{#16713}
2017-02-20 10:05:13 +00:00
6aeef74b6e Remove uses of #pragma once and add PRESUBMIT check.
They violate the C++ coding style guide:
https://chromium.googlesource.com/chromium/src/+/master/styleguide/c++/c++.md#File-headers

BUG=webrtc:7191
NOTRY=True

Review-Url: https://codereview.webrtc.org/2707843002
Cr-Commit-Position: refs/heads/master@{#16712}
2017-02-20 09:13:18 +00:00
fe5d521a69 Delete unused class FilesystemScope.
It became unused in cl https://codereview.webrtc.org/2541453002

BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2703793002
Cr-Commit-Position: refs/heads/master@{#16711}
2017-02-20 09:06:47 +00:00
915bbd53e4 Add gn target rtc_task_runner.
This is step 1 in the following process to move the task runner
abstraction over to Chrome, without gettings link errors on duplicate
symbols.

1. Move files from the rtc_base target to a new target
   rtc_task_runner, and let rtc_base publicly depend on it.

2. In Chrome, add an explicit dependency on rtc_task_runner where it
   depends on rtc_base.

3. Drop the webrtc dependency rtc_base --> rtc_task_runner.

4. Copy task runner code to Chrome (cl
   https://codereview.chromium.org/2694903005/), and drop its
   dependency on webrtc's rtc_task_runner target.

5. Delete the rtc_task_runner target and corresponding source files
   from webrtc. Mission accomplished!

BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2696703009
Cr-Commit-Position: refs/heads/master@{#16710}
2017-02-20 08:50:22 +00:00
bf25bbdc63 Delete unused Filesystem methods GetAppDataFolder and GetDiskFreeSpace.
BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2699143002
Cr-Commit-Position: refs/heads/master@{#16709}
2017-02-20 08:37:21 +00:00
e29dfb7e36 Delete LoggingSocketAdapter (unused) and AsyncHttpsProxyServerSocket (unimplemented).
BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2695593012
Cr-Commit-Position: refs/heads/master@{#16708}
2017-02-20 08:29:55 +00:00
683ecca8d3 Roll chromium_revision 5e72168448..4e0e67fdb9 (451537:451573)
Change log: 5e72168448..4e0e67fdb9
Full diff: 5e72168448..4e0e67fdb9

Changed dependencies:
* src/base: 732f9229cf..3a2ed470ca
* src/build: 6d17aaeb07..3e739fd08b
* src/third_party: 2b94bb4e00..9da3af69e5
DEPS diff: 5e72168448..4e0e67fdb9/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2701393002
Cr-Commit-Position: refs/heads/master@{#16707}
2017-02-20 07:22:34 +00:00
7ca43365da Roll chromium_revision 009add4a66..5e72168448 (451526:451537)
Change log: 009add4a66..5e72168448
Full diff: 009add4a66..5e72168448

Changed dependencies:
* src/base: abda15d6dd..732f9229cf
* src/third_party: 8811dd4459..2b94bb4e00
DEPS diff: 009add4a66..5e72168448/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2705923003
Cr-Commit-Position: refs/heads/master@{#16706}
2017-02-20 01:49:29 +00:00
82ead60076 Replace the stop_event_ in PlatformThread with an atomic flag
BUG=webrtc:7187

Review-Url: https://codereview.webrtc.org/2708433002
Cr-Commit-Position: refs/heads/master@{#16705}
2017-02-20 00:09:55 +00:00
d95c48a810 Roll chromium_revision 5939cf034a..009add4a66 (451524:451526)
Change log: 5939cf034a..009add4a66
Full diff: 5939cf034a..009add4a66

Changed dependencies:
* src/third_party: 27b9a77635..8811dd4459
DEPS diff: 5939cf034a..009add4a66/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2708473002
Cr-Commit-Position: refs/heads/master@{#16704}
2017-02-19 22:55:43 +00:00
8d517c4170 Rewrite of sigslot that avoids vtables.
This reduces binary size considerably and solves some other problems.

Also rewrote using variadic templates.

Initial patch contributed by andrey.semashev@gmail.com.

BUG=webrtc:2305

Review-Url: https://codereview.webrtc.org/2509733003
Cr-Commit-Position: refs/heads/master@{#16703}
2017-02-19 22:12:24 +00:00
613c819dfc Roll chromium_revision 0fea64cb0a..5939cf034a (451522:451524)
Change log: 0fea64cb0a..5939cf034a
Full diff: 0fea64cb0a..5939cf034a

Changed dependencies:
* src/third_party: c85bad8f80..27b9a77635
DEPS diff: 0fea64cb0a..5939cf034a/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2704093002
Cr-Commit-Position: refs/heads/master@{#16702}
2017-02-19 19:52:11 +00:00
1e1c1ff7b9 Roll chromium_revision bfe8b45bd5..0fea64cb0a (451520:451522)
Change log: bfe8b45bd5..0fea64cb0a
Full diff: bfe8b45bd5..0fea64cb0a

Changed dependencies:
* src/third_party: 893b877317..c85bad8f80
DEPS diff: bfe8b45bd5..0fea64cb0a/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2707753002
Cr-Commit-Position: refs/heads/master@{#16701}
2017-02-19 16:36:35 +00:00
74cdb0d61b Roll chromium_revision 22f522e10d..bfe8b45bd5 (451516:451520)
Change log: 22f522e10d..bfe8b45bd5
Full diff: 22f522e10d..bfe8b45bd5

Changed dependencies:
* src/third_party: 071de702a4..893b877317
* src/tools: 50587ce628..e2b6ac8dbe
DEPS diff: 22f522e10d..bfe8b45bd5/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2705893002
Cr-Commit-Position: refs/heads/master@{#16700}
2017-02-19 10:35:07 +00:00
5d43f74585 Remove buildbot annotation for video_quality_loopback_test.py
In https://codereview.webrtc.org/2704073002 an attempt was made to make
the buildbot step show up as orange, which didn't work. The step showed
up as a test failure, which will confuse sheriffs.

BUG=webrtc:7185
TBR=mandermo@webrtc.org

Review-Url: https://codereview.webrtc.org/2699383002 .
Cr-Commit-Position: refs/heads/master@{#16699}
2017-02-19 08:31:01 +00:00
abbd098b14 Roll chromium_revision e86fbe70bb..22f522e10d (451509:451516)
Change log: e86fbe70bb..22f522e10d
Full diff: e86fbe70bb..22f522e10d

Changed dependencies:
* src/third_party: 3bb7b75ca8..071de702a4
DEPS diff: e86fbe70bb..22f522e10d/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2706623003
Cr-Commit-Position: refs/heads/master@{#16698}
2017-02-19 07:58:10 +00:00
6951a28b41 Temporarily disable failing video_quality_loopback_test.py
BUG=webrtc:7185
TBR=mandermo@webrtc.org

Review-Url: https://codereview.webrtc.org/2704073002 .
Cr-Commit-Position: refs/heads/master@{#16697}
2017-02-19 05:53:23 +00:00
f0b9ee1202 Roll chromium_revision 51d2457c22..e86fbe70bb (451502:451509)
Change log: 51d2457c22..e86fbe70bb
Full diff: 51d2457c22..e86fbe70bb

Changed dependencies:
* src/third_party: 91b379b902..3bb7b75ca8
* src/third_party/catapult: 36a5082801..84a7af6610
* src/tools: dbac3dc6b7..50587ce628
DEPS diff: 51d2457c22..e86fbe70bb/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2703073002
Cr-Commit-Position: refs/heads/master@{#16696}
2017-02-19 04:39:47 +00:00
6027421681 Roll chromium_revision 19142f86f4..51d2457c22 (451494:451502)
Change log: 19142f86f4..51d2457c22
Full diff: 19142f86f4..51d2457c22

Changed dependencies:
* src/third_party: d30f719267..91b379b902
* src/tools: 6cde56923e..dbac3dc6b7
DEPS diff: 19142f86f4..51d2457c22/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2708443002
Cr-Commit-Position: refs/heads/master@{#16695}
2017-02-19 01:35:49 +00:00
d30de066dc Roll chromium_revision 8a40fe5f00..19142f86f4 (451463:451494)
Change log: 8a40fe5f00..19142f86f4
Full diff: 8a40fe5f00..19142f86f4

Changed dependencies:
* src/third_party: 9ef8f687fb..d30f719267
* src/third_party/ffmpeg: 38d84d205c..3f3ad2ea90
* src/tools: fed2712e80..6cde56923e
DEPS diff: 8a40fe5f00..19142f86f4/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2704043002
Cr-Commit-Position: refs/heads/master@{#16694}
2017-02-18 22:43:50 +00:00
b5848ecbf5 Revert of Delete class SSRCDatabase, and its global ssrc registry. (patchset #20 id:370001 of https://codereview.webrtc.org/2644303002/ )
Reason for revert:
Breaks webrtc_perf_tests reliably:
https://build.chromium.org/p/client.webrtc.perf/builders/Android32%20Tests%20%28L%20Nexus5%29/builds/1780
https://build.chromium.org/p/client.webrtc.perf/builders/Android32%20Tests%20%28L%20Nexus4%29/builds/178

We're actively working on getting a quick version of webrtc_perf_tests up on the trybots again to prevent breakages like this: https://bugs.chromium.org/p/webrtc/issues/detail?id=7101

Original issue's description:
> Delete class SSRCDatabase, and its global ssrc registry,
> and the method RTPSender::GenerateNewSSRC.
>
> It's now mandatory for higher layers to call SetSSRC, RTPSender
> no longer allocates any ssrc by default.
>
> BUG=webrtc:4306,webrtc:6887
>
> Review-Url: https://codereview.webrtc.org/2644303002
> Cr-Commit-Position: refs/heads/master@{#16670}
> Committed: b78d4d1383

TBR=solenberg@webrtc.org,stefan@webrtc.org,danilchap@webrtc.org,ivoc@webrtc.org,nisse@webrtc.org
NOTRY=True
BUG=webrtc:4306,webrtc:6887

Review-Url: https://codereview.webrtc.org/2700413002
Cr-Commit-Position: refs/heads/master@{#16693}
2017-02-18 20:00:50 +00:00
6db7cd220d Roll chromium_revision aebdbddd1c..8a40fe5f00 (451457:451463)
Change log: aebdbddd1c..8a40fe5f00
Full diff: aebdbddd1c..8a40fe5f00

Changed dependencies:
* src/tools: da5fd72bf2..fed2712e80
DEPS diff: aebdbddd1c..8a40fe5f00/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2704893002
Cr-Commit-Position: refs/heads/master@{#16692}
2017-02-18 16:40:15 +00:00
3e4c842fdd Roll chromium_revision 469e3d5d1a..aebdbddd1c (451449:451457)
Change log: 469e3d5d1a..aebdbddd1c
Full diff: 469e3d5d1a..aebdbddd1c

Changed dependencies:
* src/third_party: ec419f6280..9ef8f687fb
* src/tools: 9b54dd394b..da5fd72bf2
DEPS diff: 469e3d5d1a..aebdbddd1c/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2707623003
Cr-Commit-Position: refs/heads/master@{#16691}
2017-02-18 13:29:25 +00:00
e654b63879 Remove audio_mixer_manager_win.cc/.h.
Not used after Wave support dropped in https://codereview.webrtc.org/2700983002/.

BUG=webrtc:7183

Review-Url: https://codereview.webrtc.org/2699333002
Cr-Commit-Position: refs/heads/master@{#16690}
2017-02-18 12:05:35 +00:00
81a067109e Roll chromium_revision 18d086659b..469e3d5d1a (451432:451449)
Change log: 18d086659b..469e3d5d1a
Full diff: 18d086659b..469e3d5d1a

Changed dependencies:
* src/base: e499e26ede..abda15d6dd
* src/build: 35fe3e2a5f..6d17aaeb07
* src/third_party: 7f9774d3af..ec419f6280
DEPS diff: 18d086659b..469e3d5d1a/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2700363002
Cr-Commit-Position: refs/heads/master@{#16689}
2017-02-18 10:42:08 +00:00
715b36b354 Roll chromium_revision 5dc909ba50..18d086659b (451419:451432)
Change log: 5dc909ba50..18d086659b
Full diff: 5dc909ba50..18d086659b

Changed dependencies:
* src/third_party: 9e36b96ff7..7f9774d3af
DEPS diff: 5dc909ba50..18d086659b/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2704873002
Cr-Commit-Position: refs/heads/master@{#16688}
2017-02-18 08:03:23 +00:00
32d64700f8 Roll chromium_revision 6bdd26b437..5dc909ba50 (451407:451419)
Change log: 6bdd26b437..5dc909ba50
Full diff: 6bdd26b437..5dc909ba50

Changed dependencies:
* src/third_party: 077a39f10d..9e36b96ff7
* src/tools: 897f5d6621..9b54dd394b
DEPS diff: 6bdd26b437..5dc909ba50/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2705783002
Cr-Commit-Position: refs/heads/master@{#16687}
2017-02-18 05:57:28 +00:00
4b2e0829ca Use the same draft version in SDP data channel answers as used in the offer.
This change adds a flag, use_sctpmap, to DataContentDescription. The deserialization code sets the flag based on the format of the m= line.
There were already unit tests using SDP in the new format, so I just updated them to check use_sctpmap was set as expected.

The change to mediasession copies use_sctpmap from the offered DataContentDescription to the answer.
I haven't figured out how to test this change yet, but wanted to get feedback before continuing.

BUG=chromium:686212

Review-Url: https://codereview.webrtc.org/2690943011
Cr-Commit-Position: refs/heads/master@{#16686}
2017-02-18 03:48:38 +00:00
2c546da529 Roll chromium_revision 4c98a8c2c7..6bdd26b437 (451384:451407)
Change log: 4c98a8c2c7..6bdd26b437
Full diff: 4c98a8c2c7..6bdd26b437

Changed dependencies:
* src/base: 9b00c0662e..e499e26ede
* src/third_party: cb7a7042a2..077a39f10d
* src/tools: 298d5f4db8..897f5d6621
DEPS diff: 4c98a8c2c7..6bdd26b437/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2707613002
Cr-Commit-Position: refs/heads/master@{#16685}
2017-02-18 02:10:40 +00:00
a8bc1a1f63 Relanding: Use std::unique_ptr instead of rtc::scoped_refptr in AsyncInvoker.
The AsyncClosures only ever have one thing referencing them, so they
should be using std::unique_ptr to manage ownership. Maybe this code was
written before std::unique_ptr was available.

Originally reverted because it made a change to ScopedMessageData
that wasn't backwards compatible, and applications using the rtc::Thread
infrastructure may be using it.

BUG=None
NOTRY=True

Review-Url: https://codereview.webrtc.org/2689233003
Cr-Commit-Position: refs/heads/master@{#16684}
2017-02-18 02:06:26 +00:00
884a7284bd Revert of Use std::unique_ptr instead of rtc::scoped_refptr in AsyncInvoker. (patchset #2 id:20001 of https://codereview.webrtc.org/2689233003/ )
Reason for revert:
The change to messagequeue.h isn't backwards compatible. Will reland after making it backwards compatible.

Original issue's description:
> Use std::unique_ptr instead of rtc::scoped_refptr in AsyncInvoker.
>
> The AsyncClosures only ever have one thing referencing them, so they
> should be using std::unique_ptr to manage ownership. Maybe this code was
> written before std::unique_ptr was available.
>
> BUG=None
>
> Review-Url: https://codereview.webrtc.org/2689233003
> Cr-Commit-Position: refs/heads/master@{#16680}
> Committed: a5a472927b

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

Review-Url: https://codereview.webrtc.org/2703613006
Cr-Commit-Position: refs/heads/master@{#16683}
2017-02-17 23:57:05 +00:00
8a855d6916 Allow any unsignalled SSRC changes on default video receive channel.
The first unsignalled SSRC creates a default receive channel.
Any unsignalled SSRC changes after that replace the default SSRC.
Add unit tests for changing unsignalled SSRCs.

BUG=webrtc:5208

Review-Url: https://codereview.webrtc.org/2692993009
Cr-Commit-Position: refs/heads/master@{#16682}
2017-02-17 23:46:43 +00:00
b18af1b7d7 Roll chromium_revision 93d57f6967..4c98a8c2c7 (451348:451384)
Change log: 93d57f6967..4c98a8c2c7
Full diff: 93d57f6967..4c98a8c2c7

Changed dependencies:
* src/base: c4b46d4f8a..9b00c0662e
* src/build: 467b707bfe..35fe3e2a5f
* src/testing: 67a60faf88..94e5046865
* src/third_party: 0548969dac..cb7a7042a2
* src/tools: f9287e4f6c..298d5f4db8
DEPS diff: 93d57f6967..4c98a8c2c7/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2707533002
Cr-Commit-Position: refs/heads/master@{#16681}
2017-02-17 23:31:02 +00:00
a5a472927b Use std::unique_ptr instead of rtc::scoped_refptr in AsyncInvoker.
The AsyncClosures only ever have one thing referencing them, so they
should be using std::unique_ptr to manage ownership. Maybe this code was
written before std::unique_ptr was available.

BUG=None

Review-Url: https://codereview.webrtc.org/2689233003
Cr-Commit-Position: refs/heads/master@{#16680}
2017-02-17 23:19:19 +00:00
658c3bb0ab Revert of Added GetCpuTime to base/ to get total CPU time consumed by process for perf tests. (patchset #24 id:440001 of https://codereview.webrtc.org/2695743003/ )
Reason for revert:
The GetThreadCpuTimeTest.SingleThread and .TwoThreads tests are unfortunately flaky on Mac (maybe other platforms).  See for example:

https://build.chromium.org/p/client.webrtc/builders/Mac%20Asan/builds/11271/steps/rtc_unittests%20on%20Mac-10.11/logs/stdio

https://build.chromium.org/p/client.webrtc/builders/Mac64%20Debug/builds/10395/steps/rtc_unittests%20on%20Mac-10.11/logs/stdio

https://build.chromium.org/p/client.webrtc/builders/Mac%20Asan/builds/11271/steps/rtc_unittests%20on%20Mac-10.11/logs/stdio

Since it's late, I'll have to revert the CL to get the tree and trybots green (instead of only disabling the failing tests).

Original issue's description:
> Added GetCpuTime to base/ to get total CPU time consumed by process for perf tests.
>
> BUG=webrtc:7095
>
> Review-Url: https://codereview.webrtc.org/2695743003
> Cr-Commit-Position: refs/heads/master@{#16665}
> Committed: 3ff474b72b

TBR=sprang@webrtc.org,mflodman@webrtc.org,deadbeef@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org,ilnik@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:7095

Review-Url: https://codereview.webrtc.org/2698333004
Cr-Commit-Position: refs/heads/master@{#16679}
2017-02-17 22:59:19 +00:00
cc8588c040 Remove the Windows Wave audio device implementation.
This implementation uses various legacy classes such as EventTimeWrapper,
CriticalSectionWrapper, EventWrapper etc and hasn't been maintained
(or used?) for a long time.

Instead of spending time on testing and updating the class, I think
we should just remove it. For versions of Windows that we support,
following Win7, we use the CoreAudio implementation.

BUG=webrtc:7183
R=solenberg@webrtc.org

Review-Url: https://codereview.webrtc.org/2700983002 .
Cr-Commit-Position: refs/heads/master@{#16678}
2017-02-17 22:48:07 +00:00
8fefe9889d [DesktopCapturer] FallbackDesktopCapturerWrapper and its tests
FallbackDesktopCapturerWrapper is a DesktopCapturer implementation, which owns
two DesktopCapturer implementations. If the main DesktopCapturer fails, it uses
the secondary capturer. The logic is now used in ScreenCapturerWinMagnifier, and
it can also be shared in ScreenCapturerWinDirectx to fallback to Gdi capturer on
privilege prompt or login screen.

BUG=684937

Review-Url: https://codereview.webrtc.org/2697453002
Cr-Commit-Position: refs/heads/master@{#16677}
2017-02-17 22:32:04 +00:00
4ef903d3db Don't use CONF_VALUE in VerifyServerName.
This does not fix the myriad of other problems here, but at least
removes the dependency on CONF_VALUE.

BUG=526270

Review-Url: https://codereview.webrtc.org/2705603003
Cr-Commit-Position: refs/heads/master@{#16676}
2017-02-17 21:04:43 +00:00
8e32cd247d Relanding: Add the url attribute to the IceCandidate (Java Wrapper)
The url of the ICE server is added to the IceCandiate class.
This can be used to tell which server this candidate was gathered from.

BUG=webrtc:7128

Review-Url: https://codereview.webrtc.org/2690593002
Cr-Commit-Position: refs/heads/master@{#16675}
2017-02-17 20:45:00 +00:00
d5f2b6f7c6 Roll chromium_revision 1d0e24ae0f..93d57f6967 (451310:451348)
Change log: 1d0e24ae0f..93d57f6967
Full diff: 1d0e24ae0f..93d57f6967

Changed dependencies:
* src/base: e159c3ae43..c4b46d4f8a
* src/ios: 083605f366..753d370324
* src/third_party: 69845b381e..0548969dac
* src/tools: 41f91cd97e..f9287e4f6c
* src/tools/swarming_client: ebc8dab6f8..11e31afa5d
DEPS diff: 1d0e24ae0f..93d57f6967/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2702823002
Cr-Commit-Position: refs/heads/master@{#16674}
2017-02-17 20:26:24 +00:00
4904fb6f46 Be less pessimistic about turning "default" receive streams into signaled streams.
BUG=webrtc:7179, b/34746131

Review-Url: https://codereview.webrtc.org/2685573003
Cr-Commit-Position: refs/heads/master@{#16673}
2017-02-17 20:01:14 +00:00
8022d518a4 Roll chromium_revision 9e71891be9..1d0e24ae0f (451291:451310)
Change log: 9e71891be9..1d0e24ae0f
Full diff: 9e71891be9..1d0e24ae0f

Changed dependencies:
* src/base: a5b4eb3e34..e159c3ae43
* src/ios: 1a554e60c7..083605f366
* src/testing: 6acd5a5f99..67a60faf88
* src/third_party: 0a65ec26d3..69845b381e
* src/tools: 4000202433..41f91cd97e
DEPS diff: 9e71891be9..1d0e24ae0f/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2689283011
Cr-Commit-Position: refs/heads/master@{#16672}
2017-02-17 18:29:46 +00:00
103988d040 EglRenderer: Clear texture before drawing a new frame.
This is necessary in case the drawer doesn't cover all the pixels.

BUG=None

Review-Url: https://codereview.webrtc.org/2704663002
Cr-Commit-Position: refs/heads/master@{#16671}
2017-02-17 17:59:01 +00:00
b78d4d1383 Delete class SSRCDatabase, and its global ssrc registry,
and the method RTPSender::GenerateNewSSRC.

It's now mandatory for higher layers to call SetSSRC, RTPSender
no longer allocates any ssrc by default.

BUG=webrtc:4306,webrtc:6887

Review-Url: https://codereview.webrtc.org/2644303002
Cr-Commit-Position: refs/heads/master@{#16670}
2017-02-17 16:34:35 +00:00
1088248a4e Roll chromium_revision 8a7821b7fc..9e71891be9 (451254:451291)
Change log: 8a7821b7fc..9e71891be9
Full diff: 8a7821b7fc..9e71891be9

Changed dependencies:
* src/base: f64c474d1c..a5b4eb3e34
* src/ios: b1b54f922c..1a554e60c7
* src/third_party: 77aa177360..0a65ec26d3
* src/tools: f895efb9d1..4000202433
DEPS diff: 8a7821b7fc..9e71891be9/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2699133002
Cr-Commit-Position: refs/heads/master@{#16669}
2017-02-17 14:54:55 +00:00