Commit Graph

18491 Commits

Author SHA1 Message Date
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
11c89f57ce Roll chromium_revision 1f3b0bc457..c6f978a173 (477597:477619)
Change log: 1f3b0bc457..c6f978a173
Full diff: 1f3b0bc457..c6f978a173

Changed dependencies:
* src/ios: e05a1f6934..755492ff8e
* src/testing: cc90318893..c7c718a2f7
* src/third_party: 420e8c1b3d..78eb1119a0
* src/tools: 32ac5b4834..9adcf48f6f
DEPS diff: 1f3b0bc457..c6f978a173/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2927763002
Cr-Commit-Position: refs/heads/master@{#18474}
2017-06-07 13:10:37 +00:00
6431e21da6 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}
2017-06-07 11:59:38 +00:00
2038df452c Deleting unused build target.
This build target was used by webrtc/base:webrtc_base which is not a
build target anymore. Instead we have webrtc/base:rtc_base which depends
directly on third_party/boringssl.

BUG=None
NOTRY=True

Review-Url: https://codereview.webrtc.org/2926703003
Cr-Commit-Position: refs/heads/master@{#18472}
2017-06-07 11:50:13 +00:00
8b337b6736 Remove outdated warning suppressions.
Bug: webrtc:5478
Change-Id: Ieff41903ec8b4d4b19413d09f9ac1d1afcf1cdc6
Reviewed-on: https://chromium-review.googlesource.com/522645
Reviewed-by: Henrik Andreasson <henrika@webrtc.org>
Commit-Queue: Kári Tristan Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18471}
2017-06-07 11:20:02 +00:00
946923a21f Remove webrtc deps from AppRTCMobile.
We want the example app to only link agains the framework. This ensures
that we are actually testing the framework, and that AppRTCMobile
doesn't require any other parts of WebRTC not included in the framework.

Bug: webrtc:7759
Change-Id: Ib04aae0bc3ab2a1a508eaf4a4f15c2d37f521598
Reviewed-on: https://chromium-review.googlesource.com/522722
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Commit-Queue: Kári Tristan Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18470}
2017-06-07 11:13:48 +00:00
1e15a994ac MediaCodecVideoEncoder: Add QP stats to Encoded callback for VP9 and turn on quality scaling.
Add default QP scaling thresholds for VP9.

BUG=webrtc:7662

Review-Url: https://codereview.webrtc.org/2914363002
Cr-Commit-Position: refs/heads/master@{#18469}
2017-06-07 11:09:45 +00:00
3e35a3cfd9 iOS: Update storage bucket for iOS64_Debug bot.
This corrects a mistake made in
https://codereview.webrtc.org/2919783002/

BUG=chromium:704912
NOTRY=True
TBR=smut@google.com

Change-Id: I4c105d8b8e0e373388e5787c5fde70683f056b49
Reviewed-on: https://chromium-review.googlesource.com/526635
Reviewed-by: Henrik Kjellander <kjellander@webrtc.org>
Commit-Queue: Henrik Kjellander <kjellander@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18468}
2017-06-07 11:08:54 +00:00
7f0ddb0eb7 Roll chromium_revision 99c4a934d4..1f3b0bc457 (477570:477597)
Change log: 99c4a934d4..1f3b0bc457
Full diff: 99c4a934d4..1f3b0bc457

Changed dependencies:
* src/ios: 3a203b31a5..e05a1f6934
* src/third_party: 3201278d73..420e8c1b3d
DEPS diff: 99c4a934d4..1f3b0bc457/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2926073002
Cr-Commit-Position: refs/heads/master@{#18467}
2017-06-07 10:10:31 +00:00
6b9653e63b ObjC: Pass in frame resolution to GL shaders
Frame resolution might be interesting for a shader implementation.

Bug: webrtc:7473
Change-Id: If19278b3babe2e5bab1a1f7562fa8b06ab840517
Reviewed-on: https://chromium-review.googlesource.com/524452
Reviewed-by: Daniela Jovanoska Petrenko <denicija@webrtc.org>
Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18466}
2017-06-07 10:05:16 +00:00
f53c4cd867 Delete rtc_event_log/ringbuffer.h
This code is unused since https://codereview.webrtc.org/2875823003/ and the current implementation is too specific to the event log to be useful elsewhere. I think we should get add a reusable cyclic buffer though and I made a rough draft of what it might look like: https://codereview.webrtc.org/2691073002/

