16075 Commits

Author SHA1 Message Date
deadbeef
922246a353 Replace NULL with nullptr or null in webrtc/audio/ and common_audio/.
BUG=webrtc:7147

Review-Url: https://codereview.webrtc.org/2719733002
Cr-Commit-Position: refs/heads/master@{#16843}
2017-02-26 12:18:12 +00:00
deadbeef
e814a0dee0 Adding "adapter" ORTC objects on top of ChannelManager/BaseChannel/etc.
This CL adds the following interfaces:
* RtpTransportController
* RtpTransport
* RtpSender
* RtpReceiver

They're implemented on top of the "BaseChannel" object, which is normally used
in a PeerConnection, and roughly corresponds to an SDP "m=" section. As a result
of this, there are several limitations:

* You can only have one of each type of sender and receiver (audio/video) on top
  of the same transport controller.
* The sender/receiver with the same media type must use the same RTP transport.
* You can't change the transport after creating the sender or receiver.
* Some of the parameters aren't supported.

Later, these "adapter" objects will be gradually replaced by real objects that don't
have these limitations, as "BaseChannel", "MediaChannel" and related code is
restructured. In this CL, we essentially have:

ORTC adapter objects -> BaseChannel -> Media engine
PeerConnection -> BaseChannel -> Media engine

And later we hope to have simply:

PeerConnection -> "Real" ORTC objects -> Media engine

See the linked bug for more context.

BUG=webrtc:7013
TBR=stefan@webrtc.org

Review-Url: https://codereview.webrtc.org/2675173003
Cr-Commit-Position: refs/heads/master@{#16842}
2017-02-26 02:15:09 +00:00
deadbeef
f15fb452ef Fix occasional race in VideoCapturerTrackSource seen by memcheck bot.
The issue was that VideoCapturerTrackSource was adding a reference
to itself, causing it to not be deleted even after no external objects
reference it. The objects underneath it (threads for instance) may
then be destroyed before the object dereferences them.

BUG=webrtc:6487

Review-Url: https://codereview.webrtc.org/2717023002
Cr-Commit-Position: refs/heads/master@{#16841}
2017-02-25 21:37:59 +00:00
deadbeef
ccaaffb44a Adding rtc::Unretained to allow avoiding rtc::Bind reference capture.
In some rare circumstances, capturing a reference may be undesired. For
example, when creating an asynchronous task owned by the object itself,
the object may not need or want this task to keep itself alive.

BUG=None

Review-Url: https://codereview.webrtc.org/2711113008
Cr-Commit-Position: refs/heads/master@{#16840}
2017-02-25 20:56:20 +00:00
tommi
37510bf094 Revert of Set scaling limit at 320 * 180 for all implementations. (patchset #2 id:20001 of https://codereview.webrtc.org/2709153002/ )
Reason for revert:
Looks like webrtc_perf_test started failing on linux, mac and windows after this cl landed.

Example failure:

https://build.chromium.org/p/client.webrtc.perf/builders/Linux%20Trusty/builds/1386/steps/webrtc_perf_tests/logs/stdio

[ RUN      ] CallPerfTest.ReceivesCpuOveruseAndUnderuse
../../webrtc/call/call_perf_tests.cc:522: Failure
Value of: Wait()
  Actual: false
Expected: true
Timed out before receiving an overuse callback.
[  FAILED  ] CallPerfTest.ReceivesCpuOveruseAndUnderuse (120056 ms)

Original issue's description:
> Set scaling limit at 320 * 180 for all implementations.
>
> The MediaCodec decoder on android has trouble decoding video at
> so low resolutions. We set the limit a bit higher for all implementations
> pending a robust software fallback implementation for MediaCodec.
>
> BUG=webrtc:7206
>
> Review-Url: https://codereview.webrtc.org/2709153002
> Cr-Commit-Position: refs/heads/master@{#16798}
> Committed: 560ddb7321

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

Review-Url: https://codereview.webrtc.org/2711913007
Cr-Commit-Position: refs/heads/master@{#16839}
2017-02-25 19:30:55 +00:00
deadbeef
08187d41ca Rewrite rtc::Bind using variadic templates.
I'd like to make a change to rtc::Bind in another CL, and that will
be easier if there are fewer lines of code to modify.

BUG=None

Review-Url: https://codereview.webrtc.org/2719683002
Cr-Commit-Position: refs/heads/master@{#16838}
2017-02-25 19:21:18 +00:00
tommi
4af9f962c3 Fix busy loop in FakeAudioDeviceModule.
The implementation now has a mechanism that effectively turns off callbacks if used.

BUG=webrtc:7237, 695438
TBR=solenberg@webrtc.org

Review-Url: https://codereview.webrtc.org/2710023010
Cr-Commit-Position: refs/heads/master@{#16837}
2017-02-25 17:05:22 +00:00
VladimirTechMan
d74517c52a Do not produce dSYM file for the iOS Frameworks with bitcode
Though dSYM files can be generated when building applications or libraries
with bitcode. They cannot be used to symbolicate crash reports from
applications. Instead, developers need to grab the real dSYM files, which
are generated for each specific device type after uploading an iOS / tvOS
application to App Store (or to a device using Xcode). Apple clearly warns
about it in its documentation:

https://developer.apple.com/library/content/technotes/tn2151/_index.html#//apple_ref/doc/uid/DTS40008184-CH1-SYMBOLICATION-BITCODE

With that in mind, I believe that it would be better to not confuse
developers by giving them dSYM files that are not very helpful with
the bitcode-enabled framework. Thus, proposing the following modification
to the building script, to generate dSYM by default only without
the bitcode option. However, if some developers still want to get
the dSYM files as a build-process artifact, when enabling bitcode,
they can explicitly add --extra-gn-args enable_dsyms=true to the script.

Let me know if it lgty.

NOTRY=True
BUG=None

Review-Url: https://codereview.webrtc.org/2705163007
Cr-Commit-Position: refs/heads/master@{#16836}
2017-02-25 10:08:27 +00:00
zhihuang
633f6fe004 Add the OnAddTrack callback for Objective-C wrapper.
Created an Obj-C wrapper for the callback OnAddTrack in this CL since it has been added to native C++ API
The callback function is called when a track is signaled by remote side and a new RtpReceiver is created.
The application can tell when tracks are added to the streams by listening to this callback.

BUG=webrtc:6112

Review-Url: https://codereview.webrtc.org/2513063003
Cr-Commit-Position: refs/heads/master@{#16835}
2017-02-24 20:50:48 +00:00
tommi
c9bb7918f6 Add support for priorities to TaskQueue.
BUG=webrtc:7216

Review-Url: https://codereview.webrtc.org/2708353003
Cr-Commit-Position: refs/heads/master@{#16834}
2017-02-24 18:42:14 +00:00
tommi
3ba1a8cd1b Revert of Use sched_yield on all POSIX platforms in PlatformThread. (patchset #1 id:1 of https://codereview.webrtc.org/2716683002/ )
Reason for revert:
Reverting this change since it didn't affect the perf regressions we were seeing and actually seems to have caused more regressions as per comment in the bug.

Original issue's description:
> Use sched_yield on all POSIX platforms in PlatformThread.
> (not only MacOS)
>
> This is a test to see if perf regressions we're seeing may be related to the use of nanosleep().
>
> BUG=695438
> TBR=solenberg@webrtc.org
>
> Review-Url: https://codereview.webrtc.org/2716683002 .
> Cr-Commit-Position: refs/heads/master@{#16807}
> Committed: 384498abb5

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

Review-Url: https://codereview.webrtc.org/2712133003
Cr-Commit-Position: refs/heads/master@{#16833}
2017-02-24 17:12:32 +00:00
buildbot
fdaa8706ae Roll chromium_revision 99f41af9c0..33a7a547b9 (452785:452838)
Change log: 99f41af9c0..33a7a547b9
Full diff: 99f41af9c0..33a7a547b9

Changed dependencies:
* src/base: 5ddb2cd997..facaa65f73
* src/ios: 5dd7ad7679..f893f94115
* src/testing: 70762142ae..b40837ba97
* src/third_party: 99d288a410..55242080a2
* src/tools: 7c4e952b5b..e4e78e0678
DEPS diff: 99f41af9c0..33a7a547b9/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2711113005
Cr-Commit-Position: refs/heads/master@{#16832}
2017-02-24 17:02:04 +00:00
terelius
f18847fa6a Remove unused variables from MetricRecorder.
BUG=webrtc:7209

Review-Url: https://codereview.webrtc.org/2704343004
Cr-Commit-Position: refs/heads/master@{#16831}
2017-02-24 16:45:36 +00:00
kthelgason
343b71060a Reland of move some warning suppressions from SocketRocket. (patchset #2 id:60001 of https://codereview.webrtc.org/2718703002/ )
Reason for revert:
AppRTCMobile has been fixed.

Original issue's description:
> Revert of move some warning suppressions from SocketRocket. (patchset #2 id:70001 of https://codereview.webrtc.org/2718653002/ )
>
> Reason for revert:
> Breaks AppRTCMobile in release configuration
>
> Original issue's description:
> > Reland of move some warning suppressions from SocketRocket. (patchset #1 id:1 of https://codereview.webrtc.org/2714123002/ )
> >
> > Reason for revert:
> > Buildbot issues have been fixed.
> >
> > Original issue's description:
> > > Revert of Remove some warning suppressions from SocketRocket. (patchset #1 id:1 of https://codereview.webrtc.org/2704383004/ )
> > >
> > > Reason for revert:
> > > Breaks buildbot
> > >
> > > Original issue's description:
> > > > Remove some warning suppressions from SocketRocket.
> > > >
> > > > These warnings started appearing on a clang update. This CL patches the
> > > > vendored library and removes the supression. We assert on the return as
> > > > we're not equipped to deal with failures there anyway.
> > > >
> > > > BUG=webrtc:6396
> > > > NOTRY=true
> > > >
> > > > Review-Url: https://codereview.webrtc.org/2704383004
> > > > Cr-Commit-Position: refs/heads/master@{#16820}
> > > > Committed: 49990e88fb
> > >
> > > TBR=kjellander@webrtc.org,magjed@webrtc.org
> > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > NOPRESUBMIT=true
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=webrtc:6396
> > >
> > > Review-Url: https://codereview.webrtc.org/2714123002
> > > Cr-Commit-Position: refs/heads/master@{#16822}
> > > Committed: e47de1a69c
> >
> > TBR=kjellander@webrtc.org,magjed@webrtc.org
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=webrtc:6396
> >
> > Review-Url: https://codereview.webrtc.org/2718653002
> > Cr-Commit-Position: refs/heads/master@{#16823}
> > Committed: 00df91ce50
>
> TBR=kjellander@webrtc.org,magjed@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:6396
>
> Review-Url: https://codereview.webrtc.org/2718703002
> Cr-Commit-Position: refs/heads/master@{#16829}
> Committed: 0b34577625

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

Review-Url: https://codereview.webrtc.org/2715943003
Cr-Commit-Position: refs/heads/master@{#16830}
2017-02-24 16:09:18 +00:00
kthelgason
0b34577625 Revert of move some warning suppressions from SocketRocket. (patchset #2 id:70001 of https://codereview.webrtc.org/2718653002/ )
Reason for revert:
Breaks AppRTCMobile in release configuration

Original issue's description:
> Reland of move some warning suppressions from SocketRocket. (patchset #1 id:1 of https://codereview.webrtc.org/2714123002/ )
>
> Reason for revert:
> Buildbot issues have been fixed.
>
> Original issue's description:
> > Revert of Remove some warning suppressions from SocketRocket. (patchset #1 id:1 of https://codereview.webrtc.org/2704383004/ )
> >
> > Reason for revert:
> > Breaks buildbot
> >
> > Original issue's description:
> > > Remove some warning suppressions from SocketRocket.
> > >
> > > These warnings started appearing on a clang update. This CL patches the
> > > vendored library and removes the supression. We assert on the return as
> > > we're not equipped to deal with failures there anyway.
> > >
> > > BUG=webrtc:6396
> > > NOTRY=true
> > >
> > > Review-Url: https://codereview.webrtc.org/2704383004
> > > Cr-Commit-Position: refs/heads/master@{#16820}
> > > Committed: 49990e88fb
> >
> > TBR=kjellander@webrtc.org,magjed@webrtc.org
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=webrtc:6396
> >
> > Review-Url: https://codereview.webrtc.org/2714123002
> > Cr-Commit-Position: refs/heads/master@{#16822}
> > Committed: e47de1a69c
>
> TBR=kjellander@webrtc.org,magjed@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:6396
>
> Review-Url: https://codereview.webrtc.org/2718653002
> Cr-Commit-Position: refs/heads/master@{#16823}
> Committed: 00df91ce50

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

Review-Url: https://codereview.webrtc.org/2718703002
Cr-Commit-Position: refs/heads/master@{#16829}
2017-02-24 16:06:17 +00:00
philipel
1498defa78 Disable RTCStatsIntegrationTest on TSAN bots.
BUG=webrtc:7231
TBR=tommi@webrtc.org

Review-Url: https://codereview.webrtc.org/2707263010
Cr-Commit-Position: refs/heads/master@{#16828}
2017-02-24 15:41:04 +00:00
alessiob
306d1bfec0 Parallel iterator bash script. The Python files are empty ones, just a placeholder for the code they will host.
Sample audio files for the APM quality assessment toolbox

BUG=webrtc:7218
NOTRY=True

Review-Url: https://codereview.webrtc.org/2711923002
Cr-Commit-Position: refs/heads/master@{#16827}
2017-02-24 13:32:21 +00:00
henrika
7a1798d637 Adding support for native profiling of AppRTCMobile.
See perf_setup.sh for instructions.

NOTRY=TRUE
BUG=NONE

Review-Url: https://codereview.webrtc.org/2705063002
Cr-Commit-Position: refs/heads/master@{#16826}
2017-02-24 12:53:50 +00:00
henrika
bb5136f940 Removes a test suite that is no longer used or maintained.
BUG=NONE

Review-Url: https://codereview.webrtc.org/2716843002
Cr-Commit-Position: refs/heads/master@{#16825}
2017-02-24 11:36:20 +00:00
buildbot
8fbe14183d Roll chromium_revision 3130418a5b..99f41af9c0 (452776:452785)
Change log: 3130418a5b..99f41af9c0
Full diff: 3130418a5b..99f41af9c0

Changed dependencies:
* src/base: 1ddd725489..5ddb2cd997
* src/build: f739e744e7..eefc9cc748
* src/third_party: 767e691aa5..99d288a410
DEPS diff: 3130418a5b..99f41af9c0/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2711783007
Cr-Commit-Position: refs/heads/master@{#16824}
2017-02-24 10:51:41 +00:00
kthelgason
00df91ce50 Reland of move some warning suppressions from SocketRocket. (patchset #1 id:1 of https://codereview.webrtc.org/2714123002/ )
Reason for revert:
Buildbot issues have been fixed.

Original issue's description:
> Revert of Remove some warning suppressions from SocketRocket. (patchset #1 id:1 of https://codereview.webrtc.org/2704383004/ )
>
> Reason for revert:
> Breaks buildbot
>
> Original issue's description:
> > Remove some warning suppressions from SocketRocket.
> >
> > These warnings started appearing on a clang update. This CL patches the
> > vendored library and removes the supression. We assert on the return as
> > we're not equipped to deal with failures there anyway.
> >
> > BUG=webrtc:6396
> > NOTRY=true
> >
> > Review-Url: https://codereview.webrtc.org/2704383004
> > Cr-Commit-Position: refs/heads/master@{#16820}
> > Committed: 49990e88fb
>
> TBR=kjellander@webrtc.org,magjed@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:6396
>
> Review-Url: https://codereview.webrtc.org/2714123002
> Cr-Commit-Position: refs/heads/master@{#16822}
> Committed: e47de1a69c

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

Review-Url: https://codereview.webrtc.org/2718653002
Cr-Commit-Position: refs/heads/master@{#16823}
2017-02-24 10:08:18 +00:00
kthelgason
e47de1a69c Revert of Remove some warning suppressions from SocketRocket. (patchset #1 id:1 of https://codereview.webrtc.org/2704383004/ )
Reason for revert:
Breaks buildbot

Original issue's description:
> Remove some warning suppressions from SocketRocket.
>
> These warnings started appearing on a clang update. This CL patches the
> vendored library and removes the supression. We assert on the return as
> we're not equipped to deal with failures there anyway.
>
> BUG=webrtc:6396
> NOTRY=true
>
> Review-Url: https://codereview.webrtc.org/2704383004
> Cr-Commit-Position: refs/heads/master@{#16820}
> Committed: 49990e88fb

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

Review-Url: https://codereview.webrtc.org/2714123002
Cr-Commit-Position: refs/heads/master@{#16822}
2017-02-24 09:56:01 +00:00
deadbeef
e7cf1a7a7b Clobber to fix errors from landing rtc_api_unittests CL.
rtc_api_unittests turned from a test executable into a directory which
caused some problems.

Relevant CL: https://codereview.webrtc.org/2709573003/

BUG=chromium:694721
TBR=kjellander@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2715923003
Cr-Commit-Position: refs/heads/master@{#16821}
2017-02-24 09:41:09 +00:00
kthelgason
49990e88fb Remove some warning suppressions from SocketRocket.
These warnings started appearing on a clang update. This CL patches the
vendored library and removes the supression. We assert on the return as
we're not equipped to deal with failures there anyway.

BUG=webrtc:6396
NOTRY=true

Review-Url: https://codereview.webrtc.org/2704383004
Cr-Commit-Position: refs/heads/master@{#16820}
2017-02-24 09:30:00 +00:00
deadbeef
b5388d7748 Move rtc_api_unittests into rtc_unittests.
This avoids adding an additional test target. Plus, everything in
rtc_api_unittests is (and likely will be) simple utility classes akin to
what's already being tested in rtc_unittests.

BUG=None
TBR=kjellander@webrtc.org

Review-Url: https://codereview.webrtc.org/2709573003
Cr-Commit-Position: refs/heads/master@{#16819}
2017-02-24 09:17:43 +00:00
buildbot
07cda9475b Roll chromium_revision fab6dba98d..3130418a5b (452743:452776)
Change log: fab6dba98d..3130418a5b
Full diff: fab6dba98d..3130418a5b

Changed dependencies:
* src/build: 3cbac77568..f739e744e7
* src/third_party: 546282e5b3..767e691aa5
* src/tools: f9c0e2d7e1..7c4e952b5b
DEPS diff: fab6dba98d..3130418a5b/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2714093002
Cr-Commit-Position: refs/heads/master@{#16818}
2017-02-24 08:23:23 +00:00
Henrik Kjellander
50956f3f47 Landmine to unblock https://codereview.webrtc.org/2709573003/
BUG=None
TBR=deadbeef@webrtc.org

Review-Url: https://codereview.webrtc.org/2715803003 .
Cr-Commit-Position: refs/heads/master@{#16817}
2017-02-24 08:18:55 +00:00
kjellander
25ae766103 Add MB and iOS JSON entries for ortc_unittests.
BUG=webrtc:7013
TBR=ehmaldonado@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2706403007
Cr-Commit-Position: refs/heads/master@{#16816}
2017-02-24 07:01:54 +00:00
zijiehe
8697f9afba Skips the first frame in DxgiDuplicatorController
A bug has been reported to complaint the ScreenCapturerWinDirectx cannot capture
the first frame, which is used in "Report an issue" page.
A simple solution here is to skip the first frame.

This change also removes the friend relationship between
DxgiDuplicatorController / DxgiAdapterDuplicator / DxgiOutputDuplicator, which
is not really necessary.

BUG=682112

Review-Url: https://codereview.webrtc.org/2703123002
Cr-Commit-Position: refs/heads/master@{#16815}
2017-02-24 05:43:40 +00:00
buildbot
72c307a6de Roll chromium_revision 1e4f91b70e..fab6dba98d (452694:452743)
Change log: 1e4f91b70e..fab6dba98d
Full diff: 1e4f91b70e..fab6dba98d

Changed dependencies:
* src/ios: 29bb9a3cbd..5dd7ad7679
* src/testing: cbe4c2f6c6..70762142ae
* src/third_party: 19401db99b..546282e5b3
* src/third_party/libFuzzer/src: 64bdf91585..5bcbfc5bcc
* src/tools: 939aac9d40..f9c0e2d7e1
DEPS diff: 1e4f91b70e..fab6dba98d/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2713093002
Cr-Commit-Position: refs/heads/master@{#16814}
2017-02-24 05:06:43 +00:00
deadbeef
2b62fa218c Adding suppression for race in stats collector test.
See bug for more info. This race is benign, and only exists because a
method is virtual so it can be mocked for testing.

BUG=webrtc:7221
NOTRY=True
TBR=hbos@webrtc.org

Review-Url: https://codereview.webrtc.org/2711783005
Cr-Commit-Position: refs/heads/master@{#16813}
2017-02-24 03:05:39 +00:00
buildbot
6072db9388 Roll chromium_revision e60c7cdab7..1e4f91b70e (452644:452694)
Change log: e60c7cdab7..1e4f91b70e
Full diff: e60c7cdab7..1e4f91b70e

Changed dependencies:
* src/base: b5ea783ed1..1ddd725489
* src/ios: 0750c32d59..29bb9a3cbd
* src/third_party: 821d7ec099..19401db99b
* src/third_party/catapult: 0bd2f03bed..794fff6c81
* src/tools: f4f6936464..939aac9d40
DEPS diff: e60c7cdab7..1e4f91b70e/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2711303002
Cr-Commit-Position: refs/heads/master@{#16812}
2017-02-24 01:45:54 +00:00
deadbeef
162cb53e7b Making AsyncInvoker destructor thread-safe.
The documentation for AsyncInvoker states that it owns the lifetime of
calls, and when its destructor is called, all in-flight calls are
cancelled or finish executing. The "cancelled" part is working, but if
a call is in the middle of executing, the destructor does *not* wait.

This is fixed by keeping a count of pending invocations, which is
decremented when a call is either cleared from a message queue or
finishes executing.

BUG=webrtc:3914, webrtc:3911

Review-Url: https://codereview.webrtc.org/2694723004
Cr-Commit-Position: refs/heads/master@{#16811}
2017-02-24 01:10:07 +00:00
buildbot
8e1435519c Roll chromium_revision 4597570870..e60c7cdab7 (452563:452644)
Change log: 4597570870..e60c7cdab7
Full diff: 4597570870..e60c7cdab7

Changed dependencies:
* src/base: 650978218a..b5ea783ed1
* src/build: 1ec8f3937c..3cbac77568
* src/ios: 2c98371124..0750c32d59
* src/testing: 2a3bf63d65..cbe4c2f6c6
* src/third_party: 288e456929..821d7ec099
* src/third_party/catapult: 79c542a5fa..0bd2f03bed
* src/tools: fc67b90af2..f4f6936464
DEPS diff: 4597570870..e60c7cdab7/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2716733002
Cr-Commit-Position: refs/heads/master@{#16810}
2017-02-23 22:39:09 +00:00
frederik.riedel
0d1305ee88 Added support for changing the volume of RTCAudioSource as discussed in BUG=webrtc:6533
This is a short term solution to change the volume of a RTCAudioTrack (which contains an RTCAudioSource property) until applyConstraints for RTCMediaStreamTracks has been implemented.
This CL adds one new Objective-C method to AudioSourceInterface's wrapper: -(void)setVolume:(double)volume

BUG=webrtc:6533, webrtc:6805

This is my first CL for Chromium/WebRTC, so please let me know if I did something wrong.

Review-Url: https://codereview.webrtc.org/2534843002
Cr-Commit-Position: refs/heads/master@{#16809}
2017-02-23 21:57:00 +00:00
buildbot
7aadbfa06e Roll chromium_revision 06f768b0d3..4597570870 (452498:452563)
Change log: 06f768b0d3..4597570870
Full diff: 06f768b0d3..4597570870

Changed dependencies:
* src/build: 8efe3f941c..1ec8f3937c
* src/ios: b43e63a69a..2c98371124
* src/testing: 136c2a0836..2a3bf63d65
* src/third_party: 15434ef5af..288e456929
* src/third_party/catapult: 423221a041..79c542a5fa
* src/tools: 736c1e1dea..fc67b90af2
DEPS diff: 06f768b0d3..4597570870/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2706243008
Cr-Commit-Position: refs/heads/master@{#16808}
2017-02-23 19:31:32 +00:00
Tommi
384498abb5 Use sched_yield on all POSIX platforms in PlatformThread.
(not only MacOS)

This is a test to see if perf regressions we're seeing may be related to the use of nanosleep().

BUG=695438
TBR=solenberg@webrtc.org

Review-Url: https://codereview.webrtc.org/2716683002 .
Cr-Commit-Position: refs/heads/master@{#16807}
2017-02-23 19:23:19 +00:00
buildbot
f1b351852b Roll chromium_revision 89bae66c5c..06f768b0d3 (452473:452498)
Change log: 89bae66c5c..06f768b0d3
Full diff: 89bae66c5c..06f768b0d3

Changed dependencies:
* src/base: a625e71534..650978218a
* src/build: b2274b43be..8efe3f941c
* src/ios: 039726889f..b43e63a69a
* src/third_party: b9e127e8f9..15434ef5af
* src/third_party/catapult: c9d8aeb226..423221a041
* src/tools: c35e48869f..736c1e1dea
DEPS diff: 89bae66c5c..06f768b0d3/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2707363005
Cr-Commit-Position: refs/heads/master@{#16806}
2017-02-23 17:33:04 +00:00
magjed
0e22a4cfd3 Android HW decoder: Support odd heights for non-texture output
When textures are not enabled and we are using byte buffer outputs, the
decoder is currently crashing for odd heights because of an RTC_CHECK.
This CL removes the check and handles the pointer offset to the chroma
planes for the odd height case instead.

This has been verified to work correctly on a Pixel device.

BUG=webrtc:6651

Review-Url: https://codereview.webrtc.org/2709923005
Cr-Commit-Position: refs/heads/master@{#16805}
2017-02-23 15:11:32 +00:00
aleloi
88b82b59f1 Fix compilation issue detected by internal tool.
Explicit initialization of const member of new EchoCanceller 3
submodule.

Same thing as f3e84717 from https://codereview.webrtc.org/2715573003,
but more of it.

This should be the last one.

TBR=henrik.lundin@webrtc.org

NOTRY=True
BUG=webrtc:6018

Review-Url: https://codereview.webrtc.org/2708373005
Cr-Commit-Position: refs/heads/master@{#16804}
2017-02-23 14:27:03 +00:00
buildbot
df2c4750e0 Roll chromium_revision 7322bbb0a4..89bae66c5c (452447:452473)
Change log: 7322bbb0a4..89bae66c5c
Full diff: 7322bbb0a4..89bae66c5c

Changed dependencies:
* src/build: bf347e374a..b2274b43be
* src/ios: fc4e0f9d8e..039726889f
* src/third_party: 6824ac01f3..b9e127e8f9
* src/third_party/catapult: 56214f64fe..c9d8aeb226
* src/tools: bb7a380aa2..c35e48869f
DEPS diff: 7322bbb0a4..89bae66c5c/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2711083003
Cr-Commit-Position: refs/heads/master@{#16803}
2017-02-23 14:05:53 +00:00
aleloi
f3e847170d Fix compilation issue detected by internal tool.
Explicit initialization of const member of new EchoCanceller 3
submodule.

NOTRY=True

BUG=webrtc:6018

Review-Url: https://codereview.webrtc.org/2715573003
Cr-Commit-Position: refs/heads/master@{#16802}
2017-02-23 13:56:15 +00:00
peah
522d71bf36 Finalization of the first version of EchoCanceller 3
This CL adds the remaining code for the first version of EchoCanceller3.

TBR=aleloi@webrtc.org
BUG=webrtc:6018

Review-Url: https://codereview.webrtc.org/2678423005
Cr-Commit-Position: refs/heads/master@{#16801}
2017-02-23 13:16:26 +00:00
ilnik
1e7732c3d9 Fixed Full stack tests to correctly process selected TL and SL while
calculating frame sizes. Added actual_bitrate metric which also accounts
for TL and SL info. Metric encoded_frame_size calculation is cleaned up. Perf alerts should be ignored.

BUG=webrtc:7095

Review-Url: https://codereview.webrtc.org/2709483009
Cr-Commit-Position: refs/heads/master@{#16800}
2017-02-23 13:07:56 +00:00
alessiob
676e7539e4 Sample audio files for the APM quality assessment toolbox
BUG=webrtc:7218

Review-Url: https://codereview.webrtc.org/2705363004
Cr-Commit-Position: refs/heads/master@{#16799}
2017-02-23 11:24:45 +00:00
kthelgason
560ddb7321 Set scaling limit at 320 * 180 for all implementations.
The MediaCodec decoder on android has trouble decoding video at
so low resolutions. We set the limit a bit higher for all implementations
pending a robust software fallback implementation for MediaCodec.

BUG=webrtc:7206

Review-Url: https://codereview.webrtc.org/2709153002
Cr-Commit-Position: refs/heads/master@{#16798}
2017-02-23 11:22:02 +00:00
buildbot
7439a93b4c Roll chromium_revision 2be125d927..7322bbb0a4 (452423:452447)
Change log: 2be125d927..7322bbb0a4
Full diff: 2be125d927..7322bbb0a4

Changed dependencies:
* src/base: 904348faab..a625e71534
* src/ios: 105f5776a6..fc4e0f9d8e
* src/third_party: cadafaa5f1..6824ac01f3
* src/tools: 26aaeec763..bb7a380aa2
DEPS diff: 2be125d927..7322bbb0a4/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2713843002
Cr-Commit-Position: refs/heads/master@{#16797}
2017-02-23 10:57:34 +00:00
philipel
8aadd50b96 Propagate packet pacing information to SendTimeHistory.
In order to not make this CL too large I have broken it down into at least two
steps. Previous CL: https://codereview.chromium.org/2628563003/

webrtc::PacedSender::Process                        <--- previous CL start here
webrtc::PacedSender::SendPacket
webrtc::PacketRouter::TimeToSendPacket
webrtc::ModuleRtpRtcpImpl::TimeToSendPacket         <--- previous CL end here, this Cl start here
webrtc::RTPSender::TimeToSendPacket
webrtc::RTPSender::PrepareAndSendPacket
webrtc::RTPSender::AddPacketToTransportFeedback
webrtc::TransportFeedbackAdapter::AddPacket
webrtc::SendTimeHistory::AddAndRemoveOld            <--- this CL end here

BUG=webrtc:6822

Review-Url: https://codereview.webrtc.org/2708873003
Cr-Commit-Position: refs/heads/master@{#16796}
2017-02-23 10:56:13 +00:00
sakal
7adadb1fdf Add QP for libvpx VP9 decoder.
Also adds a basic unit test for VP9 implementation.

BUG=webrtc:6541

Review-Url: https://codereview.webrtc.org/2654813002
Cr-Commit-Position: refs/heads/master@{#16795}
2017-02-23 10:54:57 +00:00
brandtr
1e46434e7e Rename config structs in VideoProcessor tests.
This CL harmonizes and improves the naming of the config structs
in the VideoProcessor tests. It should have no functional implications.

CodecConfigPars -> CodecParams:
  This struct mainly contains codec settings.

QualityMetrics -> QualityThresholds:
  This struct contains thresholds against which the calculated
  PSNR and SSIM metrics are compared to.

RateControlMetrics -> RateControlThresholds:
  This struct contains thresholds against which the calculated
  rate control metrics are compared to.

BUG=webrtc:6634

Review-Url: https://codereview.webrtc.org/2703333004
Cr-Commit-Position: refs/heads/master@{#16794}
2017-02-23 10:49:16 +00:00