Commit Graph

16500 Commits

Author SHA1 Message Date
3cd896c962 Roll chromium_revision 6d8c754784..d50ce8a895 (444712:444743)
Change log: 6d8c754784..d50ce8a895
Full diff: 6d8c754784..d50ce8a895

Changed dependencies:
* src/base: f6ae365053..e7d871b6b2
* src/testing: 8d325423be..490308d809
* src/third_party: 3f43c8e8a4..32de94da6c
* src/third_party/catapult: cfcae9b972..1e05d2f840
* src/tools: d3c1c60a18..7e4f4b7490
DEPS diff: 6d8c754784..d50ce8a895/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2641993003
Cr-Commit-Position: refs/heads/master@{#16168}
2017-01-19 17:05:45 +00:00
eef94d9995 Video collected by VideoFileRenderer is first saved on the native heap, then saved to disk during release.
BUG=webrtc:6545

Review-Url: https://codereview.webrtc.org/2576283004
Cr-Commit-Position: refs/heads/master@{#16167}
2017-01-19 17:02:29 +00:00
3626865be2 GN: Refactor modules_unittests to eliminate package boundary violations.
BUG=webrtc:6954

Review-Url: https://codereview.webrtc.org/2629923002
Cr-Commit-Position: refs/heads/master@{#16166}
2017-01-19 16:27:11 +00:00
d32bf75721 Pass SdpAudioFormat through Channel, without converting to CodecInst
BUG=webrtc:5805

Review-Url: https://codereview.webrtc.org/2516993002
Cr-Commit-Position: refs/heads/master@{#16165}
2017-01-19 15:03:59 +00:00
093dac142b Roll chromium_revision 0f65d3f753..6d8c754784 (444698:444712)
Change log: 0f65d3f753..6d8c754784
Full diff: 0f65d3f753..6d8c754784

Changed dependencies:
* src/third_party: efc62a6185..3f43c8e8a4
* src/tools: fb27832332..d3c1c60a18
DEPS diff: 0f65d3f753..6d8c754784/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2640253003
Cr-Commit-Position: refs/heads/master@{#16164}
2017-01-19 13:58:07 +00:00
b93598465d Revert of Move congestion controller processing to the pacer thread. (patchset #5 id:80001 of https://codereview.webrtc.org/2637783003/ )
Reason for revert:
Speculative revert for perf regression related to ramp-up on android. See https://bugs.chromium.org/p/chromium/issues/detail?id=682611

Original issue's description:
> Move congestion controller processing to the pacer thread.
>
> Also rename it from pacer_thread_ to congestion_controller_thread_.
>
> BUG=webrtc:6847
>
> Review-Url: https://codereview.webrtc.org/2637783003
> Cr-Commit-Position: refs/heads/master@{#16134}
> Committed: b3dc2b7b1e

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

Review-Url: https://codereview.webrtc.org/2644603003
Cr-Commit-Position: refs/heads/master@{#16163}
2017-01-19 13:41:25 +00:00
6ce9259cb0 Revert of make the DtlsTransportWrapper inherit form DtlsTransportInternal (patchset #11 id:320001 of https://codereview.webrtc.org/2606123002/ )
Reason for revert:
Failed the memory check.
May need to fix the memory leak.

Original issue's description:
> make the DtlsTransportWrapper inherit form DtlsTransportInternal
>
> BUG=none
>
> Review-Url: https://codereview.webrtc.org/2606123002
> Cr-Commit-Position: refs/heads/master@{#16160}
> Committed: 5aed06c8d3

TBR=deadbeef@webrtc.org,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/2639203004
Cr-Commit-Position: refs/heads/master@{#16162}
2017-01-19 12:49:47 +00:00
daeffb299b Roll chromium_revision be0566f991..0f65d3f753 (444668:444698)
Change log: be0566f991..0f65d3f753
Full diff: be0566f991..0f65d3f753

Changed dependencies:
* src/third_party: eef7cd16ac..efc62a6185
* src/tools: e78dd9955e..fb27832332
DEPS diff: be0566f991..0f65d3f753/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2643923003
Cr-Commit-Position: refs/heads/master@{#16161}
2017-01-19 11:31:17 +00:00
5aed06c8d3 make the DtlsTransportWrapper inherit form DtlsTransportInternal
BUG=none

Review-Url: https://codereview.webrtc.org/2606123002
Cr-Commit-Position: refs/heads/master@{#16160}
2017-01-19 09:48:02 +00:00
04926b8264 Revert of Make the new jitter buffer the default jitter buffer. (patchset #2 id:230001 of https://codereview.webrtc.org/2642753002/ )
Reason for revert:
Breaks tests downstream.

Original issue's description:
> Reland of Make the new jitter buffer the default jitter buffer. (patchset #1 id:1 of https://codereview.chromium.org/2632123005/ )
>
> Reason for revert:
> Fix in this CL: https://codereview.chromium.org/2640793003/
>
> Original issue's description:
> > Revert of Make the new jitter buffer the default jitter buffer. (patchset #7 id:120001 of https://codereview.chromium.org/2627463004/ )
> >
> > Reason for revert:
> > Breaks android bots.
> >
> > Original issue's description:
> > > Make the new jitter buffer the default jitter buffer.
> > >
> > > This CL contains only the changes necessary to make the switch to the new jitter
> > > buffer, clean up will be done in follow up CLs.
> > >
> > > In this CL:
> > >  - Removed the WebRTC-NewVideoJitterBuffer experiment and made the
> > >    new video jitter buffer the default one.
> > >  - Moved WebRTC.Video.KeyFramesReceivedInPermille and
> > >    WebRTC.Video.JitterBufferDelayInMs to the ReceiveStatisticsProxy.
> > >
> > > BUG=webrtc:5514
> > >
> > > Review-Url: https://codereview.webrtc.org/2627463004
> > > Cr-Commit-Position: refs/heads/master@{#16114}
> > > Committed: 0f0763d86d
> >
> > TBR=stefan@webrtc.org,terelius@webrtc.org
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=webrtc:5514
> >
> > Review-Url: https://codereview.webrtc.org/2632123005
> > Cr-Commit-Position: refs/heads/master@{#16117}
> > Committed: c08c191f7d
>
> TBR=stefan@webrtc.org,terelius@webrtc.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=webrtc:5514
>
> Review-Url: https://codereview.webrtc.org/2642753002
> Cr-Commit-Position: refs/heads/master@{#16149}
> Committed: f20dd0014d

TBR=stefan@webrtc.org,terelius@webrtc.org,philipel@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:5514

Review-Url: https://codereview.webrtc.org/2638423003
Cr-Commit-Position: refs/heads/master@{#16159}
2017-01-19 08:06:17 +00:00
f847178285 Roll chromium_revision adc103db18..be0566f991 (444630:444668)
Change log: adc103db18..be0566f991
Full diff: adc103db18..be0566f991

Changed dependencies:
* src/testing: 7b84b7bc1a..8d325423be
* src/third_party: 481a10c5c5..eef7cd16ac
* src/tools: 59054a9a21..e78dd9955e
DEPS diff: adc103db18..be0566f991/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2637383004
Cr-Commit-Position: refs/heads/master@{#16158}
2017-01-19 07:37:22 +00:00
4b9646623e Roll chromium_revision e9762587b9..adc103db18 (444575:444630)
Change log: e9762587b9..adc103db18
Full diff: e9762587b9..adc103db18

Changed dependencies:
* src/third_party: 0126c6d522..481a10c5c5
* src/tools: e0a4cc5d89..59054a9a21
DEPS diff: e9762587b9..adc103db18/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2648463002
Cr-Commit-Position: refs/heads/master@{#16157}
2017-01-19 05:02:11 +00:00
f15825fbbe Roll chromium_revision 0bc260f9e8..e9762587b9 (444497:444575)
Change log: 0bc260f9e8..e9762587b9
Full diff: 0bc260f9e8..e9762587b9

Changed dependencies:
* src/base: 6ea72f12d1..f6ae365053
* src/build: d73dec32f1..70270c163a
* src/testing: 9a95eef3fa..7b84b7bc1a
* src/third_party: 9812bba024..0126c6d522
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/8b8d22c961..1252f8758a
* src/third_party/ffmpeg: f309edd782..28e7fbe889
* src/tools: 697f2bd382..e0a4cc5d89
DEPS diff: 0bc260f9e8..e9762587b9/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2639933004
Cr-Commit-Position: refs/heads/master@{#16156}
2017-01-19 02:05:41 +00:00
3078b551ad Reduce the log verbosity in sslstreamadapter_unittest
This CL changes some of the log statements in SSLStreamAdapter tests from Info to Verbose. The excessive verbosity might have contributed to some bot failures.

BUG=None

Review-Url: https://codereview.webrtc.org/2641623002
Cr-Commit-Position: refs/heads/master@{#16155}
2017-01-18 23:29:35 +00:00
d1c0998730 Adding OrtcFactory, and changing UdpTransport to match current plan.
The factory follows the same principles as PeerConnectionFactory;
various modules can be passed into its constructor but default
implementations are provided. Currently the only object the factory can
create is a UdpTransport (need to start somewhere).

UdpTransportChannel (renamed to UdpTransport)
will now accept a socket passed into its constructor,
relying on the factory to create the socket. This allows some
simplifications to be made, such as getting rid of "State" since the
only states are now "has destination set or doesn't".

BUG=webrtc:7013

Review-Url: https://codereview.webrtc.org/2632613002
Cr-Commit-Position: refs/heads/master@{#16154}
2017-01-18 23:16:37 +00:00
27edfbcec4 Roll chromium_revision 10fecf4ab1..0bc260f9e8 (444374:444497)
Change log: 10fecf4ab1..0bc260f9e8
Full diff: 10fecf4ab1..0bc260f9e8

Changed dependencies:
* src/base: c06a67aa56..6ea72f12d1
* src/build: c9e393c52c..d73dec32f1
* src/testing: fdb3e896fe..9a95eef3fa
* src/third_party: 9c2e43743d..9812bba024
* src/tools: 5242a0007e..697f2bd382
DEPS diff: 10fecf4ab1..0bc260f9e8/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2647553002
Cr-Commit-Position: refs/heads/master@{#16153}
2017-01-18 23:00:26 +00:00
a3c8c90f1a Roll chromium_revision d9e076c478..10fecf4ab1 (444338:444374)
Change log: d9e076c478..10fecf4ab1
Full diff: d9e076c478..10fecf4ab1

Changed dependencies:
* src/base: 12a3a619d4..c06a67aa56
* src/build: c94e6d2c61..c9e393c52c
* src/third_party: 36d6bdd230..9c2e43743d
* src/tools: f67da8f45b..5242a0007e
DEPS diff: d9e076c478..10fecf4ab1/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2643703003
Cr-Commit-Position: refs/heads/master@{#16152}
2017-01-18 17:00:59 +00:00
d99a200fad Adding some features to proxy.h, and restructuring the macros.
New features are:
- Invoke a destructor on the worker thread.
- Make proxy wrapper for a non-refcounted object.
- Ability to use unique_ptrs (as arguments or return values).

These features are needed by this CL:
https://codereview.webrtc.org/2632613002/

BUG=None

Review-Url: https://codereview.webrtc.org/2628343003
Cr-Commit-Position: refs/heads/master@{#16151}
2017-01-18 16:55:23 +00:00
c8ee882753 Replace use of ASSERT in test code.
In top level test functions, replaced with gtest ASSERT_*. In helper
methods in main test files, replaced with EXPECT_* or RTC_DCHECK on a
case-by-case basis.

In separate mock/fake classes used by tests (which might be of some
use also in tests of third-party applications), ASSERT was replaced
with RTC_CHECK, using

  git grep -l ' ASSERT(' | grep -v common.h | \
    xargs sed -i 's/ ASSERT(/ RTC_CHECK(/'

followed by additional includes of base/checks.h in affected files,
and git cl format.

BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2622413005
Cr-Commit-Position: refs/heads/master@{#16150}
2017-01-18 15:20:55 +00:00
f20dd0014d Reland of Make the new jitter buffer the default jitter buffer. (patchset #1 id:1 of https://codereview.chromium.org/2632123005/ )
Reason for revert:
Fix in this CL: https://codereview.chromium.org/2640793003/

Original issue's description:
> Revert of Make the new jitter buffer the default jitter buffer. (patchset #7 id:120001 of https://codereview.chromium.org/2627463004/ )
>
> Reason for revert:
> Breaks android bots.
>
> Original issue's description:
> > Make the new jitter buffer the default jitter buffer.
> >
> > This CL contains only the changes necessary to make the switch to the new jitter
> > buffer, clean up will be done in follow up CLs.
> >
> > In this CL:
> >  - Removed the WebRTC-NewVideoJitterBuffer experiment and made the
> >    new video jitter buffer the default one.
> >  - Moved WebRTC.Video.KeyFramesReceivedInPermille and
> >    WebRTC.Video.JitterBufferDelayInMs to the ReceiveStatisticsProxy.
> >
> > BUG=webrtc:5514
> >
> > Review-Url: https://codereview.webrtc.org/2627463004
> > Cr-Commit-Position: refs/heads/master@{#16114}
> > Committed: 0f0763d86d
>
> TBR=stefan@webrtc.org,terelius@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:5514
>
> Review-Url: https://codereview.webrtc.org/2632123005
> Cr-Commit-Position: refs/heads/master@{#16117}
> Committed: c08c191f7d

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

Review-Url: https://codereview.webrtc.org/2642753002
Cr-Commit-Position: refs/heads/master@{#16149}
2017-01-18 15:15:37 +00:00
6da303db1d Reland of Delete rtc::linked_ptr. (patchset #1 id:1 of https://codereview.webrtc.org/2579753002/ )
Only use, in statstypes.h, replaced by rtc::scoped_refptr.

Reason for revert:
Intend to switch from unique_ptr to scoped_refptr,
and then reland.

Original issue's description:
> Revert of Delete rtc::linked_ptr. Only use, in statstypes.h, replaced bu std::unique_ptr. (patchset #1 id:1 of https://codereview.webrtc.org/2581663002/ )
>
> Reason for revert:
> This change broke Chrome too. It's stats processing wants to make a copy of webrtc's stats mapping, which is no longer possible with std::unique_ptr.
>
> Original issue's description:
> > Reland of Delete rtc::linked_ptr. Only use, in statstypes.h, replaced bu std::unique_ptr. (patchset #1 id:1 of https://codereview.webrtc.org/2576673002/ )
> >
> > Reason for revert:
> > Downstream project fixed to not make copies while iterating over the stats mapping.
> >
> > Original issue's description:
> > > Revert of Delete rtc::linked_ptr. Only use, in statstypes.h, replaced bu std::unique_ptr. (patchset #1 id:1 of https://codereview.webrtc.org/2567143003/ )
> > >
> > > Reason for revert:
> > > The change from rtc::linked_ptr to std::unique_ptr broke a downstream project.
> > >
> > > Original issue's description:
> > > > Delete rtc::linked_ptr. Only use, in statstypes.h, replaced with std::unique_ptr.
> > > >
> > > > BUG=webrtc:6424
> > > >
> > > > Committed: https://crrev.com/36f74e55792cae19db8b222c29aa38d6e0eb1225
> > > > Cr-Commit-Position: refs/heads/master@{#15588}
> > >
> > > TBR=solenberg@webrtc.org,pthatcher@webrtc.org,hta@webrtc.org
> > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > NOPRESUBMIT=true
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=webrtc:6424
> > >
> > > Committed: https://crrev.com/8afbc8cba65d99bb7a0feece8fb3055b144106b1
> > > Cr-Commit-Position: refs/heads/master@{#15589}
> >
> > TBR=solenberg@webrtc.org,pthatcher@webrtc.org,hta@webrtc.org
> > # Not skipping CQ checks because original CL landed more than 1 days ago.
> > BUG=webrtc:6424
> >
> > Committed: https://crrev.com/06035cf53abad80b0525f286a3b81e388cc7ee00
> > Cr-Commit-Position: refs/heads/master@{#15627}
>
> TBR=solenberg@webrtc.org,pthatcher@webrtc.org,hta@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:6424
>
> Committed: https://crrev.com/6a58f33450a46370039cd82537612040a91165b3
> Cr-Commit-Position: refs/heads/master@{#15629}

TBR=solenberg@webrtc.org,pthatcher@webrtc.org,hta@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2641793002
Cr-Commit-Position: refs/heads/master@{#16148}
2017-01-18 14:10:54 +00:00
1b3ce86d53 Roll chromium_revision 5e5d50d1fe..d9e076c478 (444317:444338)
Change log: 5e5d50d1fe..d9e076c478
Full diff: 5e5d50d1fe..d9e076c478

Changed dependencies:
* src/third_party: 7b19efa0d9..36d6bdd230
* src/tools: 1f610e7783..f67da8f45b
DEPS diff: 5e5d50d1fe..d9e076c478/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2640813002
Cr-Commit-Position: refs/heads/master@{#16147}
2017-01-18 13:56:01 +00:00
fcc600651d Clear the FrameBuffer in case of a backward jump in the picture id.
Even though this is against the spec we allow a stream to continue if
a backwards jump in the picture id occurs on a keyframe.

BUG=webrtc:7001, webrtc:5514

Review-Url: https://codereview.webrtc.org/2640793003
Cr-Commit-Position: refs/heads/master@{#16146}
2017-01-18 13:35:20 +00:00
44303ea0ff Revert of Add experimental simulcast screen content mode (patchset #5 id:80001 of https://codereview.webrtc.org/2636443002/ )
Reason for revert:
Breaks chromium.

Original issue's description:
> Add experimental simulcast screen content mode
>
> BUG=webrtc:4172
>
> Review-Url: https://codereview.webrtc.org/2636443002
> Cr-Commit-Position: refs/heads/master@{#16135}
> Committed: a28e971e3b

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

Review-Url: https://codereview.webrtc.org/2643763002
Cr-Commit-Position: refs/heads/master@{#16145}
2017-01-18 13:19:13 +00:00
e8abe3ef1b Revert of New method StatsObserver::OnCompleteReports, passing ownership. (patchset #2 id:20001 of https://codereview.webrtc.org/2584553002/ )
Reason for revert:
The new method doesn't work as intended.

It can't pass ownership, because the StatsReports is a vector of raw pointers to StatReport objects owned by the StatsCollector.

Original issue's description:
> New method StatsObserver::OnCompleteReports, passing ownership.
>
> The new name, OnCompleteReports rather than OnComplete, is needed
> because in C++ method lookup, overriding a method hides all otherwise
> inherited methods with the same name, even if they have a different
> signature. And here, the intention is that each subclass should
> override one or the other of the two methods, and inherit the method it
> doesn't override.
>
> This cl is a prerequisite for
> https://codereview.webrtc.org/2567143003/, because the Chrome glue
> code needs to retain the stats report after the OnComplete method has
> returned.
>
> Currently, Chrome makes a copy of the stats mapping (which breaks when
> changing ValuePtr from an rtc::linked_ptr to an std::unique_ptr). After
> this cl, Chrome can be fixed to take ownership and no longer needs to
> copy anything, unblocking cl 2567143003.
>
> BUG=webrtc:6424
>
> Review-Url: https://codereview.webrtc.org/2584553002
> Cr-Commit-Position: refs/heads/master@{#15708}
> Committed: b36ee8d498

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

Review-Url: https://codereview.webrtc.org/2641783002
Cr-Commit-Position: refs/heads/master@{#16144}
2017-01-18 13:00:34 +00:00
2f67b82e20 Fixing peerconnection reddish video issue
BUG=webrtc:6857
NOTRY=True

Review-Url: https://codereview.webrtc.org/2604323002
Cr-Commit-Position: refs/heads/master@{#16143}
2017-01-18 12:23:10 +00:00
5850a9484d Add failure type parameter to onFailure callback.
This allows Camera2Session to correctly signal camera disconnect
when starting the camera.

BUG=webrtc:7008

Review-Url: https://codereview.webrtc.org/2642703002
Cr-Commit-Position: refs/heads/master@{#16142}
2017-01-18 11:22:16 +00:00
2fcd2dd93a Update YuvConverter to use GlTextureFrameBuffer.
Old implementation also had a bug where it had the framebuffer bound
while changing the texture size. This causes problems on some phones.

BUG=webrtc:6751

Review-Url: https://codereview.webrtc.org/2635133003
Cr-Commit-Position: refs/heads/master@{#16141}
2017-01-18 11:21:10 +00:00
a77ce78e99 Roll chromium_revision 5d804c8487..5e5d50d1fe (444296:444317)
Change log: 5d804c8487..5e5d50d1fe
Full diff: 5d804c8487..5e5d50d1fe

Changed dependencies:
* src/third_party: 40d31d6b89..7b19efa0d9
DEPS diff: 5d804c8487..5e5d50d1fe/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2639943002
Cr-Commit-Position: refs/heads/master@{#16140}
2017-01-18 11:06:50 +00:00
4a0c76402e Add rtcp::TransportFeedback::GetReceivedPackets()
It combines and simplify use of GetStatusVector and GetReceiveDeltas accesors.

Replace use of all GetStatusVector/GetReceiveDeltasUs

BUG=None

Review-Url: https://codereview.webrtc.org/2633923003
Cr-Commit-Position: refs/heads/master@{#16139}
2017-01-18 10:40:30 +00:00
e0e3bdfbbf Refactor OveruseFrameDetector to use timing in us units
Use rtc::TimeMicros, and don't refer to ntp time.

BUG=webrtc:6977

Review-Url: https://codereview.webrtc.org/2633673002
Cr-Commit-Position: refs/heads/master@{#16138}
2017-01-18 10:16:20 +00:00
d3fabe51b2 Improve computational performance of BWE by switching list to deque.
BUG=webrtc:6998

Review-Url: https://codereview.webrtc.org/2633293004
Cr-Commit-Position: refs/heads/master@{#16137}
2017-01-18 09:59:53 +00:00
1d2d78984d Fix race in EndToEndTest.ReceivesFlexfecAndSendsCorrespondingRtcp.
R=stefan@webrtc.org
BUG=webrtc:7004

Review-Url: https://codereview.webrtc.org/2639173002
Cr-Commit-Position: refs/heads/master@{#16136}
2017-01-18 08:40:07 +00:00
a28e971e3b Add experimental simulcast screen content mode
BUG=webrtc:4172

Review-Url: https://codereview.webrtc.org/2636443002
Cr-Commit-Position: refs/heads/master@{#16135}
2017-01-18 08:36:31 +00:00
b3dc2b7b1e Move congestion controller processing to the pacer thread.
Also rename it from pacer_thread_ to congestion_controller_thread_.

BUG=webrtc:6847

Review-Url: https://codereview.webrtc.org/2637783003
Cr-Commit-Position: refs/heads/master@{#16134}
2017-01-18 08:10:31 +00:00
c0370ef126 Roll chromium_revision 9057f45850..5d804c8487 (444268:444296)
Change log: 9057f45850..5d804c8487
Full diff: 9057f45850..5d804c8487

Changed dependencies:
* src/testing: 9b37703807..fdb3e896fe
* src/third_party: a496885813..40d31d6b89
* src/tools: e2e51c7f5a..1f610e7783
DEPS diff: 9057f45850..5d804c8487/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2643643002
Cr-Commit-Position: refs/heads/master@{#16133}
2017-01-18 07:44:05 +00:00
f3d5d89cbc Roll chromium_revision aa99b0c20f..9057f45850 (444210:444268)
Change log: aa99b0c20f..9057f45850
Full diff: aa99b0c20f..9057f45850

Changed dependencies:
* src/third_party: ed0121b0f4..a496885813
* src/third_party/catapult: 143ba4ddeb..cfcae9b972
* src/tools: fd807d1fdc..e2e51c7f5a
DEPS diff: aa99b0c20f..9057f45850/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2644443002
Cr-Commit-Position: refs/heads/master@{#16132}
2017-01-18 04:58:16 +00:00
c7953fa716 Remove the IceTransportInternal2.
Introduing IceTransportInternal2 is a temporary fix to switch the base
class of P2PTransportChannel to IceTransportInternal without breaking
Chromium. It is removed in this CL.

Reland this CL after Chromium doesn't depend on this.

BUG=webrtc:6951

Review-Url: https://codereview.webrtc.org/2632563002
Cr-Commit-Position: refs/heads/master@{#16131}
2017-01-18 03:40:19 +00:00
bad5dadef3 More minor improvements to BaseChannel/transport code.
Mostly from late comments on this CL:
https://codereview.webrtc.org/2614263002/

Changes SetTransport to DCHECK instead of returning false.
Renames it to SetTransports.
Fixes some possible transport resource leaks.

BUG=None

Review-Url: https://codereview.webrtc.org/2637503003
Cr-Commit-Position: refs/heads/master@{#16130}
2017-01-18 02:32:35 +00:00
b308b037e3 Roll chromium_revision b09bc11cad..aa99b0c20f (444155:444210)
Change log: b09bc11cad..aa99b0c20f
Full diff: b09bc11cad..aa99b0c20f

Changed dependencies:
* src/base: a38f96ef3e..12a3a619d4
* src/build: 19fd830703..c94e6d2c61
* src/testing: da6573648a..9b37703807
* src/third_party: 2e2fbc8f3d..ed0121b0f4
* src/tools: 8d728a7feb..fd807d1fdc
DEPS diff: b09bc11cad..aa99b0c20f/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2640663002
Cr-Commit-Position: refs/heads/master@{#16129}
2017-01-18 02:01:02 +00:00
7fa4a72924 Increase bitrate adjustment values for VP8 Exynos encoder
For low bitrates actual encoder output bitrate may differ from target
by 3-4 times.
Also adjust adaptation speed based on bitrate variation from the target.

BUG=b/34233384
R=wzh@webrtc.org

Review-Url: https://codereview.webrtc.org/2640543003 .
Cr-Commit-Position: refs/heads/master@{#16128}
2017-01-17 23:32:02 +00:00
6dbbd89f18 Fix BitrateProber to match the requested bitrate more precisely
Previously BirateProber was calculating delay between probes based on
the size of the previous probe. Because of that the actual sent bitrate
can deviate greatly from the target value. With this change it uses
total number of bytes in the cluster to estimate delay before each
probe.

BUG=webrtc:6952

Review-Url: https://codereview.webrtc.org/2613543003
Cr-Original-Commit-Position: refs/heads/master@{#15971}
Committed: 599c5011e7
Review-Url: https://codereview.webrtc.org/2613543003
Cr-Commit-Position: refs/heads/master@{#16127}
2017-01-17 23:07:59 +00:00
f7303fc435 Roll chromium_revision 71ee072729..b09bc11cad (444100:444155)
Change log: 71ee072729..b09bc11cad
Full diff: 71ee072729..b09bc11cad

Changed dependencies:
* src/base: e1233db29a..a38f96ef3e
* src/third_party: 141aa26dff..2e2fbc8f3d
* src/tools: 3aa168195c..8d728a7feb
DEPS diff: 71ee072729..b09bc11cad/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2635343002
Cr-Commit-Position: refs/heads/master@{#16126}
2017-01-17 23:01:36 +00:00
2e37a72ce5 Roll chromium_revision 5e608bb301..71ee072729 (444065:444100)
Change log: 5e608bb301..71ee072729
Full diff: 5e608bb301..71ee072729

Changed dependencies:
* src/base: 28d7b9f987..e1233db29a
* src/third_party: e4ea313eca..141aa26dff
* src/tools: 91927f6587..3aa168195c
DEPS diff: 5e608bb301..71ee072729/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2636203003
Cr-Commit-Position: refs/heads/master@{#16125}
2017-01-17 19:31:28 +00:00
9af18bf62f Roll chromium_revision e44e863e19..5e608bb301 (444017:444065)
Change log: e44e863e19..5e608bb301
Full diff: e44e863e19..5e608bb301

Changed dependencies:
* src/base: bae2ecf80a..28d7b9f987
* src/build: f55127ddc3..19fd830703
* src/testing: dd278c1dc3..da6573648a
* src/third_party: 807b93e6e6..e4ea313eca
* src/tools: 4d6cef3d40..91927f6587
DEPS diff: e44e863e19..5e608bb301/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2638063002
Cr-Commit-Position: refs/heads/master@{#16124}
2017-01-17 17:32:07 +00:00
e5cbc20190 Android: AppRTCMobile: Don't leak CallActivity.
Previously CallActivity would be leaked on every call. This CL fixes the
problem.

BUG=webrtc:6684

Review-Url: https://codereview.webrtc.org/2640433003
Cr-Commit-Position: refs/heads/master@{#16123}
2017-01-17 15:25:53 +00:00
61c98e0899 Remove dependency to Chromium code from WebRTC Java code.
BUG=webrtc:6996

Review-Url: https://codereview.webrtc.org/2631423002
Cr-Commit-Position: refs/heads/master@{#16122}
2017-01-17 14:46:34 +00:00
e08b253ee0 Remove unused lambda capture to unbreak downstream code.
Broken since: d3c3a4e2ac

BUG=none
TBR=zhihuang@webrtc.org

Review-Url: https://codereview.webrtc.org/2639523002
Cr-Commit-Position: refs/heads/master@{#16121}
2017-01-17 14:18:10 +00:00
0b2d3e217f Revert of Fix flaky WebRtcVideoChannel2BaseTest.GetStats T (patchset #1 id:1 of https://codereview.webrtc.org/2634273002/ )
Reason for revert:
nisse landed  a change that always disable adaptation in these tests.

Original issue's description:
> Fix flaky WebRtcVideoChannel2BaseTest.GetStats T
> This cl allows width and height of the produced encoded stream to be smaller than the configured camera resolution. This is since quality and cpu adapters may request a scaled input frame.
>
> BUG=webrtc:6990
>
> Review-Url: https://codereview.webrtc.org/2634273002
> Cr-Commit-Position: refs/heads/master@{#16118}
> Committed: 311a64ccf5

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

Review-Url: https://codereview.webrtc.org/2639573002
Cr-Commit-Position: refs/heads/master@{#16120}
2017-01-17 13:56:53 +00:00
2013e29df1 Disable automatic scaling in tests.
BUG=webrtc:6990

Review-Url: https://codereview.webrtc.org/2636903004
Cr-Commit-Position: refs/heads/master@{#16119}
2017-01-17 13:45:40 +00:00