Commit Graph

18056 Commits

Author SHA1 Message Date
c8cac10b83 Roll chromium_revision 632b145c0e..5a101abbe0 (478512:478513)
Change log: 632b145c0e..5a101abbe0
Full diff: 632b145c0e..5a101abbe0

Changed dependencies:
* src/ios: 6756693603..d09a2e4fb8
* src/third_party: e21d629997..95793080b4
DEPS diff: 632b145c0e..5a101abbe0/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2932963002
Cr-Commit-Position: refs/heads/master@{#18524}
2017-06-10 10:12:06 +00:00
7e120eb262 Roll chromium_revision 8e89b0b1a1..632b145c0e (478506:478512)
Change log: 8e89b0b1a1..632b145c0e
Full diff: 8e89b0b1a1..632b145c0e

Changed dependencies:
* src/third_party: d466a5cca3..e21d629997
* src/tools: 8ca412b1f1..8f539fc78d
DEPS diff: 8e89b0b1a1..632b145c0e/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2933703002
Cr-Commit-Position: refs/heads/master@{#18523}
2017-06-10 07:19:59 +00:00
d0fa397a58 Roll chromium_revision 999a40e458..8e89b0b1a1 (478482:478506)
Change log: 999a40e458..8e89b0b1a1
Full diff: 999a40e458..8e89b0b1a1

Changed dependencies:
* src/testing: 94a899c443..9c7fe7afca
* src/third_party: cdc20cc13d..d466a5cca3
* src/third_party/catapult: 4ef4b9509f..36e1cdaf2d
* src/tools: 1818b91d9b..8ca412b1f1
DEPS diff: 999a40e458..8e89b0b1a1/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2932203002
Cr-Commit-Position: refs/heads/master@{#18522}
2017-06-10 04:21:12 +00:00
ad3a02974f Roll chromium_revision 1b59498f08..999a40e458 (478431:478482)
Change log: 1b59498f08..999a40e458
Full diff: 1b59498f08..999a40e458

Changed dependencies:
* src/base: 5cbffc1606..e8041a52f9
* src/ios: 83e4980295..6756693603
* src/testing: cfc265bda1..94a899c443
* src/third_party: ed794e161c..cdc20cc13d
* src/third_party/catapult: 1ffc3ed052..4ef4b9509f
* src/tools: 200c6c44fc..1818b91d9b
DEPS diff: 1b59498f08..999a40e458/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2934683003
Cr-Commit-Position: refs/heads/master@{#18521}
2017-06-10 01:16:17 +00:00
995bad0eb5 Roll chromium_revision 524fdc6e30..1b59498f08 (478357:478431)
Change log: 524fdc6e30..1b59498f08
Full diff: 524fdc6e30..1b59498f08

Changed dependencies:
* src/base: e7a855a044..5cbffc1606
* src/build: aada46c50b..7e9e29ea27
* src/ios: ca1b97777c..83e4980295
* src/testing: c7e1fe6b45..cfc265bda1
* src/third_party: 4d1b8bf1ad..ed794e161c
* src/tools: f1cf6d07aa..200c6c44fc
DEPS diff: 524fdc6e30..1b59498f08/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2932143002
Cr-Commit-Position: refs/heads/master@{#18520}
2017-06-09 22:23:06 +00:00
c131bf944e Enable webrtc_nonparallel_tests on iOS simulator
After landing https://chromium-review.googlesource.com/528173
only one test needs to be disabled: VirtualSocketServerTest.delay_v4

BUG=webrtc:7727
NOTRY=True
TESTED=gn gen out/x64-Debug --args='target_os="ios" ios_enable_code_signing=false is_component_build=false target_cpu="x64"'
ninja -C out/x64-Debug webrtc_nonparallel_tests
out/x64-Debug/iossim -d "iPhone 6s" -s 10.3 out/x64-Debug/webrtc_nonparallel_tests.app

Review-Url: https://codereview.webrtc.org/2909073002
Cr-Commit-Position: refs/heads/master@{#18519}
2017-06-09 19:59:11 +00:00
b82487b19a Roll chromium_revision f7c1799c98..524fdc6e30 (478294:478357)
Change log: f7c1799c98..524fdc6e30
Full diff: f7c1799c98..524fdc6e30

Changed dependencies:
* src/base: 54a92c2d79..e7a855a044
* src/ios: 22d6f1f3d6..ca1b97777c
* src/testing: c4d68a924e..c7e1fe6b45
* src/third_party: faf429c14e..4d1b8bf1ad
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/d91e1efd83..f6584e7a52
* src/third_party/catapult: 93941b45f0..1ffc3ed052
* src/tools: ca3ebdfd38..f1cf6d07aa
DEPS diff: f7c1799c98..524fdc6e30/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2932873002
Cr-Commit-Position: refs/heads/master@{#18518}
2017-06-09 19:19:26 +00:00
be767e0f7a Remove default impl of Attach/DetachAecDump.
The default implementations of AudioProcessing::{AttachAecDump,
DetachAecDump} are removed and audio_processing.cc is decoupled from
aec_dump.h. After this CL, the two methods are pure virtual. The
default implementations were added because doing otherwise would break
internal projects.

Bug: webrtc:7404
Change-Id: If94f60aeefe4ad1eefed3744f857692cc645bdf4
Reviewed-on: https://chromium-review.googlesource.com/528132
Commit-Queue: Alex Loiko <aleloi@google.com>
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18517}
2017-06-09 17:18:31 +00:00
12149bd5c7 Roll chromium_revision 06a62c1231..f7c1799c98 (478256:478294)
Change log: 06a62c1231..f7c1799c98
Full diff: 06a62c1231..f7c1799c98

Changed dependencies:
* src/build: aa821bdef5..aada46c50b
* src/ios: 4c1e0a9162..22d6f1f3d6
* src/testing: f7041d72dc..c4d68a924e
* src/third_party: d3c90e6626..faf429c14e
* src/third_party/catapult: 32bdd96094..93941b45f0
* src/tools: 5db04d91fd..ca3ebdfd38
DEPS diff: 06a62c1231..f7c1799c98/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2931103002
Cr-Commit-Position: refs/heads/master@{#18516}
2017-06-09 16:20:29 +00:00
76d29f9bf8 Fix Channel::GetSendCodec when used together with SetEncoder.
When using the SetEncoder interface, there's no actual CodecInst to return from Channel::GetSendCodec. Before this CL, this was done by calling the ACM, which has functionality for generating a CodecInst with the necessary values even when handed an external encoder. Unfortunately, this call takes a lock and does some extra processing which isn't strictly necessary in this case. Since GetSendCodec is called inside the audio input callback code, this can cause problems.

This CL instead generates a CodecInst in the SetEncoder call and has GetSendCodec simply return that one if it's available. If it isn't the value from codec_manager_ is returned instead, as was the case before injectable audio codec related changes were added to Channel.

BUG=b/38018041

Review-Url: https://codereview.webrtc.org/2924363004
Cr-Commit-Position: refs/heads/master@{#18515}
2017-06-09 14:30:13 +00:00
7fdd0676f9 Roll chromium_revision f8c224c31c..06a62c1231 (478239:478256)
Change log: f8c224c31c..06a62c1231
Full diff: f8c224c31c..06a62c1231

Changed dependencies:
* src/base: eeb06443b2..54a92c2d79
* src/ios: cad63672e9..4c1e0a9162
* src/third_party: 45844bd1ab..d3c90e6626
DEPS diff: f8c224c31c..06a62c1231/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2935453002
Cr-Commit-Position: refs/heads/master@{#18514}
2017-06-09 13:31:21 +00:00
461c94054a ObjC: Rename VideoToolbox/decoder.cc to VideoToolbox/decoder.mm
This decoder is only used for iOS/Mac and it will simplify to make it
ObjC++ instead of C++, similar to how the encoder is .mm already.

Bug: None
Change-Id: I13f62f018432e9c23e7277eea29258a73e1590e1
Reviewed-on: https://chromium-review.googlesource.com/529084
Reviewed-by: Kári Tristan Helgason <kthelgason@webrtc.org>
Reviewed-by: Anders Carlsson <andersc@webrtc.org>
Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18513}
2017-06-09 13:25:25 +00:00
b4ab381ce3 Use the configured remote ssrc instead of relying on the first received packet RtpStreamReceiver.
This solves an issue where if the first packet happens to be an RTX packet, it is recovered with an incorrect SSRC.

BUG=webrtc:5654

Review-Url: https://codereview.webrtc.org/2928123002
Cr-Commit-Position: refs/heads/master@{#18512}
2017-06-09 13:12:11 +00:00
fee994c367 Ensure the openGLContext is current before trying to reshape the viewport
Make sure to call ensureGLContext before calling OpenGL functions

BUG=webrtc:7751

Review-Url: https://codereview.webrtc.org/2916583005
Cr-Commit-Position: refs/heads/master@{#18511}
2017-06-09 12:16:10 +00:00
b1f2ff900e Rename class RtpStreamReceiver --> RtpVideoStreamReceiver.
This class is video-specific, and we want to free the name
"RtpStreamReceiver" so it can be reused for a media-independent RTP
receive class.

Also renames related files.

BUG=webrtc:7135

Review-Url: https://codereview.webrtc.org/2926253002
Cr-Commit-Position: refs/heads/master@{#18510}
2017-06-09 11:01:55 +00:00
e2baffb055 Create a UIApplication when running tests on iOS.
Fix issue where running tests on iOS would get killed after a certain
time had passed. This seems to be due to springboard killing apps
that don't have a GUI running. Creating a UIApplication to wrap
the test suite seems to solve this problem in chromium.

This CL adds a class for this purpose. Most of the code was copied
from chromium with bits taken out.

Bug: webrtc:7161, webrtc:7758
Change-Id: I10f9bc8914e73f2870a9b0a2703cde496af8db2f
Reviewed-on: https://chromium-review.googlesource.com/528173
Reviewed-by: Henrik Andreasson <henrika@webrtc.org>
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Reviewed-by: Henrik Kjellander <kjellander@webrtc.org>
Commit-Queue: Kári Tristan Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18509}
2017-06-09 10:24:33 +00:00
fae6d09c3b Roll chromium_revision 74ece38823..f8c224c31c (478141:478239)
Change log: 74ece38823..f8c224c31c
Full diff: 74ece38823..f8c224c31c

Changed dependencies:
* src/base: d829f1429f..eeb06443b2
* src/build: 41581bcc04..aa821bdef5
* src/buildtools: 31d4daad5d..b53a03df32
* src/ios: 37d0202d4e..cad63672e9
* src/testing: 06c471c46b..f7041d72dc
* src/third_party: aff206f35d..45844bd1ab
* src/tools: 8e86a4166f..5db04d91fd
DEPS diff: 74ece38823..f8c224c31c/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2931853003
Cr-Commit-Position: refs/heads/master@{#18508}
2017-06-09 10:16:21 +00:00
85dcaea40b Roll chromium_revision 423c0eff45..74ece38823 (478099:478141)
Change log: 423c0eff45..74ece38823
Full diff: 423c0eff45..74ece38823

Changed dependencies:
* src/base: f085afce9c..d829f1429f
* src/build: f34c461c7a..41581bcc04
* src/ios: 476af8ac4a..37d0202d4e
* src/testing: 16ae183618..06c471c46b
* src/third_party: c3a8f57168..aff206f35d
* src/tools: 926ad330b9..8e86a4166f
DEPS diff: 423c0eff45..74ece38823/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2932023002
Cr-Commit-Position: refs/heads/master@{#18507}
2017-06-09 07:42:58 +00:00
6baee78bc9 Add missing #include <cerrno> in string_to_number.cc
One of our toolchains does not expose |errno| in the global namespace.

BUG=none

Review-Url: https://codereview.webrtc.org/2926273002
Cr-Commit-Position: refs/heads/master@{#18506}
2017-06-08 23:38:40 +00:00
46537a3879 Avoiding cascaded software echo cancellers
This CL ensures that it is not possible to run several echo canceller
solutions in cascade inside the audio processing module.

Bug: webrtc:7776
Change-Id: I1777f97aeacb8cdf5c6c3be4bf13eefcde7d69fb
Reviewed-on: https://chromium-review.googlesource.com/527053
Reviewed-by: Alex Loiko <aleloi@webrtc.org>
Commit-Queue: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18505}
2017-06-08 22:39:03 +00:00
7412fe6fa7 Roll chromium_revision 2108fde0a1..423c0eff45 (478041:478099)
Change log: 2108fde0a1..423c0eff45
Full diff: 2108fde0a1..423c0eff45

Changed dependencies:
* src/base: 455dd05e33..f085afce9c
* src/build: 6132bfa8a1..f34c461c7a
* src/ios: ec95638bb7..476af8ac4a
* src/third_party: 98b166baf4..c3a8f57168
* src/tools: 33f404884d..926ad330b9
DEPS diff: 2108fde0a1..423c0eff45/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2924263004
Cr-Commit-Position: refs/heads/master@{#18504}
2017-06-08 22:14:08 +00:00
dc4f7f5800 Roll chromium_revision 88476a9f88..2108fde0a1 (477979:478041)
Change log: 88476a9f88..2108fde0a1
Full diff: 88476a9f88..2108fde0a1

Changed dependencies:
* src/base: fab4752568..455dd05e33
* src/build: 9d6666d50f..6132bfa8a1
* src/ios: 013ad1b8cb..ec95638bb7
* src/testing: 0099826738..16ae183618
* src/third_party: 089dfc6746..98b166baf4
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/cd334a54ca..d91e1efd83
* src/tools: f3b864cd36..33f404884d
DEPS diff: 88476a9f88..2108fde0a1/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2929913002
Cr-Commit-Position: refs/heads/master@{#18503}
2017-06-08 19:13:16 +00:00
59154edd2c Roll chromium_revision 61a28216c8..88476a9f88 (477949:477979)
Change log: 61a28216c8..88476a9f88
Full diff: 61a28216c8..88476a9f88

Changed dependencies:
* src/ios: 94dc26b767..013ad1b8cb
* src/testing: 9452a57335..0099826738
* src/third_party: b8a5a4f9c5..089dfc6746
* src/tools: 57aca54332..f3b864cd36
* src/tools/swarming_client: 5c4eed8883..af6b06ca68
DEPS diff: 61a28216c8..88476a9f88/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2927113002
Cr-Commit-Position: refs/heads/master@{#18502}
2017-06-08 16:11:26 +00:00
20e4a73b9b MockAecDump and integration tests between AecDump and AudioProcessing
This CL adds a MockAecDump and integration tests that inject the mock
into AudioProcessingImpl. The tests check the call pattern between
AudioProcessingImpl and AecDump. The existing tests ApmTest.* and
DebugDumpTest.* (not touched by this CL) check that the data written
by AecDumpImpl is valid.

The tests check that the protobuf-writing methods for the different
protobuf message types in audio_processing/debug.proto are indeed
called for the different modes of AudioProcessingImpl operation.

BUG=webrtc:7404

Review-Url: https://codereview.webrtc.org/2888533005
Cr-Commit-Position: refs/heads/master@{#18501}
2017-06-08 15:12:46 +00:00
317005a03b Revert of Periodically update codec bit/frame rate settings. (patchset #2 id:160001 of https://codereview.webrtc.org/2924023002/ )
Reason for revert:
Looks like there's still one failing perf test:
RampUpTest.UpDownUpTransportSequenceNumberPacketLoss

Original issue's description:
> Reland of Periodically update codec bit/frame rate settings. (patchset #1 id:1 of https://codereview.webrtc.org/2923993002/ )
>
> Reason for revert:
> Create reland cl that we can patch with fix.
>
> Original issue's description:
> > Revert of Periodically update codec bit/frame rate settings. (patchset #8 id:140001 of https://codereview.webrtc.org/2883963002/ )
> >
> > Reason for revert:
> > Breaks some Call perf tests that are not run by the try bots....
> >
> > Original issue's description:
> > > Fix bug in vie_encoder.cc which caused channel parameters not to be updated at regular intervals, as it was intended.
> > >
> > > That however exposes a bunch of failed test, so this CL also fixed a few other things:
> > > * FakeEncoder should trust the configured FPS value rather than guesstimating itself based on the realtime clock, so as not to completely undershoot targets in offline mode. Also, compensate for key-frame overshoots when outputting delta frames.
> > > * FrameDropper should not assuming incoming frame rate is 0 if no frames have been seen.
> > > * Fix a bunch of test cases that started failing because they were relying on the fake encoder undershooting.
> > > * Fix test
> > >
> > > BUG=7664
> > >
> > > Review-Url: https://codereview.webrtc.org/2883963002
> > > Cr-Commit-Position: refs/heads/master@{#18473}
> > > Committed: 6431e21da6
> >
> > TBR=stefan@webrtc.org,holmer@google.com
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=7664
> >
> > Review-Url: https://codereview.webrtc.org/2923993002
> > Cr-Commit-Position: refs/heads/master@{#18475}
> > Committed: 5390c4814d
>
> TBR=stefan@webrtc.org,holmer@google.com
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=7664
>
> Review-Url: https://codereview.webrtc.org/2924023002
> Cr-Commit-Position: refs/heads/master@{#18497}
> Committed: cdafeda1cb

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

Review-Url: https://codereview.webrtc.org/2926283002
Cr-Commit-Position: refs/heads/master@{#18500}
2017-06-08 14:12:17 +00:00
d3a8119b11 Roll chromium_revision 53a49d4c81..61a28216c8 (477934:477949)
Change log: 53a49d4c81..61a28216c8
Full diff: 53a49d4c81..61a28216c8

Changed dependencies:
* src/build: 4161431eb4..9d6666d50f
* src/ios: 724736f164..94dc26b767
* src/third_party: eff6b29832..b8a5a4f9c5
* src/tools: 03d2110967..57aca54332
DEPS diff: 53a49d4c81..61a28216c8/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2927033002
Cr-Commit-Position: refs/heads/master@{#18499}
2017-06-08 13:56:14 +00:00
cf705c5f13 Reland of Protect new header extension by field trial experiment to allow hardcoding it in SDP (patchset #1 id:1 of https://codereview.webrtc.org/2922723002/ )
Reland is done after fixes in downstream projects.

TBR=sprang@webrtc.org,asapersson@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=chrome:718738

Review-Url: https://codereview.webrtc.org/2922953002
Cr-Commit-Position: refs/heads/master@{#18498}
2017-06-08 13:18:53 +00:00
cdafeda1cb Reland of Periodically update codec bit/frame rate settings. (patchset #1 id:1 of https://codereview.webrtc.org/2923993002/ )
Reason for revert:
Create reland cl that we can patch with fix.

Original issue's description:
> Revert of Periodically update codec bit/frame rate settings. (patchset #8 id:140001 of https://codereview.webrtc.org/2883963002/ )
>
> Reason for revert:
> Breaks some Call perf tests that are not run by the try bots....
>
> Original issue's description:
> > Fix bug in vie_encoder.cc which caused channel parameters not to be updated at regular intervals, as it was intended.
> >
> > That however exposes a bunch of failed test, so this CL also fixed a few other things:
> > * FakeEncoder should trust the configured FPS value rather than guesstimating itself based on the realtime clock, so as not to completely undershoot targets in offline mode. Also, compensate for key-frame overshoots when outputting delta frames.
> > * FrameDropper should not assuming incoming frame rate is 0 if no frames have been seen.
> > * Fix a bunch of test cases that started failing because they were relying on the fake encoder undershooting.
> > * Fix test
> >
> > BUG=7664
> >
> > Review-Url: https://codereview.webrtc.org/2883963002
> > Cr-Commit-Position: refs/heads/master@{#18473}
> > Committed: 6431e21da6
>
> TBR=stefan@webrtc.org,holmer@google.com
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=7664
>
> Review-Url: https://codereview.webrtc.org/2923993002
> Cr-Commit-Position: refs/heads/master@{#18475}
> Committed: 5390c4814d

TBR=stefan@webrtc.org,holmer@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=7664

Review-Url: https://codereview.webrtc.org/2924023002
Cr-Commit-Position: refs/heads/master@{#18497}
2017-06-08 13:12:05 +00:00
1066b1379d Remove deprecated AudioMixerImpl creation method.
AudioMixerImpl::CreateWithOutputRateCalculator has become
deprecated. Instead, either Create() or Create(OutputRateCalculator,
bool use_limiter) should be used. The first uses sensible default
values for missing arguments. The second takes all arguments. The old
CreateWithOutputRateCalculator is deprecated so that we don't have
different Create:s with all possible combinations of parameters.

Note that the factory methods may change in the future. The reason for
adding 'use_limiter' was that the limiter that was used had
questionable benefit and was very computationally expensive. Now work
is going on to replace it with a much cheaper version. After
the change, the factory method may change again to not allow for
disabling the limiter.

Bug: webrtc:7167
Change-Id: I0f9005e27e726fa552ee38dcbe965274e5006544
Reviewed-on: https://chromium-review.googlesource.com/528074
Reviewed-by: Alessio Bazzica <alessiob@webrtc.org>
Commit-Queue: Alex Loiko <aleloi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18496}
2017-06-08 12:13:18 +00:00
d0244c21cd Add RSID-based demuxing to RtpDemuxer
Make RtpDemuxer able to demux RTP packets according to RSID (RTP Stream ID), as well as the (pre-existing) ability to demux according to SSRC.

BUG=None

Review-Url: https://codereview.webrtc.org/2920993002
Cr-Commit-Position: refs/heads/master@{#18495}
2017-06-08 11:19:13 +00:00
5c4897fffa Roll chromium_revision 3c550cc859..53a49d4c81 (477916:477934)
Change log: 3c550cc859..53a49d4c81
Full diff: 3c550cc859..53a49d4c81

Changed dependencies:
* src/third_party: 758970afe4..eff6b29832
DEPS diff: 3c550cc859..53a49d4c81/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2932673002
Cr-Commit-Position: refs/heads/master@{#18494}
2017-06-08 10:41:16 +00:00
15dcb38e5f Make error resilience configurable through VideoCodecVP9 resilience setting (removes hard coded value in vp9_impl.cc).
Make resilience configurable in video processor integration tests.

BUG=webrtc:6783

Review-Url: https://codereview.webrtc.org/2919803002
Cr-Commit-Position: refs/heads/master@{#18493}
2017-06-08 09:55:08 +00:00
04ca637be3 Make 'aleloi@' OWNER of webrtc/modules/audio_processing
This reflects currently active developers of the module.

NOTRY=True

Bug: None
Change-Id: Ibc0810b08db753404fcb94038a4bd857d5585ef9
Reviewed-on: https://chromium-review.googlesource.com/528075
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Commit-Queue: Alex Loiko <aleloi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18492}
2017-06-08 09:36:10 +00:00
75b68b924c Delete webrtc/call.h (replaced with webrtc/call/call.h).
BUG=webrtc:6716

Review-Url: https://codereview.webrtc.org/2916513002
Cr-Commit-Position: refs/heads/master@{#18491}
2017-06-08 09:21:17 +00:00
02ed201182 AcmReceiver: Make a member variable const
This is a minor clean-up made possible by simplifications done in the
past.

Bug: none
Change-Id: Id0ea167572f8da36db5de949441f67a2a18555be
Reviewed-on: https://chromium-review.googlesource.com/528073
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18490}
2017-06-08 09:18:14 +00:00
88f94fa36a Revert "Update video_coding/codecs to new VideoFrameBuffer interface"
This reverts commit 20ebf4ede803cd4f628ef9378700f60b72f2eab0.

Reason for revert:

Suspect of breaking FYI bots.
See https://build.chromium.org/p/chromium.webrtc.fyi/builders/Win7%20Tester/builds/9036 and others.

Sample logs:
Backtrace:
[5024:1036:0607/173649.857:FATAL:webrtc_video_frame_adapter.cc(98)] Check failed: false. 
Backtrace:
	base::debug::StackTrace::StackTrace [0x02D04A37+55]
	base::debug::StackTrace::StackTrace [0x02CCBB8A+10]
	content::WebRtcVideoFrameAdapter::NativeToI420Buffer [0x0508AD71+305]
	webrtc::VideoFrameBuffer::ToI420 [0x0230BF67+39]
	webrtc::H264EncoderImpl::Encode [0x057E8D0B+267]
	webrtc::VCMGenericEncoder::Encode [0x057E0E34+333]
	webrtc::vcm::VideoSender::AddVideoFrame [0x057DED9B+796]
	webrtc::ViEEncoder::EncodeVideoFrame [0x057C00F6+884]
	webrtc::ViEEncoder::EncodeTask::Run [0x057C12D7+215]
	rtc::TaskQueue::PostTask [0x03EE5CFB+194]
	base::internal::Invoker<base::internal::BindState<enum extensions::`anonymous namespace'::VerificationResult (__cdecl*)(std::unique_ptr<extensions::NetworkingCastPrivateDelegate::Credentials,std::default_delete<extensions::NetworkingCastPrivateDelegate::C [0x02DDCAA5+31]
	base::internal::Invoker<base::internal::BindState<enum extensions::`anonymous namespace'::VerificationResult (__cdecl*)(std::unique_ptr<extensions::NetworkingCastPrivateDelegate::Credentials,std::default_delete<extensions::NetworkingCastPrivateDelegate::C [0x02DDEE86+22]
	base::debug::TaskAnnotator::RunTask [0x02D08289+409]
	base::MessageLoop::RunTask [0x02C8CEC1+1233]
	base::MessageLoop::DoWork [0x02C8C1AD+765]
	base::MessagePumpDefault::Run [0x02D0A20B+219]
	base::MessageLoop::Run [0x02C8C9DB+107]
	base::RunLoop::Run [0x02C89583+147]
	base::Thread::Run [0x02CBEFCD+173]
	base::Thread::ThreadMain [0x02CBFADE+622]
	base::PlatformThread::Sleep [0x02C9E1A2+290]
	BaseThreadInitThunk [0x75C3338A+18]
	RtlInitializeExceptionChain [0x773A9902+99]
	RtlInitializeExceptionChain [0x773A98D5+54]

Original change's description:
> Update video_coding/codecs to new VideoFrameBuffer interface
> 
> This is a follow-up cleanup for CL
> https://codereview.webrtc.org/2847383002/.
> 
> Bug: webrtc:7632
> Change-Id: I47861d779968f2fee94db9c017102a8e87e67fb7
> Reviewed-on: https://chromium-review.googlesource.com/524163
> Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
> Reviewed-by: Niels Moller <nisse@webrtc.org>
> Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#18477}

TBR=magjed@webrtc.org,nisse@webrtc.org,brandtr@webrtc.org
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:7632

Change-Id: I3b73fc7d16ff19ceba196e964dcb36a36510912c
Reviewed-on: https://chromium-review.googlesource.com/527793
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Cr-Commit-Position: refs/heads/master@{#18489}
2017-06-08 08:33:52 +00:00
e566e175d1 Add new screenshare full stack test with limited queue.
Track perf for a test using 200kbps link, 5% packet loss and queue
length of 30 packets. This currently performs poorly.

BUG=webrtc:7694

Review-Url: https://codereview.webrtc.org/2930703002
Cr-Commit-Position: refs/heads/master@{#18488}
2017-06-08 08:29:15 +00:00
097ad90d1a Roll chromium_revision ac66f89e4b..3c550cc859 (477875:477916)
Change log: ac66f89e4b..3c550cc859
Full diff: ac66f89e4b..3c550cc859

Changed dependencies:
* src/base: 8a5e3ff7c8..fab4752568
* src/ios: f5f770d323..724736f164
* src/testing: 2d1742d938..9452a57335
* src/third_party: aa9d11f890..758970afe4
* src/tools: c3612ad4c9..03d2110967
DEPS diff: ac66f89e4b..3c550cc859/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2928853003
Cr-Commit-Position: refs/heads/master@{#18487}
2017-06-08 07:11:40 +00:00
807736ef02 Revert of Refactored incoming bitrate estimator. (patchset #8 id:140001 of https://codereview.webrtc.org/2917873002/ )
Reason for revert:
Breaks Vice tests

Original issue's description:
> Refactored incoming bitrate estimator.
>
> BUG=webrtc:7746
>
> Review-Url: https://codereview.webrtc.org/2917873002
> Cr-Commit-Position: refs/heads/master@{#18478}
> Committed: 5fc8bf8b87

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

Review-Url: https://codereview.webrtc.org/2924243002
Cr-Commit-Position: refs/heads/master@{#18486}
2017-06-08 07:10:31 +00:00
b9ed1081e0 Roll chromium_revision db06e65dcd..ac66f89e4b (477837:477875)
Change log: db06e65dcd..ac66f89e4b
Full diff: db06e65dcd..ac66f89e4b

Changed dependencies:
* src/base: 37b23454a9..8a5e3ff7c8
* src/ios: 9d7e1856c6..f5f770d323
* src/testing: b49b2a5456..2d1742d938
* src/third_party: e12a4affb4..aa9d11f890
* src/tools: 48c2a6a884..c3612ad4c9
DEPS diff: db06e65dcd..ac66f89e4b/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2928893002
Cr-Commit-Position: refs/heads/master@{#18485}
2017-06-08 04:13:08 +00:00
ff5e5c0b1b Roll chromium_revision 1caed9e9b4..db06e65dcd (477766:477837)
Change log: 1caed9e9b4..db06e65dcd
Full diff: 1caed9e9b4..db06e65dcd

Changed dependencies:
* src/base: b7a6c5aa60..37b23454a9
* src/ios: 4f9457995c..9d7e1856c6
* src/testing: ee87164eee..b49b2a5456
* src/third_party: 555f2e895f..e12a4affb4
* src/third_party/libvpx/source/libvpx: b9649d2407..ff42e04f9c
* src/tools: 63fff378c4..48c2a6a884
DEPS diff: 1caed9e9b4..db06e65dcd/DEPS

No update to Clang.

TBR=marpan@webrtc.org,
BUG=None

Review-Url: https://codereview.webrtc.org/2932633002
Cr-Commit-Position: refs/heads/master@{#18484}
2017-06-08 01:10:33 +00:00
353f0654c0 Roll chromium_revision 19f44c261d..1caed9e9b4 (477714:477766)
Change log: 19f44c261d..1caed9e9b4
Full diff: 19f44c261d..1caed9e9b4

Changed dependencies:
* src/build: e9bf917143..4161431eb4
* src/ios: 2141500c74..4f9457995c
* src/testing: 545e64c3a4..ee87164eee
* src/third_party: b392c5d272..555f2e895f
* src/tools: 98c80201be..63fff378c4
DEPS diff: 19f44c261d..1caed9e9b4/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2918403005
Cr-Commit-Position: refs/heads/master@{#18483}
2017-06-07 22:19:29 +00:00
d9432c2875 Roll chromium_revision 98dee77021..19f44c261d (477661:477714)
Change log: 98dee77021..19f44c261d
Full diff: 98dee77021..19f44c261d

Changed dependencies:
* src/base: ce7697851c..b7a6c5aa60
* src/build: d715bfdcfe..e9bf917143
* src/ios: 8e0dae0da5..2141500c74
* src/testing: c746f6a786..545e64c3a4
* src/third_party: 36b9a79953..b392c5d272
* src/third_party/catapult: a379863517..32bdd96094
* src/tools: f9ec4480ca..98c80201be
DEPS diff: 98dee77021..19f44c261d/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2928753003
Cr-Commit-Position: refs/heads/master@{#18482}
2017-06-07 19:19:14 +00:00
4c72cf43df 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}
2017-06-07 18:59:09 +00:00
6b648c4697 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}
2017-06-07 18:04:35 +00:00
bb28b35922 Roll chromium_revision c6f978a173..98dee77021 (477619:477661)
Change log: c6f978a173..98dee77021
Full diff: c6f978a173..98dee77021

Changed dependencies:
* src/base: 06b6506e80..ce7697851c
* src/ios: 755492ff8e..8e0dae0da5
* src/testing: c7c718a2f7..c746f6a786
* src/third_party: 78eb1119a0..36b9a79953
* src/tools: 9adcf48f6f..f9ec4480ca
DEPS diff: c6f978a173..98dee77021/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2925103002
Cr-Commit-Position: refs/heads/master@{#18479}
2017-06-07 17:01:39 +00:00
5fc8bf8b87 Refactored incoming bitrate estimator.
BUG=webrtc:7746

Review-Url: https://codereview.webrtc.org/2917873002
Cr-Commit-Position: refs/heads/master@{#18478}
2017-06-07 16:48:20 +00:00
20ebf4ede8 Update video_coding/codecs to new VideoFrameBuffer interface
This is a follow-up cleanup for CL
https://codereview.webrtc.org/2847383002/.

Bug: webrtc:7632
Change-Id: I47861d779968f2fee94db9c017102a8e87e67fb7
Reviewed-on: https://chromium-review.googlesource.com/524163
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18477}
2017-06-07 15:58:13 +00:00
9932e255ea ObjC: Marshal all VideoTrackSource methods to the signaling thread
This CL makes sure the real VideoTrackSourceInterface implementation is
destroyed on the signaling thread and marshals all method calls to the
signaling thread. This is done using VideoTrackSourceProxy.

Bug: webrtc:7767
Change-Id: Iba3b67bb32a684ba289bc8b9981585ea58084359
Reviewed-on: https://chromium-review.googlesource.com/526634
Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18476}
2017-06-07 14:53:41 +00:00
5390c4814d Revert of Periodically update codec bit/frame rate settings. (patchset #8 id:140001 of https://codereview.webrtc.org/2883963002/ )
Reason for revert:
Breaks some Call perf tests that are not run by the try bots....

Original issue's description:
> Fix bug in vie_encoder.cc which caused channel parameters not to be updated at regular intervals, as it was intended.
>
> That however exposes a bunch of failed test, so this CL also fixed a few other things:
> * FakeEncoder should trust the configured FPS value rather than guesstimating itself based on the realtime clock, so as not to completely undershoot targets in offline mode. Also, compensate for key-frame overshoots when outputting delta frames.
> * FrameDropper should not assuming incoming frame rate is 0 if no frames have been seen.
> * Fix a bunch of test cases that started failing because they were relying on the fake encoder undershooting.
> * Fix test
>
> BUG=7664
>
> Review-Url: https://codereview.webrtc.org/2883963002
> Cr-Commit-Position: refs/heads/master@{#18473}
> Committed: 6431e21da6

TBR=stefan@webrtc.org,holmer@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=7664

Review-Url: https://codereview.webrtc.org/2923993002
Cr-Commit-Position: refs/heads/master@{#18475}
2017-06-07 13:17:49 +00:00