Commit Graph

15875 Commits

Author SHA1 Message Date
11bfc53cd9 Fixed a couple of build-flag dependent tests of webrtcvoiceengine.
The codecs expected by HasCorrectCodecs now depends which codecs were
enabled by build flags.

SendSideBweWithOverheadTest.MinAndMaxBitrate now expects different
values for min bitrate depending on if we support 120 ms frames for
Opus.

BUG=b/35415435

Review-Url: https://codereview.webrtc.org/2691343008
Cr-Commit-Position: refs/heads/master@{#16643}
2017-02-16 13:37:06 +00:00
a51d4f34d9 Re-land of RTCInboundRTPStreamStats.qpSum collected.
This was previously only collected for local tracks
(RTCOutboundRTPStreamStats.qpSum).

Spec: https://w3c.github.io/webrtc-stats/#dom-rtcrtpstreamstats-qpsum

This CL also improves some testing in rtcstatscollector_unittest.cc.
Default and non-default values are tested in the same unittests,
removing the test that was specific to default-values, which was
otherwise code duplication.

This is a re-land of https://codereview.webrtc.org/2675943002 after
dependent CL that was re-landed.

BUG=webrtc:7065
TBR=hta@webrtc.org, sakal@webrtc.org

Review-Url: https://codereview.webrtc.org/2703503003
Cr-Commit-Position: refs/heads/master@{#16642}
2017-02-16 13:34:48 +00:00
454c1d6a23 Fix neteq_speed_test.cc
After https://codereview.webrtc.org/2340773002,
the path from webrtc::test::ResourcePath in
webrtc/modules/audio_coding/neteq/tools/neteq_performance_test.cc is wrong.

It is
/path/to/repos/resources/audio_coding/testfile32kHz.pcm

It should be
/path/to/repos/webrtc-temp/src/resources/audio_coding/testfile32kHz.pcm.

The middle part is missing.

The reason this target is affected is because
webrtc::test::SetExecutablePath(argv[0]);
was not called.

That call is necessary for us to know that the test is being run from src/
and not from out/Default (as is assumed, when that function is not called.)

BUG=chromium:497757
R=kjellander@webrtc.org, henrik.lundin@webrtc.org

Review-Url: https://codereview.webrtc.org/2698743002
Cr-Commit-Position: refs/heads/master@{#16641}
2017-02-16 11:54:49 +00:00
2b1020d35f Roll chromium_revision 3dd2a5021d..58a802887f (450867:450927)
Change log: 3dd2a5021d..58a802887f
Full diff: 3dd2a5021d..58a802887f

Changed dependencies:
* src/base: 8b1a6dbaa6..cbfde9af45
* src/ios: ef5e6a32d2..fb322f261c
* src/testing: fc5180135b..50dd3aa386
* src/third_party: 458ec12ef4..206cc578f4
* src/tools: 776d0b616f..e3bcb64d20
DEPS diff: 3dd2a5021d..58a802887f/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2704463002
Cr-Commit-Position: refs/heads/master@{#16640}
2017-02-16 11:22:22 +00:00
7b2797e7c7 Including extra_gn_args to log line.
In a recent commit we added --extra-gn-args flag but we forgot to log
the extra_gn_args variable and this can cause useless investigations.

BUG=None
NOTRY=True

Review-Url: https://codereview.webrtc.org/2698613004
Cr-Commit-Position: refs/heads/master@{#16639}
2017-02-16 09:40:59 +00:00
7cebe78332 Better comparison of videos with barcode errors
The frame_analyzer which is used by compare_videos.py needs to handle
barcode errors. As before the reference and the test video can contain
repeated frames. When there are barcode decode errors in the test video,
then we should not let that contribute to the skipped frames score. When
there are barcode decode errors in the reference video, then we need to
take proper care to still calculate skipped barcodes when the
corresponding frames are not present in the test video and the test
video does not have a frame with a barcode decode error that could have
been the same frame as the one in the reference.

A new metric total number of skipped frames and for number of decode
errors is introduced. Barcodes that appears in the test video, but not
in the reference video are also listed.

BUG=webrtc:6967

Review-Url: https://codereview.webrtc.org/2666333003
Cr-Commit-Position: refs/heads/master@{#16638}
2017-02-16 09:36:43 +00:00
12b3e03bde Roll chromium_revision 69e724195b..3dd2a5021d (450712:450867)
Includes a fix for https://codereview.chromium.org/2699473002 for
hiding non-JNI symbols for //webrtc/sdk/android:libjingle_peerconnection_so.

Change log: 69e724195b..3dd2a5021d
Full diff: 69e724195b..3dd2a5021d

Changed dependencies:
* src/base: 080b352c99..8b1a6dbaa6
* src/build: f90e950a28..c8fd116a14
* src/ios: 9de535e7f6..ef5e6a32d2
* src/testing: ab09b53e19..fc5180135b
* src/third_party: 8c47a50ee4..458ec12ef4
* src/third_party/catapult: fc25e6f948..574285df8d
* src/tools: edae3a4aa9..776d0b616f
DEPS diff: 69e724195b..3dd2a5021d/DEPS

No update to Clang.

BUG=None
NOTRY=True

Review-Url: https://codereview.webrtc.org/2702513002
Cr-Commit-Position: refs/heads/master@{#16637}
2017-02-16 09:06:04 +00:00
1c3548c67c Reland of iOS: Use JSON for GN configuration instead of MB + remove symbols
Reason for revert:
MB is now updated to handle spaces in the buildername properly, something that
only affected our commit bots (not trybots).

Original issue's description:
> Revert of iOS: Use JSON for GN configuration instead of MB + remove symbols (patchset #4 id:80001 of https://codereview.webrtc.org/2688103002/ )
>
> Reason for revert:
> Something is different from trybots vs the commit bots, causing it to fail when running GN:
> https://build.chromium.org/p/client.webrtc/builders/iOS32%20Release/builds/10151
>
> Original issue's description:
> > iOS: Use JSON for GN configuration instead of MB + remove symbols.
> >
> > This aligns with how the ios recipe module is used in Chromium.
> > It should prevent breakages like one we had recently.
> >
> > It also means we're no longer setting symbol_level=1 explicitly.
> > The default is 0 (no symbols), which is now what's being used.
> >
> > Also move all the directories containing JSON files into
> > tools-webrtc/ios/bots to make it clearer (and more similar to
> > Chromium).
> >
> > BUG=webrtc:7140, webrtc:7161
> > NOTRY=True
> >
> > Review-Url: https://codereview.webrtc.org/2688103002
> > Cr-Commit-Position: refs/heads/master@{#16633}
> > Committed: 73f01de4ed
>
> TBR=ehmaldonado@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:7140, webrtc:7161
>
> Review-Url: https://codereview.webrtc.org/2694423002
> Cr-Commit-Position: refs/heads/master@{#16634}
> Committed: 68ab366547

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

Review-Url: https://codereview.webrtc.org/2697133002
Cr-Commit-Position: refs/heads/master@{#16636}
2017-02-16 06:38:22 +00:00
8714b8f1ae Improving parallelism when building with goma
It seems that ninja defaults the number of available CPUs.

BUG=chromium:690916
NOTRY=True

Review-Url: https://codereview.webrtc.org/2691393003
Cr-Commit-Position: refs/heads/master@{#16635}
2017-02-15 21:18:57 +00:00
68ab366547 Revert of iOS: Use JSON for GN configuration instead of MB + remove symbols (patchset #4 id:80001 of https://codereview.webrtc.org/2688103002/ )
Reason for revert:
Something is different from trybots vs the commit bots, causing it to fail when running GN:
https://build.chromium.org/p/client.webrtc/builders/iOS32%20Release/builds/10151

Original issue's description:
> iOS: Use JSON for GN configuration instead of MB + remove symbols.
>
> This aligns with how the ios recipe module is used in Chromium.
> It should prevent breakages like one we had recently.
>
> It also means we're no longer setting symbol_level=1 explicitly.
> The default is 0 (no symbols), which is now what's being used.
>
> Also move all the directories containing JSON files into
> tools-webrtc/ios/bots to make it clearer (and more similar to
> Chromium).
>
> BUG=webrtc:7140, webrtc:7161
> NOTRY=True
>
> Review-Url: https://codereview.webrtc.org/2688103002
> Cr-Commit-Position: refs/heads/master@{#16633}
> Committed: 73f01de4ed

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

Review-Url: https://codereview.webrtc.org/2694423002
Cr-Commit-Position: refs/heads/master@{#16634}
2017-02-15 20:45:35 +00:00
73f01de4ed iOS: Use JSON for GN configuration instead of MB + remove symbols.
This aligns with how the ios recipe module is used in Chromium.
It should prevent breakages like one we had recently.

It also means we're no longer setting symbol_level=1 explicitly.
The default is 0 (no symbols), which is now what's being used.

Also move all the directories containing JSON files into
tools-webrtc/ios/bots to make it clearer (and more similar to
Chromium).

BUG=webrtc:7140, webrtc:7161
NOTRY=True

Review-Url: https://codereview.webrtc.org/2688103002
Cr-Commit-Position: refs/heads/master@{#16633}
2017-02-15 20:34:03 +00:00
368b5ffecc Make iOS API Framework script use the src/ dir as cwd for commands.
The recent infra CL https://chromium-review.googlesource.com/c/439266/
seems to have broken our bot. It's better the script
doesn't have any assumptions on cwd when executing.

BUG=None
R=mbonadei@webrtc.org
TBR=mbonadei@webrtc.org

Review-Url: https://codereview.webrtc.org/2695303002 .
Cr-Commit-Position: refs/heads/master@{#16632}
2017-02-15 19:51:26 +00:00
43be94725f Return "not implemented" error from BindSocketToNetwork properly.
Previously, was only checking the Android SDK version. But it also needs
to check for the presence of the connectivity manager service.

BUG=webrtc:7026

Review-Url: https://codereview.webrtc.org/2697943002
Cr-Commit-Position: refs/heads/master@{#16631}
2017-02-15 19:49:31 +00:00
9c6ded1bb2 Roll chromium_revision e2fc74b70d..69e724195b (450647:450712)
Change log: e2fc74b70d..69e724195b
Full diff: e2fc74b70d..69e724195b

Changed dependencies:
* src/ios: fb560b3bce..9de535e7f6
* src/testing: 33a976b003..ab09b53e19
* src/third_party: d0159f3653..8c47a50ee4
* src/third_party/catapult: fadc168f51..fc25e6f948
* src/tools: 6e88fe2ac4..edae3a4aa9
DEPS diff: e2fc74b70d..69e724195b/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2694283006
Cr-Commit-Position: refs/heads/master@{#16630}
2017-02-15 16:49:39 +00:00
32e0d26096 Tighten up encode time measurement in VideoProcessor.
No point in measuring the time needed to write dropped frames to disk.

BUG=webrtc:6634

Review-Url: https://codereview.webrtc.org/2696503003
Cr-Commit-Position: refs/heads/master@{#16629}
2017-02-15 13:29:38 +00:00
8bc9385fcb Style fixes: VideoProcessor and corresponding integration test.
This CL has no intended functional changes.

BUG=webrtc:6634

Review-Url: https://codereview.webrtc.org/2697583002
Cr-Commit-Position: refs/heads/master@{#16628}
2017-02-15 13:19:51 +00:00
280eb224e2 Make AudioVector::operator[] inline and modify the index calculation to avoid the modulo operation.
BUG=webrtc:7159

Review-Url: https://codereview.webrtc.org/2670643007
Cr-Commit-Position: refs/heads/master@{#16627}
2017-02-15 10:53:05 +00:00
a7b682aa18 Roll chromium_revision d27cf4ed11..e2fc74b70d (450608:450647)
Change log: d27cf4ed11..e2fc74b70d
Full diff: d27cf4ed11..e2fc74b70d

Changed dependencies:
* src/base: e1bc378499..080b352c99
* src/ios: ddf0450437..fb560b3bce
* src/testing: 78526a1571..33a976b003
* src/third_party: b48a727b15..d0159f3653
* src/third_party/catapult: d31d896231..fadc168f51
* src/tools: 4cd6b6b238..6e88fe2ac4
DEPS diff: d27cf4ed11..e2fc74b70d/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2693183005
Cr-Commit-Position: refs/heads/master@{#16626}
2017-02-15 10:49:04 +00:00
2a8c2f589a Added Vp9 simulcast tests.
For them implemeted upscaling in libyuv metrics calculation.
Updated maximum number of SL in vp9 encoder to 3.
Refactored names of some fields in Video_quality_check analyzer.

BUG=webrtc:7095

Review-Url: https://codereview.webrtc.org/2681683003
Cr-Commit-Position: refs/heads/master@{#16625}
2017-02-15 10:23:28 +00:00
27260ced9f Change NtpTime representation to single uint64_t
Add explicit conversions to/from uint64_t

uint64_t is natural type for NtpTime, including wrap on overflow.

BUG=None

Review-Url: https://codereview.webrtc.org/2695683002
Cr-Commit-Position: refs/heads/master@{#16624}
2017-02-15 09:18:15 +00:00
6486ef50ac Delete unused files macconversion.h and .cc.
Unused since cl https://codereview.webrtc.org/2541453002.

BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2693973003
Cr-Commit-Position: refs/heads/master@{#16623}
2017-02-15 09:07:57 +00:00
9ae0d76b92 Added WebRTC-QuickPerfTest field trial. If enabled only 1 frame will be sent.
BUG=webrtc:7101

Review-Url: https://codereview.webrtc.org/2690903004
Cr-Commit-Position: refs/heads/master@{#16622}
2017-02-15 08:53:12 +00:00
08b19dfc67 Remove VoEVideoSync interface.
The removed tests are covered by cases in call_perf_tests.

BUG=webrtc:4690

Review-Url: https://codereview.webrtc.org/2672583002
Cr-Commit-Position: refs/heads/master@{#16621}
2017-02-15 08:42:31 +00:00
0ac1904e39 Roll chromium_revision 20557391ea..d27cf4ed11 (450551:450608)
Change log: 20557391ea..d27cf4ed11
Full diff: 20557391ea..d27cf4ed11

Changed dependencies:
* src/build: 5af1827589..f90e950a28
* src/ios: f93a25dd2c..ddf0450437
* src/third_party: ece686a2ed..b48a727b15
* src/third_party/catapult: 7336c9424b..d31d896231
* src/tools: c43465a3fc..4cd6b6b238
DEPS diff: 20557391ea..d27cf4ed11/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2693703008
Cr-Commit-Position: refs/heads/master@{#16620}
2017-02-15 07:52:56 +00:00
983abcc4a5 Roll chromium_revision a23d6ceb29..20557391ea (450531:450551)
Change log: a23d6ceb29..20557391ea
Full diff: a23d6ceb29..20557391ea

Changed dependencies:
* src/base: 8635043285..e1bc378499
* src/build: 13190454b2..5af1827589
* src/third_party: 430b656d42..ece686a2ed
DEPS diff: a23d6ceb29..20557391ea/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2694173003
Cr-Commit-Position: refs/heads/master@{#16619}
2017-02-15 05:06:31 +00:00
18ec455685 Roll chromium_revision f4729b0ecc..a23d6ceb29 (450482:450531)
Change log: f4729b0ecc..a23d6ceb29
Full diff: f4729b0ecc..a23d6ceb29

Changed dependencies:
* src/base: 54e4c1a13a..8635043285
* src/ios: eed985fafa..f93a25dd2c
* src/third_party: b57ef7dd72..430b656d42
* src/third_party/catapult: 43539b5c91..7336c9424b
* src/tools: 7b42c4d3e5..c43465a3fc
DEPS diff: f4729b0ecc..a23d6ceb29/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2695143004
Cr-Commit-Position: refs/heads/master@{#16618}
2017-02-15 02:07:54 +00:00
c6f69047bf Roll chromium_revision 323b23d6a1..f4729b0ecc (450423:450482)
Change log: 323b23d6a1..f4729b0ecc
Full diff: 323b23d6a1..f4729b0ecc

Changed dependencies:
* src/base: 314b4ab18c..54e4c1a13a
* src/ios: b79750f4f6..eed985fafa
* src/third_party: 666916c501..b57ef7dd72
* src/third_party/catapult: e720bbeab5..43539b5c91
* src/tools: 7f2b8667f3..7b42c4d3e5
DEPS diff: 323b23d6a1..f4729b0ecc/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2689163006
Cr-Commit-Position: refs/heads/master@{#16617}
2017-02-14 23:11:43 +00:00
f0a539b0c8 Revert of Add the url attribute to the IceCandidate (Java Wrapper) (patchset #4 id:120001 of https://codereview.webrtc.org/2690593002/ )
Reason for revert:
Breaks AppRTCMobile interoperability. The ICE candidate URL shouldn't be signaled between endpoints, it's only there for informational purposes.

Original issue's description:
> 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-Original-Commit-Position: refs/heads/master@{#16593}
> Committed: 8586c8ee88
> Review-Url: https://codereview.webrtc.org/2690593002
> Cr-Commit-Position: refs/heads/master@{#16615}
> Committed: 45efce01c7

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

Review-Url: https://codereview.webrtc.org/2699533002
Cr-Commit-Position: refs/heads/master@{#16616}
2017-02-14 22:13:56 +00:00
45efce01c7 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-Original-Commit-Position: refs/heads/master@{#16593}
Committed: 8586c8ee88
Review-Url: https://codereview.webrtc.org/2690593002
Cr-Commit-Position: refs/heads/master@{#16615}
2017-02-14 20:23:34 +00:00
bb1de873b9 Roll chromium_revision 7a8b621535..323b23d6a1 (449940:450423)
Change log: 7a8b621535..323b23d6a1
Full diff: 7a8b621535..323b23d6a1

Changed dependencies:
* src/base: da9ea7c196..314b4ab18c
* src/build: 3e5cfce8cf..13190454b2
* src/ios: aef3d8defa..b79750f4f6
* src/testing: 71872f7d70..78526a1571
* src/third_party: a2296b7dbc..666916c501
* src/third_party/catapult: 6fa9f83f74..e720bbeab5
* src/third_party/ffmpeg: a77cdbfeb7..38d84d205c
* src/third_party/libvpx/source/libvpx: 164db8278f..91f87e7513
* src/tools: 8bbd3624b9..7f2b8667f3
DEPS diff: 7a8b621535..323b23d6a1/DEPS

No update to Clang.

TBR=marpan@webrtc.org,
BUG=None

Review-Url: https://codereview.webrtc.org/2697883002
Cr-Commit-Position: refs/heads/master@{#16614}
2017-02-14 20:07:13 +00:00
80f4f42583 Added myself to WATCHLIST for audio_mixer and audio_processing.
BUG=None
NOTRY=true

Review-Url: https://codereview.webrtc.org/2691233003
Cr-Commit-Position: refs/heads/master@{#16613}
2017-02-14 20:00:12 +00:00
b83797bd7a Fix flaky ViEEncoder unit test.
The flaky test was introduced in ad9010c9836, and is essentially a race
where the ViE Encoder has already configured the quality scaler on the
encoder thread before we've updated the ScalingSettings. This CL adds
a forced reconfiguration of the quality scaler to avoid this issue.

BUG=None
TBR=sprang@webrtc.org

Review-Url: https://codereview.webrtc.org/2695873004
Cr-Commit-Position: refs/heads/master@{#16612}
2017-02-14 19:57:25 +00:00
5465ef5699 Remove VideoRendererGui
This file is deprecated and use of it should be replaced with
SurfaceViewRenderer instead.

BUG=webrtc:7158
R=sakal@webrtc.org

Review-Url: https://codereview.webrtc.org/2692843003 .
Cr-Commit-Position: refs/heads/master@{#16611}
2017-02-14 13:27:51 +00:00
24d1c6162e Revert of chromium_revision 7a8b621535..962dfbcdb2 (449940:450031) (patchset #1 id:1 of https://codereview.webrtc.org/2690183005/ )
Reason for revert:
Downstream fix needs to wait, so revert again to green up.

Original issue's description:
> Reland of Roll chromium_revision 7a8b621535..962dfbcdb2 (449940:450031) (patchset #1 id:1 of https://codereview.webrtc.org/2690243002/ )
>
> Reason for revert:
> I have a fix ready for the downstream project.
>
> Original issue's description:
> > Revert of Roll chromium_revision 7a8b621535..962dfbcdb2 (449940:450031) (patchset #1 id:1 of https://codereview.webrtc.org/2694773003/ )
> >
> > Reason for revert:
> > The libvpx roll broke an internal project
> >
> > Original issue's description:
> > > Roll chromium_revision 7a8b621535..962dfbcdb2 (449940:450031)
> > >
> > > Change log: 7a8b621535..962dfbcdb2
> > > Full diff: 7a8b621535..962dfbcdb2
> > >
> > > Changed dependencies:
> > > * src/base: da9ea7c196..e7ee554267
> > > * src/build: 3e5cfce8cf..11f5df6e25
> > > * src/ios: aef3d8defa..ba6815a36f
> > > * src/third_party: a2296b7dbc..26d563eb01
> > > * src/third_party/libvpx/source/libvpx: 164db8278f..91f87e7513
> > > * src/tools: 8bbd3624b9..aceeebe907
> > > DEPS diff: 7a8b621535..962dfbcdb2/DEPS
> > >
> > > No update to Clang.
> > >
> > > TBR=marpan@webrtc.org,
> > > BUG=None
> > >
> > > Review-Url: https://codereview.webrtc.org/2694773003
> > > Cr-Commit-Position: refs/heads/master@{#16590}
> > > Committed: 9c9d95b2dc
> >
> > TBR=marpan@webrtc.org,buildbot@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/2690243002
> > Cr-Commit-Position: refs/heads/master@{#16592}
> > Committed: 02c739f4ef
>
> TBR=marpan@webrtc.org,buildbot@webrtc.org,kjellander@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/2690183005
> Cr-Commit-Position: refs/heads/master@{#16600}
> Committed: 29ea2edfe6

TBR=marpan@webrtc.org,buildbot@webrtc.org,peah@webrtc.org,kjellander@google.com
# 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/2691933005
Cr-Commit-Position: refs/heads/master@{#16610}
2017-02-14 13:00:01 +00:00
4065a5762b Move iOS tests to XCTest from gtest.
This enables tighter integration with XCode tooling and is a prereq
for adding UI tests.

BUG=webrtc:7150

Review-Url: https://codereview.webrtc.org/2697603002
Cr-Commit-Position: refs/heads/master@{#16609}
2017-02-14 12:58:56 +00:00
e374e0139b Remove VoEExternalMedia interface.
BUG=webrtc:4690

Review-Url: https://codereview.webrtc.org/2645033002
Cr-Commit-Position: refs/heads/master@{#16608}
2017-02-14 12:55:00 +00:00
4555036ce0 Roll chromium_revision 962dfbcdb2..d80d672c08 (450031:450308)
Change log: 962dfbcdb2..d80d672c08
Full diff: 962dfbcdb2..d80d672c08

Changed dependencies:
* src/base: e7ee554267..0b38c57bf3
* src/build: 11f5df6e25..a5d37780d4
* src/ios: ba6815a36f..df8916d466
* src/testing: 71872f7d70..65367d41a4
* src/third_party: 26d563eb01..66cd1bd6e4
* src/third_party/catapult: 6fa9f83f74..79fa79eb4b
* src/third_party/ffmpeg: a77cdbfeb7..38d84d205c
* src/tools: aceeebe907..f35c039ee1
DEPS diff: 962dfbcdb2..d80d672c08/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2689423002
Cr-Commit-Position: refs/heads/master@{#16607}
2017-02-14 11:51:57 +00:00
81d93f37a5 Remove the unused and untested functions from VoERTP_RTCP.
BUG=webrtc:4690

Review-Url: https://codereview.webrtc.org/2667423004
Cr-Commit-Position: refs/heads/master@{#16606}
2017-02-14 11:44:57 +00:00
0706813280 Android AppRTCMobile: Add setting for selecting H264 Baseline or High profile
BUG=webrtc:6337
R=glaznev@webrtc.org

Review-Url: https://codereview.webrtc.org/2658243002 .
Cr-Commit-Position: refs/heads/master@{#16605}
2017-02-14 11:41:35 +00:00
1f16ee38c1 Compile ios helpers on mac as well.
BUG=webrtc:5582

Review-Url: https://codereview.webrtc.org/2586433002
Cr-Commit-Position: refs/heads/master@{#16604}
2017-02-14 11:07:57 +00:00
a3b2add27d Added handling of 'agc_compression_gain' flag in audioproc_f.
The test program modules/audio_processing/test/audioproc_float.cc
defined the flag 'agc_compression_gain' and had checks if the
parameter was valid (audioproc_float). The flag was also copied to
webrtc::test::SimulationSettings of audio_processing_simulator.h. The
setting was however never applied to APM.

This change applies the setting on the GainControl submodule in the
same way as the agc_target_level is applied.

This is needed for e.g. testing the AGC fixed digital limiter with the
same configuration as it is (currently) used with in AudioMixerImpl.

Also added new flag '-experimental_agc'. This flag allows disabling the
experimental AGC, which is how the AGC is used in AudioMixerImpl.
ExperimentalAgc is enabled by default, exactly as it was prior to this change.

The change has been tested locally by listening tests and diff comparisons.

BUG=None
NOTRY=True # win_dbg bot not cooperating

Review-Url: https://codereview.webrtc.org/2684983004
Cr-Commit-Position: refs/heads/master@{#16603}
2017-02-14 10:07:49 +00:00
ad9010c983 Make sure initial framedrop is off where quality scaling is off.
BUG=chromium:689972,chromium:689915

Review-Url: https://codereview.webrtc.org/2684683004
Cr-Commit-Position: refs/heads/master@{#16602}
2017-02-14 08:46:51 +00:00
1a95e61e37 Delete httpclient.c and related files.
The files socketpool.h and diskcache.h also become unused, and are
deleted together with their sources.

BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2694753002
Cr-Commit-Position: refs/heads/master@{#16601}
2017-02-14 08:23:10 +00:00
29ea2edfe6 Reland of Roll chromium_revision 7a8b621535..962dfbcdb2 (449940:450031) (patchset #1 id:1 of https://codereview.webrtc.org/2690243002/ )
Reason for revert:
I have a fix ready for the downstream project.

Original issue's description:
> Revert of Roll chromium_revision 7a8b621535..962dfbcdb2 (449940:450031) (patchset #1 id:1 of https://codereview.webrtc.org/2694773003/ )
>
> Reason for revert:
> The libvpx roll broke an internal project
>
> Original issue's description:
> > Roll chromium_revision 7a8b621535..962dfbcdb2 (449940:450031)
> >
> > Change log: 7a8b621535..962dfbcdb2
> > Full diff: 7a8b621535..962dfbcdb2
> >
> > Changed dependencies:
> > * src/base: da9ea7c196..e7ee554267
> > * src/build: 3e5cfce8cf..11f5df6e25
> > * src/ios: aef3d8defa..ba6815a36f
> > * src/third_party: a2296b7dbc..26d563eb01
> > * src/third_party/libvpx/source/libvpx: 164db8278f..91f87e7513
> > * src/tools: 8bbd3624b9..aceeebe907
> > DEPS diff: 7a8b621535..962dfbcdb2/DEPS
> >
> > No update to Clang.
> >
> > TBR=marpan@webrtc.org,
> > BUG=None
> >
> > Review-Url: https://codereview.webrtc.org/2694773003
> > Cr-Commit-Position: refs/heads/master@{#16590}
> > Committed: 9c9d95b2dc
>
> TBR=marpan@webrtc.org,buildbot@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/2690243002
> Cr-Commit-Position: refs/heads/master@{#16592}
> Committed: 02c739f4ef

TBR=marpan@webrtc.org,buildbot@webrtc.org,kjellander@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/2690183005
Cr-Commit-Position: refs/heads/master@{#16600}
2017-02-14 07:53:19 +00:00
77282a87a1 Delete fileutils_mock.h.
It became unused in cl https://codereview.webrtc.org/2541453002/.

BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2690093002
Cr-Commit-Position: refs/heads/master@{#16599}
2017-02-14 07:21:52 +00:00
2758c664b4 Fix the build break by keeping the old Port::AddAddress method since the
downstream application depends on it.
Mark the old Port::AddAddress deprecated and will be removed after the
applications stop replying on it.

BUG=None.
R=deadbeef@webrtc.org

Review-Url: https://codereview.webrtc.org/2694103003 .
Cr-Commit-Position: refs/heads/master@{#16598}
2017-02-14 01:33:27 +00:00
c874d1296a Fixing logic for using android_setsocknetwork() with bind().
If android_setsocknetwork() is available, and it fails, then bind()
should *not* be called, and an error should be returned.

If it succeeds, then bind should be called, but with an "any" address.

This is to prevent cases where sockets are sent with a source address
that doesn't match the network interface they're sent on. See bug below.

This CL also changes "NetworkBinderResults" to an enum class, and
renames it to "NetworkBinderResult".

BUG=webrtc:7026

Review-Url: https://codereview.webrtc.org/2646863005
Cr-Commit-Position: refs/heads/master@{#16597}
2017-02-13 23:41:59 +00:00
06b7e5ce1f Add H.264 high profile to the list of supported codecs before baseline profile.
To ensure compliance with older version high profile should appear in local SDP
before baseline profile.

BUG=b/34816463

Review-Url: https://codereview.webrtc.org/2696733002
Cr-Commit-Position: refs/heads/master@{#16596}
2017-02-13 23:13:24 +00:00
b856794be7 Revert of Add the url attribute to the IceCandidate (Java Wrapper) (patchset #3 id:60001 of https://codereview.webrtc.org/2690593002/ )
Reason for revert:
Breaks downstream application's build

Original issue's description:
> 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@{#16593}
> Committed: 8586c8ee88

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

Review-Url: https://codereview.webrtc.org/2692993002
Cr-Commit-Position: refs/heads/master@{#16595}
2017-02-13 22:31:38 +00:00
f812e45d8f Handle InitDecode and reset in fallback decoder.
Makes sure video decoder software fallback handles InitDecode()
failures, and properly releases the pointer after ::Release() so that
another decode failure will properly reinitialize the decoder.

Also makes sure to not call Decode() without a previous InitDecode()
succeeding.

BUG=webrtc:7154
R=noahric@chromium.org, sophiechang@chromium.org

Review-Url: https://codereview.webrtc.org/2690183004 .
Cr-Commit-Position: refs/heads/master@{#16594}
2017-02-13 22:11:08 +00:00