Commit Graph

18338 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
0c61a36f49 Roll chromium_revision 4f7c2dc196..4ddaa6f836 (478995:479034)
Change log: 4f7c2dc196..4ddaa6f836
Full diff: 4f7c2dc196..4ddaa6f836

Changed dependencies:
* src/base: 32baa47d66..9065c05020
* src/ios: 8c623650a5..cb20f6fa1b
* src/testing: 2901684da5..5070b0cc57
* src/third_party: 39e6f3b830..03637baa34
* src/third_party/catapult: 2725235412..deb2d7670a
DEPS diff: 4f7c2dc196..4ddaa6f836/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2938443004
Cr-Commit-Position: refs/heads/master@{#18574}
2017-06-13 16:24:00 +00:00
5c4eebb62b Implement org.webrtc.VideoEncoder using the android MediaCodec.
BUG=webrtc:7760

Change-Id: I22134fe616d5c5b77148c80f01f1ea1119ae786c
Reviewed-on: https://chromium-review.googlesource.com/526074
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Reviewed-by: Peter Thatcher <pthatcher@webrtc.org>
Commit-Queue: Bjorn Mellem <mellem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18573}
2017-06-13 16:07:29 +00:00
7be7883a01 Adds detection of audio glitches for playout on iOS (reland)
Second attempt to land https://chromium-review.googlesource.com/c/522563/

TBR: minyue
Bug: b/38018041
Change-Id: I938f4a490b6357cd1ac7b34fe445215a746fab43
Reviewed-on: https://chromium-review.googlesource.com/533214
Commit-Queue: Henrik Andreasson <henrika@webrtc.org>
Reviewed-by: Minyue Li <minyue@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18572}
2017-06-13 16:00:18 +00:00
6e286cba7e Revert "Adds detection of audio glitches for playout on iOS. "
This reverts commit 33e4e65706c56f6df65bb4ceb07464f5ec4269ea.

Reason for revert: breaks https://build.chromium.org/p/client.webrtc/builders/iOS%20API%20Framework%20Builder

Original change's description:
> Adds detection of audio glitches for playout on iOS. 
> 
> Bug: b/38018041
> Change-Id: If6b53d3909a52333543c8aade500fd4c26b47255
> Reviewed-on: https://chromium-review.googlesource.com/522563
> Commit-Queue: Henrik Andreasson <henrika@webrtc.org>
> Reviewed-by: Minyue Li <minyue@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#18570}

TBR=henrika@webrtc.org,minyue@webrtc.org

Change-Id: I3dd354d83a1f0ac1b5cab643147ae9c1672f342b
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: b/38018041
Reviewed-on: https://chromium-review.googlesource.com/533533
Reviewed-by: Henrik Andreasson <henrika@webrtc.org>
Commit-Queue: Henrik Andreasson <henrika@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18571}
2017-06-13 15:21:06 +00:00
33e4e65706 Adds detection of audio glitches for playout on iOS.
Bug: b/38018041
Change-Id: If6b53d3909a52333543c8aade500fd4c26b47255
Reviewed-on: https://chromium-review.googlesource.com/522563
Commit-Queue: Henrik Andreasson <henrika@webrtc.org>
Reviewed-by: Minyue Li <minyue@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18570}
2017-06-13 15:09:44 +00:00
dea075c7a6 Log an error in RtpDemuxer::FindSsrcAssociations() if kMaxProcessedSsrcs exceeded
BUG=None

Review-Url: https://codereview.webrtc.org/2941513002
Cr-Commit-Position: refs/heads/master@{#18569}
2017-06-13 14:57:31 +00:00
7ed35f4643 Replacing WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP with WEBRTC_ENABLE_PROTOBUF.
Bug: None
Change-Id: I595b094e7fcb12723614df3197a40833932ba0a0
Reviewed-on: https://chromium-review.googlesource.com/533074
Reviewed-by: Michael T <tschumim@webrtc.org>
Commit-Queue: Minyue Li <minyue@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18568}
2017-06-13 14:45:33 +00:00
10e1f7548a Roll chromium_revision 9061a92f5c..4f7c2dc196 (478958:478995)
Change log: 9061a92f5c..4f7c2dc196
Full diff: 9061a92f5c..4f7c2dc196