BUG=webrtc:7732

Review-Url: https://codereview.webrtc.org/2923163006
Cr-Commit-Position: refs/heads/master@{#18465}
2017-06-07 08:53:30 +00:00
5665caf743 Roll chromium_revision 24fca6fb8a..99c4a934d4 (477537:477570)
Change log: 24fca6fb8a..99c4a934d4
Full diff: 24fca6fb8a..99c4a934d4

Changed dependencies:
* src/base: 7eba20987a..06b6506e80
* src/build: afd4f9c1c5..d715bfdcfe
* src/ios: d24d0debe6..3a203b31a5
* src/testing: e054a7d237..cc90318893
* src/third_party: 73c81daac7..3201278d73
* src/third_party/catapult: 3919ea65c2..a379863517
* src/tools: b51ed53b3e..32ac5b4834
DEPS diff: 24fca6fb8a..99c4a934d4/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2926573004
Cr-Commit-Position: refs/heads/master@{#18464}
2017-06-07 07:51:56 +00:00
1387476dc6 Compare adapt up/down request with sink_wants_ in VideoSourceProxy methods to make sure it is higher/lower than last request.
Add methods RestrictFramerate, IncreaseFramerate.

To be used by kBalanced mode.

This CL is split from: https://codereview.webrtc.org/2887303003/

BUG=webrtc:7607

Review-Url: https://codereview.webrtc.org/2903563002
Cr-Commit-Position: refs/heads/master@{#18463}
2017-06-07 07:01:02 +00:00
23ec19dbb9 Add fuzzer for vp9 qp parser.
Return false if ReadBits fails.
Prevents GetQp from returning true with a qp of zero.

BUG=webrtc:7662

Review-Url: https://codereview.webrtc.org/2911013002
Cr-Commit-Position: refs/heads/master@{#18462}
2017-06-07 06:41:44 +00:00
5f200f6fc1 Roll chromium_revision a6ac8624bc..24fca6fb8a (477491:477537)
Change log: a6ac8624bc..24fca6fb8a
Full diff: a6ac8624bc..24fca6fb8a

Changed dependencies:
* src/build: d122cd769f..afd4f9c1c5
* src/ios: 826278b7ea..d24d0debe6
* src/testing: 64f34ede7f..e054a7d237
* src/third_party: 95e567f747..73c81daac7
* src/third_party/catapult: dc460e541a..3919ea65c2
* src/tools: cd2b3377f2..b51ed53b3e
DEPS diff: a6ac8624bc..24fca6fb8a/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2923353002
Cr-Commit-Position: refs/heads/master@{#18461}
2017-06-07 04:12:32 +00:00
832e67a2c3 Roll chromium_revision 5c265a308a..a6ac8624bc (477423:477491)
Change log: 5c265a308a..a6ac8624bc
Full diff: 5c265a308a..a6ac8624bc

Changed dependencies:
* src/ios: 69b7c1b160..826278b7ea
* src/testing: a3550b42f3..64f34ede7f
* src/third_party: a02dc9f29a..95e567f747
* src/third_party/catapult: 264d6b2ebb..dc460e541a
* src/tools: e61e9bbf8a..cd2b3377f2
DEPS diff: 5c265a308a..a6ac8624bc/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2929553002
Cr-Commit-Position: refs/heads/master@{#18460}
2017-06-07 01:13:40 +00:00