18056 Commits

Author SHA1 Message Date
Sami Kalliomäki
bc061b4280 Create AndroidVideoBuffer and allow renderers to consume it.
Bug: webrtc:7760
Change-Id: I3e3fddf48090ae27b226c65ddbb51f2c3d8dc544
Reviewed-on: https://chromium-review.googlesource.com/535638
Commit-Queue: Sami Kalliomäki <sakal@webrtc.org>
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18624}
2017-06-16 08:31:37 +00:00
nisse
af99b6d67a Delete SignalSrtpError.
This became unused with cl https://codereview.webrtc.org/1362913004.

BUG=webrtc:4690,webrtc:6424

Review-Url: https://codereview.webrtc.org/2938013003
Cr-Commit-Position: refs/heads/master@{#18623}
2017-06-16 07:57:21 +00:00
buildbot
92b607b033 Roll chromium_revision 0292e51a15..2696d5a95c (479940:479974)
Change log: 0292e51a15..2696d5a95c
Full diff: 0292e51a15..2696d5a95c

Changed dependencies:
* src/ios: ef52e36808..ab0d7de938
* src/testing: 9401de6229..6534daa1c0
* src/third_party: 74108626c0..f36ef988b6
* src/tools: a210f0224e..b2918dd024
DEPS diff: 0292e51a15..2696d5a95c/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2943633002
Cr-Commit-Position: refs/heads/master@{#18622}
2017-06-16 07:17:26 +00:00
buildbot
2b6e65820e Roll chromium_revision 3a8e71c423..0292e51a15 (479885:479940)
Change log: 3a8e71c423..0292e51a15
Full diff: 3a8e71c423..0292e51a15

Changed dependencies:
* src/base: 9aa1c80983..1e6b057aa3
* src/build: 860725673e..c6f78e980d
* src/buildtools: b53a03df32..ee9c3a7088
* src/ios: 3e9ed7309b..ef52e36808
* src/testing: a05315082c..9401de6229
* src/third_party: 1fda68ced2..74108626c0
* src/tools: b7ec283409..a210f0224e
DEPS diff: 3a8e71c423..0292e51a15/DEPS

Clang version changed 305281:305462
Details: 3a8e71c423..0292e51a15/tools/clang/scripts/update.py

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2940183003
Cr-Commit-Position: refs/heads/master@{#18621}
2017-06-16 04:26:35 +00:00
buildbot
7ca9e3621f Roll chromium_revision 14085ad54d..3a8e71c423 (479854:479885)
Change log: 14085ad54d..3a8e71c423
Full diff: 14085ad54d..3a8e71c423

Changed dependencies:
* src/build: 5f623fb27f..860725673e
* src/ios: 0c74fbb8c4..3e9ed7309b
* src/testing: 41dd727981..a05315082c
* src/third_party: 0e86e3fc8c..1fda68ced2
* src/tools: 00799ac412..b7ec283409
DEPS diff: 14085ad54d..3a8e71c423/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2945523002
Cr-Commit-Position: refs/heads/master@{#18620}
2017-06-16 01:16:04 +00:00
glaznev
3fc2350ef9 Support H.264 high profile encoding on Exynos devices.
Guarded by field trial - similar to high profile encoder.
If high profile is requested, but device do not support it
then fallback to baseline profile.

BUG=b/34816463

Review-Url: https://codereview.webrtc.org/2936313002
Cr-Commit-Position: refs/heads/master@{#18619}
2017-06-15 23:24:37 +00:00
buildbot
24d00ddd8c Roll chromium_revision 3a1b0a576e..14085ad54d (479771:479854)
Change log: 3a1b0a576e..14085ad54d
Full diff: 3a1b0a576e..14085ad54d

Changed dependencies:
* src/base: b78cb90d32..9aa1c80983
* src/build: 98eab34057..5f623fb27f
* src/ios: ef7d2c2184..0c74fbb8c4
* src/testing: 791edd61bf..41dd727981
* src/third_party: dc02a65ed1..0e86e3fc8c
* src/tools: 06459a76cf..00799ac412
DEPS diff: 3a1b0a576e..14085ad54d/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2942983002
Cr-Commit-Position: refs/heads/master@{#18618}
2017-06-15 22:15:49 +00:00
zhihuang
38ede13042 Support building WebRTC without audio and video.
This CL makes the WebRTC more modular and allows the users to build
WebRTC without audio and video(DataChannel only).

The BUILD files in call/, logging/, media/ and pc/ are modified to
support modular WebRTC.

The dependencies on Call and RtcEventLog are removed from the
PeerConnection. Instead of being created internally, they would be
passed in by the PeerConnectionFactory.

Add the CreateModularPeerConnectionFactory function which allow the
users to create a PeerConnectionFactory with the modules they need.
If the users want to build WebRTC without audio and video, they can
pass in null pointers for modules they don't need. (MediaEngine,
VideoEncoderFactory etc.)

BUG=webrtc:7613

Review-Url: https://codereview.webrtc.org/2854123003
Cr-Commit-Position: refs/heads/master@{#18617}
2017-06-15 19:52:32 +00:00
buildbot
beae92c784 Roll chromium_revision 408bddbca7..3a1b0a576e (479728:479771)
Change log: 408bddbca7..3a1b0a576e
Full diff: 408bddbca7..3a1b0a576e

Changed dependencies:
* src/base: 41d0376e9c..b78cb90d32
* src/ios: 2bac6c9150..ef7d2c2184
* src/testing: f68279d633..791edd61bf
* src/third_party: 3635900a96..dc02a65ed1
* src/tools: 16f5664a2e..06459a76cf
DEPS diff: 408bddbca7..3a1b0a576e/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2939153002
Cr-Commit-Position: refs/heads/master@{#18616}
2017-06-15 19:21:41 +00:00
buildbot
65f3150412 Roll chromium_revision 5cda18fb97..408bddbca7 (479679:479728)
Change log: 5cda18fb97..408bddbca7
Full diff: 5cda18fb97..408bddbca7

Changed dependencies:
* src/base: ba13298ff1..41d0376e9c
* src/ios: 70777e4ddd..2bac6c9150
* src/third_party: 612558a7a0..3635900a96
DEPS diff: 5cda18fb97..408bddbca7/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2938223002
Cr-Commit-Position: refs/heads/master@{#18615}
2017-06-15 16:45:43 +00:00
philipel
112adf9ca9 Validate references of frames inserted into FrameBuffer2.
BUG=chromium:730603

Review-Url: https://codereview.webrtc.org/2937243002
Cr-Commit-Position: refs/heads/master@{#18614}
2017-06-15 16:06:21 +00:00
deadbeef
eb02c03a53 Allow WebRtcMediaEngine to be created from any thread.
This eliminates a thread hop in PeerConnectionFactory initialization,
and will allow some code to be simplified.

BUG=None

Review-Url: https://codereview.webrtc.org/2934103002
Cr-Commit-Position: refs/heads/master@{#18613}
2017-06-15 15:29:25 +00:00
buildbot
d03a578333 Roll chromium_revision 47f5ca5642..5cda18fb97 (479659:479679)
Change log: 47f5ca5642..5cda18fb97
Full diff: 47f5ca5642..5cda18fb97

Changed dependencies:
* src/testing: 4f3319b4e6..f68279d633
* src/third_party: b6191cc560..612558a7a0
* src/tools: 85ec479bb3..16f5664a2e
DEPS diff: 47f5ca5642..5cda18fb97/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2935353003
Cr-Commit-Position: refs/heads/master@{#18612}
2017-06-15 13:53:01 +00:00
sprang
67561a6411 Use the same QP max for tests as in production
BUG=webrtc:7664

Review-Url: https://codereview.webrtc.org/2941023002
Cr-Commit-Position: refs/heads/master@{#18611}
2017-06-15 13:34:42 +00:00
sprang
fda496a31e Set overuse detector max frame interval based on target frame rate.
Currently there is a hard limit for the estimated captured frame
interval of 45ms. As the encoder utilization is calculated as
(input frame interval)/(encode time), overuse signals can be triggered
even though there is plenty of time to go around if the fps is low.

However, in order to avoid falsly estimating low encode usage in case
the capturer has a dynamic frame rate, set the frame interval based on
the actual current max framerate.

BUG=webrtc:4172

Review-Url: https://codereview.webrtc.org/2918143003
Cr-Commit-Position: refs/heads/master@{#18610}
2017-06-15 11:21:07 +00:00
alessiob
19e087fc91 This CL finalizes the Conversational Speech tool.
The following changes have been made:
- command line args wired,
- user output added,
- final polishing.

BUG=webrtc:7218

Review-Url: https://codereview.webrtc.org/2808053002
Cr-Commit-Position: refs/heads/master@{#18609}
2017-06-15 10:49:57 +00:00
buildbot
b2152b7b61 Roll chromium_revision 5423b19357..47f5ca5642 (479628:479659)
Change log: 5423b19357..47f5ca5642
Full diff: 5423b19357..47f5ca5642

Changed dependencies:
* src/build: 3ab6155577..98eab34057
* src/ios: cb870785e5..70777e4ddd
* src/third_party: f3851f9e1f..b6191cc560
DEPS diff: 5423b19357..47f5ca5642/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2934303004
Cr-Commit-Position: refs/heads/master@{#18608}
2017-06-15 10:33:17 +00:00
Henrik Lundin
6af9399117 ACM: Make AcmReceiver's ownership of NetEq more obvious
Bug: None
Change-Id: Iff544940fcbd651c967771c209c8c0c3aaeda9a1
Reviewed-on: https://chromium-review.googlesource.com/533073
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18607}
2017-06-15 10:11:07 +00:00
alessiob
f9784f23d7 Reland of Conversational speech tool, simualtor + unit tests (patchset #1 id:1 of https://codereview.webrtc.org/2925123003/ )
Reason for revert:
Build file causing google3 compilation error fixed

Original issue's description:
> Revert of Conversational speech tool, simualtor + unit tests (patchset #12 id:220001 of https://codereview.webrtc.org/2790933002/ )
>
> Reason for revert:
> Compile Error.
>
> Original issue's description:
> > The simulator puts into action the schedule of speech turns encoded in a MultiEndCall instance. The output is a set of audio track pairs. There is one set for each speaker and each set contains one near-end and one far-end audio track. The tracks are directly written into wav files instead of creating them in memory. To speed up the creation of the output wav files, *all* the source audio tracks (i.e., the atomic speech turns) are pre-loaded.
> >
> > The ConversationalSpeechTest.MultiEndCallSimulator unit test defines a conversational speech sequence and creates two wav files (with pure tones at 440 and 880 Hz) that are used as atomic speech turn tracks.
> >
> > This CL also patches MultiEndCall in order to allow input audio tracks with same sample rate and single channel only.
> >
> > BUG=webrtc:7218
> >
> > Review-Url: https://codereview.webrtc.org/2790933002
> > Cr-Commit-Position: refs/heads/master@{#18480}
> > Committed: 6b648c4697
>
> TBR=minyue@webrtc.org,alessiob@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:7218
>
> Review-Url: https://codereview.webrtc.org/2925123003
> Cr-Commit-Position: refs/heads/master@{#18481}
> Committed: 4c72cf43df

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

Review-Url: https://codereview.webrtc.org/2930853002
Cr-Commit-Position: refs/heads/master@{#18606}
2017-06-15 09:24:59 +00:00
aleloi
f4dd191b28 Change existing aec dump tests to use webrtc::AecDump.
Currently the debug dump functionality of WebRTC (a log of all
AudioProcessing operations) was tested by the following tests:

1. ApmTest.VerifyDebugDump* which configures and runs AudioProcessing
   from a debug dump, and verifies that the same debug dump is
   recorded.
2. DebugDumpTest.* which is a comprehensive test of the debug dump
   operations. AudioProcessing configuration is changed, and the dump
   is scanned for the change.
3. ApmTest::{DebugDump, DebugDumpFromFileHandle} that verify that
   debug dumping can be started and files written.

This CL replaces the debug dump mechanism in all these tests to
webrtc::AecDump. Some of the tests are adapted to the chenges of the
new API to AecDump {Start,Stop}DebugRecording: the old functions
signal errors when a file cannot be opened. With AecDump, the
AecDumpFactory instead returns a nullptr.

The CL also changes audioproc_f to use AecDump.

BUG=webrtc:7404

Review-Url: https://codereview.webrtc.org/2864373002
Cr-Commit-Position: refs/heads/master@{#18605}
2017-06-15 08:55:38 +00:00
buildbot
af66f2ca8a Roll chromium_revision c4920d627d..5423b19357 (479593:479628)
Change log: c4920d627d..5423b19357
Full diff: c4920d627d..5423b19357

Changed dependencies:
* src/ios: 15631ba5b8..cb870785e5
* src/testing: 7fcb49efdc..4f3319b4e6
* src/third_party: c6002e6240..f3851f9e1f
DEPS diff: c4920d627d..5423b19357/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2938823004
Cr-Commit-Position: refs/heads/master@{#18604}
2017-06-15 07:19:12 +00:00
buildbot
08cfc84278 Roll chromium_revision e7ba6263e5..c4920d627d (479563:479593)
Change log: e7ba6263e5..c4920d627d
Full diff: e7ba6263e5..c4920d627d

Changed dependencies:
* src/build: 6888c3a12f..3ab6155577
* src/testing: b635b7d0bd..7fcb49efdc
* src/third_party: b63b1205f3..c6002e6240
* src/tools: 0e051e864b..85ec479bb3
DEPS diff: e7ba6263e5..c4920d627d/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2942823002
Cr-Commit-Position: refs/heads/master@{#18603}
2017-06-15 04:12:20 +00:00
buildbot
24b60ef75c Roll chromium_revision 6dec5dff0b..e7ba6263e5 (479516:479563)
Change log: 6dec5dff0b..e7ba6263e5
Full diff: 6dec5dff0b..e7ba6263e5

Changed dependencies:
* src/base: 794c77e4b8..ba13298ff1
* src/ios: 21f784b249..15631ba5b8
* src/testing: 3dfd290405..b635b7d0bd
* src/third_party: a2b95d39bf..b63b1205f3
* src/third_party/catapult: c9212cbf52..59a182b2a6
* src/tools: 12b6c41394..0e051e864b
DEPS diff: 6dec5dff0b..e7ba6263e5/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2942813002
Cr-Commit-Position: refs/heads/master@{#18602}
2017-06-15 01:17:20 +00:00
buildbot
f7f6572d59 Roll chromium_revision 4062088042..6dec5dff0b (479467:479516)
Change log: 4062088042..6dec5dff0b
Full diff: 4062088042..6dec5dff0b

Changed dependencies:
* src/base: 7c03bea747..794c77e4b8
* src/build: 6aeb18a7f5..6888c3a12f
* src/ios: 4dc3384ca8..21f784b249
* src/testing: 524f3fb227..3dfd290405
* src/third_party: 72c6bc47a4..a2b95d39bf
* src/third_party/catapult: 597f96ee44..c9212cbf52
* src/tools: c2188161c3..12b6c41394
DEPS diff: 4062088042..6dec5dff0b/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2938053002
Cr-Commit-Position: refs/heads/master@{#18601}
2017-06-14 22:19:33 +00:00
buildbot
4d2e0a874b Roll chromium_revision 78764cfda4..4062088042 (479277:479467)
Change log: 78764cfda4..4062088042
Full diff: 78764cfda4..4062088042

Changed dependencies:
* src/base: 93284c5072..7c03bea747
* src/ios: a3fcf113d1..4dc3384ca8
* src/testing: 45823c179e..524f3fb227
* src/third_party: bb1a23cc9a..72c6bc47a4
* src/tools: 0c5cd7a92e..c2188161c3
DEPS diff: 78764cfda4..4062088042/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2942733002
Cr-Commit-Position: refs/heads/master@{#18600}
2017-06-14 19:57:21 +00:00
zstein
a5e0df6438 Move MinPositive to call.h as discussed here: https://codereview.chromium.org/2888303005/#msg19
TBR=stefan@webrtc.org
BUG=webrtc:7395

Review-Url: https://codereview.webrtc.org/2924393002
Cr-Commit-Position: refs/heads/master@{#18599}
2017-06-14 18:41:48 +00:00
kjellander
23bc51bd87 Reland of ll chromium_revision 05ba7bc226..78764cfda4 (479231:479277) (patchset #1 id:1 of https://codereview.webrtc.org/2939903002/ )
Reason for revert:
The failing perf test is likely fixed in https://codereview.webrtc.org/2935263002

Original issue's description:
> Revert of Roll chromium_revision 05ba7bc226..78764cfda4 (479231:479277) (patchset #1 id:1 of https://codereview.webrtc.org/2936153002/ )
>
> Reason for revert:
> Do not spam devs with confusing errors.
>
> This is caused by a chromium change that affects our android perf bots.
>
> Original issue's description:
> > Roll chromium_revision 05ba7bc226..78764cfda4 (479231:479277)
> >
> > Change log: 05ba7bc226..78764cfda4
> > Full diff: 05ba7bc226..78764cfda4
> >
> > Changed dependencies:
> > * src/build: 4280b28b9a..6aeb18a7f5
> > * src/ios: 0dceaea435..a3fcf113d1
> > * src/third_party: 02c59642df..bb1a23cc9a
> > * src/third_party/gtest-parallel: 886cbd9635..6fb62e80ac
> > * src/tools: d27b3e5170..0c5cd7a92e
> > DEPS diff: 05ba7bc226..78764cfda4/DEPS
> >
> > No update to Clang.
> >
> > TBR=
> > BUG=None
> >
> > Review-Url: https://codereview.webrtc.org/2936153002
> > Cr-Commit-Position: refs/heads/master@{#18581}
> > Committed: b7d6015529
>
> TBR=buildbot@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=chromium:733108
>
> Review-Url: https://codereview.webrtc.org/2939903002
> Cr-Commit-Position: refs/heads/master@{#18584}
> Committed: 58c5a7d4ac

TBR=buildbot@webrtc.org,mbonadei@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:733108

Review-Url: https://codereview.webrtc.org/2936243002
Cr-Commit-Position: refs/heads/master@{#18598}
2017-06-14 18:06:42 +00:00
Magnus Jedvert
62faaabce9 Android: Add functionality for wrapping C++ I420 buffers to Java
This functionality is needed when sending C++ I420 buffers to Java
VideoSinks or Java encoders.

Bug: webrtc:7749
Change-Id: Ied783470b90b9d2e0cb5930795f35de4a296d499
Reviewed-on: https://chromium-review.googlesource.com/532961
Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18597}
2017-06-14 17:37:15 +00:00
glaznev
cca0f6cc68 Support H.264 high profile decoding on Exynos devices.
Tested on Galaxy S5, S6, S7 and S8

BUG=b/34816463

Review-Url: https://codereview.webrtc.org/2942463002
Cr-Commit-Position: refs/heads/master@{#18596}
2017-06-14 17:20:54 +00:00
oprypin
4f1f458a14 Also scan stderr for audio files to test, due to change in Android test_runner
BUG=chromium:733108
NOTRY=True

Review-Url: https://codereview.webrtc.org/2935263002
Cr-Commit-Position: refs/heads/master@{#18595}
2017-06-14 16:35:11 +00:00
Magnus Jedvert
386e49690a Revert "Revert "Update webrtc/sdk/objc to new VideoFrameBuffer interface""
This reverts commit 5b383c0ebd586b973d6bf14624cece61d2fc590c.

Reason for revert: External code updated.

Original change's description:
> Revert "Update webrtc/sdk/objc to new VideoFrameBuffer interface"
> 
> This reverts commit b008b45f1e609556a04c1aabb4e8ed6a894265af.
> 
> Reason for revert: Breaks external clients.
> 
> Original change's description:
> > Update webrtc/sdk/objc to new VideoFrameBuffer interface
> > 
> > More thorough refactoring work is planned for RTCVideoFrame (see webrtc:7785), and this CL just unblocks removing the old interface from webrtc::VideoFrameBuffer.
> > 
> > Bug: webrtc:7632,webrtc:7785
> > Change-Id: I351536c5ca454c2acd8944bbc2ebb1d1439dc50c
> > Reviewed-on: https://chromium-review.googlesource.com/530231
> > Reviewed-by: Anders Carlsson <andersc@webrtc.org>
> > Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
> > Cr-Commit-Position: refs/heads/master@{#18553}
> 
> TBR=magjed@webrtc.org,andersc@webrtc.org
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: webrtc:7632,webrtc:7785
> 
> Change-Id: Ib5c6fcb939175c67c3ac7b3df7cea0f7c2bb0af0
> Reviewed-on: https://chromium-review.googlesource.com/533013
> Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
> Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#18557}

TBR=tterriberry@mozilla.com,magjed@webrtc.org,webrtc-reviews@webrtc.org,andersc@webrtc.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: webrtc:7632, webrtc:7785
Change-Id: I8d37428d093486b52e05e9c5992382247049ff61
Reviewed-on: https://chromium-review.googlesource.com/535645
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Reviewed-by: Anders Carlsson <andersc@webrtc.org>
Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18594}
2017-06-14 14:57:39 +00:00
Sami Kalliomäki
26ecfcc1c1 Remove timeStampMs from EncodedImage.
This field shouldn't have been in the class in the first place.

Bug: webrtc:7760
Change-Id: If3c1d24f18a643249da1ed072bdfe06a37a7da12
Reviewed-on: https://chromium-review.googlesource.com/535539
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Commit-Queue: Sami Kalliomäki <sakal@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18593}
2017-06-14 14:23:46 +00:00
henrik.lundin
4eccdaa314 Fix a numerical issue in NetEq delay plotting
Imprecisions in floating point representation caused noise in the
graphs. The integer division is in fact exact.

BUG= webrtc:7467

Review-Url: https://codereview.webrtc.org/2933053002
Cr-Commit-Position: refs/heads/master@{#18592}
2017-06-14 14:02:17 +00:00
Magnus Jedvert
7a721e84f8 Update webrtc/media and webrtc/modules to new VideoFrameBuffer interface
TBR=stefan

Bug: webrtc:7632
Change-Id: Ifdaf4a591061595a53f677441baad85820336b34
Reviewed-on: https://chromium-review.googlesource.com/530844
Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18591}
2017-06-14 13:46:38 +00:00
henrik.lundin
3c938fc5ea Add NetEq delay plotting to event_log_visualizer
This CL adds the capability to analyze and plot how NetEq behaves in
response to a network trace.

BUG=webrtc:7467

Review-Url: https://codereview.webrtc.org/2876423002
Cr-Commit-Position: refs/heads/master@{#18590}
2017-06-14 13:09:58 +00:00
asapersson
3c81a1afd8 Add field trial for balanced degradation preference.
BUG=webrtc:7607

Review-Url: https://codereview.webrtc.org/2923563002
Cr-Commit-Position: refs/heads/master@{#18589}
2017-06-14 12:52:21 +00:00
Henrik Lundin
c417d9e558 NetEq: Removing LastError and LastDecoderError
LastDecoderError was only used in tests. LastError was only used in
conjunction with RemovePayloadType, and always to distinguish between
"decoder not found" and "other error". In AcmReceiver, "decoder not
found" was not treated as an error.

With this change, calling NetEq::RemovePayloadType with a payload type
that is not registered is no longer considered to be an error. This
allows to rewrite the code in AcmReceiver, such that it no longer has
to call LastError.

The internal member variables NetEqImpl::error_code_ and
NetEqImpl::decoder_error_code_ are removed, since they were no longer
read.

Bug: none
Change-Id: Ibfe97265954a2870c3caea4a34aac958351d7ff1
Reviewed-on: https://chromium-review.googlesource.com/535533
Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18588}
2017-06-14 12:06:24 +00:00
kwiberg
2b3aa14ee2 Fix Chromium style checker warnings for MockAudioDecoder
BUG=webrtc:5805

Review-Url: https://codereview.webrtc.org/2934143003
Cr-Commit-Position: refs/heads/master@{#18587}
2017-06-14 10:31:17 +00:00
kwiberg
96444aecfc Implement operator<< for AudioCodecInfo and AudioCodecSpec
I keep having to re-write these whenever I'm debugging.

BUG=webrtc:5806

Review-Url: https://codereview.webrtc.org/2936533003
Cr-Commit-Position: refs/heads/master@{#18586}
2017-06-14 10:27:40 +00:00
terelius
6c4ba9f77d Plot acknowledged bitrate when compiled with rtc_enable_bwe_test_logging.
Change plotting of detector state from offset and gamma to T and threshold.

BUG=None

Review-Url: https://codereview.webrtc.org/2933243003
Cr-Commit-Position: refs/heads/master@{#18585}
2017-06-14 09:41:59 +00:00
mbonadei
58c5a7d4ac Revert of Roll chromium_revision 05ba7bc226..78764cfda4 (479231:479277) (patchset #1 id:1 of https://codereview.webrtc.org/2936153002/ )
Reason for revert:
Do not spam devs with confusing errors.

This is caused by a chromium change that affects our android perf bots.

Original issue's description:
> Roll chromium_revision 05ba7bc226..78764cfda4 (479231:479277)
>
> Change log: 05ba7bc226..78764cfda4
> Full diff: 05ba7bc226..78764cfda4
>
> Changed dependencies:
> * src/build: 4280b28b9a..6aeb18a7f5
> * src/ios: 0dceaea435..a3fcf113d1
> * src/third_party: 02c59642df..bb1a23cc9a
> * src/third_party/gtest-parallel: 886cbd9635..6fb62e80ac
> * src/tools: d27b3e5170..0c5cd7a92e
> DEPS diff: 05ba7bc226..78764cfda4/DEPS
>
> No update to Clang.
>
> TBR=
> BUG=None
>
> Review-Url: https://codereview.webrtc.org/2936153002
> Cr-Commit-Position: refs/heads/master@{#18581}
> Committed: b7d6015529

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

Review-Url: https://codereview.webrtc.org/2939903002
Cr-Commit-Position: refs/heads/master@{#18584}
2017-06-14 06:32:45 +00:00
asapersson
f7e294d568 Implement kBalanced degradation preference.
A balance of framerate reduction and resolution down-scaling is used on degrades.

BUG=webrtc:7607

Review-Url: https://codereview.webrtc.org/2887303003
Cr-Commit-Position: refs/heads/master@{#18583}
2017-06-14 06:25:22 +00:00
tschumim
b749e5e1f5 Fix for broken test BweFeedbackTest.
BUG=webrtc:7746

Review-Url: https://codereview.webrtc.org/2930323004
Cr-Commit-Position: refs/heads/master@{#18582}
2017-06-14 05:58:21 +00:00
buildbot
b7d6015529 Roll chromium_revision 05ba7bc226..78764cfda4 (479231:479277)
Change log: 05ba7bc226..78764cfda4
Full diff: 05ba7bc226..78764cfda4

Changed dependencies:
* src/build: 4280b28b9a..6aeb18a7f5
* src/ios: 0dceaea435..a3fcf113d1
* src/third_party: 02c59642df..bb1a23cc9a
* src/third_party/gtest-parallel: 886cbd9635..6fb62e80ac
* src/tools: d27b3e5170..0c5cd7a92e
DEPS diff: 05ba7bc226..78764cfda4/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2936153002
Cr-Commit-Position: refs/heads/master@{#18581}
2017-06-14 04:17:34 +00:00
buildbot
7dce727c88 Roll chromium_revision 53ecf9341f..05ba7bc226 (479165:479231)
Change log: 53ecf9341f..05ba7bc226
Full diff: 53ecf9341f..05ba7bc226

Changed dependencies:
* src/base: d8f33f6f9a..93284c5072
* src/build: 4ec7192641..4280b28b9a
* src/ios: a3c6927b59..0dceaea435
* src/testing: 5070b0cc57..45823c179e
* src/third_party: 752a09c693..02c59642df
* src/third_party/gtest-parallel: 38b08579e2..886cbd9635
* src/tools: c3eb54364c..d27b3e5170
DEPS diff: 53ecf9341f..05ba7bc226/DEPS

Clang version changed 303910:305281
Details: 53ecf9341f..05ba7bc226/tools/clang/scripts/update.py

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2938753002
Cr-Commit-Position: refs/heads/master@{#18580}
2017-06-14 01:25:48 +00:00
Bjorn Mellem
6eb03b81bb Remove dependency on gunit headers in virtualsocketserver.
BUG=7810

Change-Id: I66d9aeaca2dd81c20f78052a15ea3680e23a1501
Reviewed-on: https://chromium-review.googlesource.com/534354
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Commit-Queue: Taylor Brandstetter <deadbeef@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18579}
2017-06-14 00:13:53 +00:00
deadbeef
1ee2125909 Adding PortAllocator option to support cases where sockets can't be bound.
This CL adds the flag "PORTALLOCATOR_ENABLE_ANY_ADDRESS_PORTS", which will
force the creation of ports not bound to any specific network interface.
These are normally only used when network enumeration fails or is disabled,
but in some circumstances (such as the one the test case adds), they're the
only thing that works.

This will result in extra ports being gathered, which is why it's only enabled
behind a flag for now. In the future, we could probably introduce more
sophisticated "pruning" logic that would lessen the impact of the extra ports
when they're redundant, and make the flag the default.

Some other minor changes that were required to make this use case work:

* Allow a TCPPort to be used for outgoing connections even if it tries and
  fails to create a server socket.
* Allow Bind to fail if being called before Connect, and the IP is an "any"
  address (0.0.0.0 or ::), since this bind would have been mostly pointless
  anyway.
* Prevent P2PTransprotChannel from keeping a "backup" candidate pair using
  an "any address" network; we only want this for actual networks.

BUG=webrtc:7798

Review-Url: https://codereview.webrtc.org/2936553003
Cr-Commit-Position: refs/heads/master@{#18578}
2017-06-13 22:49:45 +00:00
buildbot
1d560e1b9a Roll chromium_revision 4ddaa6f836..53ecf9341f (479034:479165)
Change log: 4ddaa6f836..53ecf9341f
Full diff: 4ddaa6f836..53ecf9341f

Changed dependencies:
* src/base: 9065c05020..d8f33f6f9a
* src/build: 7bbbe6d626..4ec7192641
* src/ios: cb20f6fa1b..a3c6927b59
* src/third_party: 03637baa34..752a09c693
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/f6584e7a52..c07635f869
* src/third_party/catapult: deb2d7670a..597f96ee44
* src/third_party/libvpx/source/libvpx: ff42e04f9c..4f9d852759
* src/tools: 5d8f282f6d..c3eb54364c
DEPS diff: 4ddaa6f836..53ecf9341f/DEPS

No update to Clang.

TBR=marpan@webrtc.org,
BUG=None

Review-Url: https://codereview.webrtc.org/2937793002
Cr-Commit-Position: refs/heads/master@{#18577}
2017-06-13 22:24:21 +00:00
zstein
179f997307 Remove DCHECK from PeerConnectionFactory::worker_thread.
PeerConnection::SetBitrate calls PeerConnectionFactory::worker_thread
from multiple threads, so it was triggering the DCHECK. However, the
worker thread never changes after construction, so worker_thread should
be safe to call from multiple threads.

BUG=NONE

Review-Url: https://codereview.webrtc.org/2923953004
Cr-Commit-Position: refs/heads/master@{#18576}
2017-06-13 22:01:49 +00:00
glaznev
da4eba1e0a Tune vp9 quality scaler parameters
BUG=webrtc:7662

Review-Url: https://codereview.webrtc.org/2939573002
Cr-Commit-Position: refs/heads/master@{#18575}
2017-06-13 18:34:49 +00:00