Changed dependencies:
* src/build: 59c27a69f6..7bbbe6d626
* src/ios: b768046c2f..8c623650a5
* src/testing: f347a82d18..2901684da5
* src/third_party: 20cc08f903..39e6f3b830
* src/third_party/catapult: e6b02f2663..2725235412
DEPS diff: 9061a92f5c..4f7c2dc196/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2940623002
Cr-Commit-Position: refs/heads/master@{#18567}
2017-06-13 14:32:31 +00:00
29860331f1 Remove webrtcvideoengine2.h
BUG=None

Review-Url: https://codereview.webrtc.org/2937673002
Cr-Commit-Position: refs/heads/master@{#18566}
2017-06-13 14:28:31 +00:00
659a0101f6 Delete old include file webrtc/video_frame.h.
BUG=webrtc:7616, webrtc:5880

Review-Url: https://codereview.webrtc.org/2913143002
Cr-Commit-Position: refs/heads/master@{#18565}
2017-06-13 13:05:05 +00:00
a65ad22939 Delete unused method FilesystemInterface::GetFileTime.
BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2926713007
Cr-Commit-Position: refs/heads/master@{#18564}
2017-06-13 12:37:44 +00:00
8c6afef954 Make sure UI methods get called on the main thread
BUG=webrtc:7754

Review-Url: https://codereview.webrtc.org/2920933002
Cr-Commit-Position: refs/heads/master@{#18563}
2017-06-13 12:25:33 +00:00
fdfeb8361e Declaring rtc_base_approved dep on webrtc_common
BUG=None
NOTRY=True

Review-Url: https://codereview.webrtc.org/2941453003
Cr-Commit-Position: refs/heads/master@{#18562}
2017-06-13 11:53:27 +00:00
7339712256 Removing backward compatible header
I have updated downstream projects and now it is safe to remove this
header.

BUG=webrtc:7647
NOTRY=True

Review-Url: https://codereview.webrtc.org/2935933002
Cr-Commit-Position: refs/heads/master@{#18561}
2017-06-13 11:25:37 +00:00
a735d4ebb5 Roll chromium_revision 0ca6ede735..9061a92f5c (478917:478958)
Change log: 0ca6ede735..9061a92f5c
Full diff: 0ca6ede735..9061a92f5c

Changed dependencies:
* src/build: 05cc70d110..59c27a69f6
* src/ios: dcc052a7b8..b768046c2f
* src/third_party: 68f35be68d..20cc08f903
* src/tools: 5b999fbc85..5d8f282f6d
DEPS diff: 0ca6ede735..9061a92f5c/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2938453005
Cr-Commit-Position: refs/heads/master@{#18560}
2017-06-13 10:56:00 +00:00
2c9f9f2bc9 Only create H264 frames if there are no gaps in the packet sequence number.
In the case of H264 we can't know which packet that is the fist packet of a
frame. In order to avoid creating incomplete frames we keep track of which
packets that we haven't received, and if there is a gap in the packet sequence
number leading up to this frame then a frame wont be created.

BUG=chromium:716558

Review-Url: https://codereview.webrtc.org/2926083002
Cr-Commit-Position: refs/heads/master@{#18559}
2017-06-13 09:47:28 +00:00
fc309750a9 Access UIApplication on main thread
Track UIApplication applicationState changes from a C++ class. Uses
NSNotificationCenter to access changes on the main thread and exposes
a local variable that can be checked from any thread.

This fixes a runtime warning on iOS 11 beta.

My Objective-C++ is a little rusty so please check if this follows
the conventions for C++ code in the project. It also changes the
interface exposed by RTCUIApplication.h, not sure if that has impact
on any public APIs that needs to be documented somewhere?

Bug: webrtc:7773
Change-Id: I9c8ba090ef9f28d812114026a906cef742192c39
Reviewed-on: https://chromium-review.googlesource.com/527442
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Reviewed-by: Kári Tristan Helgason <kthelgason@webrtc.org>
Commit-Queue: Anders Carlsson <andersc@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18558}
2017-06-13 09:37:47 +00:00
5b383c0ebd 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}
2017-06-13 09:14:46 +00:00