14039 Commits

Author SHA1 Message Date
aleloi
553024ab34 During a fix of an unrelated issue, a bug was introduced in the rtp analyzer tool: when the number of data points was divisible by RTPStatitstics.PLOT_RESOLUTION_MS (which is 50), pyplot.plot was called with arrays of different lengths. One of the arrays could be one element larger.
This change trims the potentially longer array to the size of the smaller one.

NOTRY=True
BUG=none

Review-Url: https://codereview.webrtc.org/2357883002
Cr-Commit-Position: refs/heads/master@{#14657}
2016-10-18 08:44:50 +00:00
brandtr
e405d9b8df Add a fuzzer for FlexfecReceiver.
Specifically set max_len to 2000, to simulate multi-packet insertions.

BUG=webrtc:5654
NOTRY=true

Review-Url: https://codereview.webrtc.org/2391263002
Cr-Commit-Position: refs/heads/master@{#14656}
2016-10-18 08:18:12 +00:00
henrika
e6b58291a0 Extends how AppRTCMobile handles audio focus on Android
BUG=NONE
NOTRY=TRUE
R=glaznev@webrtc.org

Review URL: https://codereview.webrtc.org/2408063008 .

Cr-Commit-Position: refs/heads/master@{#14655}
2016-10-18 08:18:11 +00:00
kjellander
91718a1629 Roll script: Update after SVN support was dropped from depot tools
After https://codereview.chromium.org/2404413002 PyLint started
failing for our roll script. This fixes that.

BUG=webrtc:6544
TBR=phoglund@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2425923002
Cr-Commit-Position: refs/heads/master@{#14654}
2016-10-18 08:15:05 +00:00
ehmaldonado
5c639895fb Import build/config/clang/clang.gni in webrtc/base/BUILD.gn
Currently,
https://build.chromium.org/p/chromium.fyi/builders/CrWinAsan%28dll%29/builds/...
is broken because of

Writing """\
clang_use_chrome_plugins = false
is_asan = true
is_clang = true
is_component_build = true
is_debug = false
llvm_force_head_revision = true
symbol_level = 2
target_cpu = "x86"
v8_enable_verify_heap = true
""" to C:\b\c\b\CrWinAsan_dll_\src\out\Release\args.gn.

C:\b\c\b\CrWinAsan_dll_\src\buildtools\win\gn.exe gen //out/Release --check
--runtime-deps-list-file=C:\b\c\b\CrWinAsan_dll_\src\out\Release\runtime_deps
  -> returned 1
ERROR at //third_party/webrtc/base/BUILD.gn:276:21: Undefined identifier in string expansion.
        data += [ "$clang_base_path/lib/clang/$clang_version/lib/windows/clang_rt.asan_dynamic-i386.dll" ]
                    ^--------------
"clang_base_path" is not currently in scope.
See //content/test/BUILD.gn:307:7: which caused the file to be included.
      "//third_party/webrtc/base:rtc_base",
      ^-----------------

NOTRY=True
NOPRESUBMIT=True
R=kjellander@webrtc.org, thakis@chromium.org
BUG=chromium:497757
TBR=kjellander

Review-Url: https://codereview.webrtc.org/2422223002
Cr-Commit-Position: refs/heads/master@{#14653}
2016-10-17 19:28:48 +00:00
honghaiz
862d74d017 Revert of Add path for recovered packets from internal::Call to RtpStreamReceiver. (patchset #2 id:60001 of https://codereview.webrtc.org/2390823009/ )
Reason for revert:
Speculative revert as it may be the cause of the DrMemory test failure:
https://build.chromium.org/p/client.webrtc/builders/Win%20DrMemory%20Full/builds/5115

Original issue's description:
> Add path for recovered packets from internal::Call to RtpStreamReceiver.
>
> When the FlexfecReceiver recovers media packets, it inserts these into
> internal::Call, which then distributes them to the appropriate
> VideoReceiveStream/RtpStreamReceiver.
>
> BUG=webrtc:5654
>
> Committed: https://crrev.com/9c4b4b47f4325b48e1856566a30983f9e4e30dd0
> Cr-Commit-Position: refs/heads/master@{#14642}

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

Review-Url: https://codereview.webrtc.org/2427733002
Cr-Commit-Position: refs/heads/master@{#14652}
2016-10-17 16:42:38 +00:00
danilchap
c4fd23cdda Add rtc::Optional::reset
BUG=None

Review-Url: https://codereview.webrtc.org/2426473004
Cr-Commit-Position: refs/heads/master@{#14651}
2016-10-17 14:16:57 +00:00
buildbot
9b9910dda7 Roll chromium_revision 3d5a0fb164..c8b7ee41e0 (425604:425645)
Change log: 3d5a0fb164..c8b7ee41e0
Full diff: 3d5a0fb164..c8b7ee41e0

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2423933002
Cr-Commit-Position: refs/heads/master@{#14650}
2016-10-17 10:58:53 +00:00
sakal
7e76560c35 Enable logging to console in DirectRTCClientTest.
This CL enables printing Android log to stdout for the test. This makes debugging the flakiness of the test easier.

BUG=webrtc:6475
R=magjed@webrtc.org

Review-Url: https://codereview.webrtc.org/2418413002
Cr-Commit-Position: refs/heads/master@{#14649}
2016-10-17 10:17:32 +00:00
danilchap
2f255d8d67 Replace const -> constexpr for rtcp Packet Type
for consistency with other rtcp packet classes.

BUG=webrtc:5260

Review-Url: https://codereview.webrtc.org/2361853002
Cr-Commit-Position: refs/heads/master@{#14648}
2016-10-17 09:07:59 +00:00
danilchap
c1f40b7bae Remove RtcpPacket dependency on rtcp_utility
and thus IP_PACKET_SIZE constant:
Build() use BlockLength() instead of constant IP_PACKET_SIZE for packet
capacity, adding extra checks about packet generation in tests.
Build(callback) removed as unused.
definitions reordered to follow style.

BUG=webrtc:5260

Review-Url: https://codereview.webrtc.org/2270753002
Cr-Commit-Position: refs/heads/master@{#14647}
2016-10-17 08:44:49 +00:00
johan
27c3d5b652 Restore thread name consistency for webrtc/p2p/ .
Thread variables were named worker_thread, while they actually
reference the network_thread introduced with the CLs below.

Original introduction of network_thread:
https://codereview.webrtc.org/1895813003
https://codereview.webrtc.org/1903393004

Renming of woker_thread_ to network_thread_ in P2PTransportChannel:
https://codereview.webrtc.org/2378573003

BUG=webrtc:6432

Review-Url: https://codereview.webrtc.org/2396513003
Cr-Commit-Position: refs/heads/master@{#14646}
2016-10-17 07:55:03 +00:00
peah
883ad662f4 Removed the deprecated audioproc executable
BUG=webrtc:6536

Review-Url: https://codereview.webrtc.org/2425583002
Cr-Commit-Position: refs/heads/master@{#14645}
2016-10-17 07:08:56 +00:00
kjellander
e40a7ee007 GN: Exclude suppressions of Chromium Clang warnings for Chromium builds.
These suppressions are causing GN errors when Chromium targets are depending
directly on WebRTC targets (needed for https://codereview.chromium.org/2413103004)

BUG=webrtc:4256
NOTRY=True

Review-Url: https://codereview.webrtc.org/2408133008
Cr-Commit-Position: refs/heads/master@{#14644}
2016-10-17 06:56:20 +00:00
buildbot
671534e76d Roll chromium_revision 90b4cf429c..3d5a0fb164 (425384:425604)
Change log: 90b4cf429c..3d5a0fb164
Full diff: 90b4cf429c..3d5a0fb164

Changed dependencies:
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/0d81373f91..ac9a7f6384
DEPS diff: 90b4cf429c..3d5a0fb164/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2419373002
Cr-Commit-Position: refs/heads/master@{#14643}
2016-10-17 02:47:03 +00:00
brandtr
9c4b4b47f4 Add path for recovered packets from internal::Call to RtpStreamReceiver.
When the FlexfecReceiver recovers media packets, it inserts these into
internal::Call, which then distributes them to the appropriate
VideoReceiveStream/RtpStreamReceiver.

BUG=webrtc:5654

Review-Url: https://codereview.webrtc.org/2390823009
Cr-Commit-Position: refs/heads/master@{#14642}
2016-10-16 21:11:00 +00:00
nisse
e5ddf52b97 Delete unused file webrtcvideochannelfactory.h.
BUG=None

Review-Url: https://codereview.webrtc.org/2416453002
Cr-Commit-Position: refs/heads/master@{#14641}
2016-10-15 18:29:59 +00:00
peah
285e55816a Removed suppressions for the data race inside the APM that is now fixed.
BUG=webrtc:2521
NOTRY=True

Review-Url: https://codereview.webrtc.org/2418093002
Cr-Commit-Position: refs/heads/master@{#14640}
2016-10-14 21:44:54 +00:00
buildbot
2c4c42217a Roll chromium_revision a3c4a78675..90b4cf429c (425286:425384)
Change log: a3c4a78675..90b4cf429c
Full diff: a3c4a78675..90b4cf429c

Changed dependencies:
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/1991af6900..0d81373f91
DEPS diff: a3c4a78675..90b4cf429c/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2416153003
Cr-Commit-Position: refs/heads/master@{#14639}
2016-10-14 18:49:05 +00:00
buildbot
0d4b129ab2 Roll chromium_revision 00384b2217..a3c4a78675 (425234:425286)
Change log: 00384b2217..a3c4a78675
Full diff: 00384b2217..a3c4a78675

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2422583002
Cr-Commit-Position: refs/heads/master@{#14638}
2016-10-14 10:39:12 +00:00
peah
8f7cc7e77d This CL corrects the emptying of the render queues for the
AEC and AECM when these become full to also work when not
in debug mode.

BUG=webrtc:6530

Review-Url: https://codereview.webrtc.org/2419023002
Cr-Commit-Position: refs/heads/master@{#14637}
2016-10-14 10:23:39 +00:00
buildbot
5d2e58c8fb Roll chromium_revision 61fb879aaf..00384b2217 (425083:425234)
Change log: 61fb879aaf..00384b2217
Full diff: 61fb879aaf..00384b2217

Changed dependencies:
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/0d81373f91..1991af6900
DEPS diff: 61fb879aaf..00384b2217/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2414763004
Cr-Commit-Position: refs/heads/master@{#14636}
2016-10-14 02:37:16 +00:00
zijiehe
91902cb6c0 Remove DesktopRegion parameter from DesktopCapturer::Capture.
To ensure this change won't break Chromium, this is the first change, to add a
new CaptureFrame() function, and let Capture(DesktopRegion) and CaptureFrame()
call each other. So both a legacy consumer or a legacy implementation won't be
broken.

BUG=https://bugs.chromium.org/p/webrtc/issues/detail?id=6513

Review-Url: https://codereview.webrtc.org/2409833002
Cr-Commit-Position: refs/heads/master@{#14635}
2016-10-13 23:47:54 +00:00
buildbot
794d535e51 Roll chromium_revision 50c7b3ce18..61fb879aaf (424992:425083)
Change log: 50c7b3ce18..61fb879aaf
Full diff: 50c7b3ce18..61fb879aaf

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2413313002
Cr-Commit-Position: refs/heads/master@{#14634}
2016-10-13 18:37:56 +00:00
aleloi
9ae585de8d Cleanup of voice_engine includes.
I added a few missing dependencies to the GN target of voice_engine while doing other
unrelated work. Currently GN's header include checker has the
following to say:

  $ gn check out/gn_debug webrtc/voice_engine
  ERROR at //webrtc/voice_engine/include/voe_network.h:38:11: Include not allowed.
  #include "webrtc/transport.h"
            ^-----------------
  It is not in any dependency of
    //webrtc/voice_engine:voice_engine
  The include file is in the target(s):
    //webrtc:webrtc
  which should somehow be reachable.

transport.h should probably move in to webrtc/api, since it is already
a pure virtual interface and is used in quite a few places.

BUG=webrtc:5589
NOTRY=True

Review-Url: https://codereview.webrtc.org/2421483002
Cr-Commit-Position: refs/heads/master@{#14633}
2016-10-13 13:57:20 +00:00
kjellander
3283cf917b Add asyncstuntcpsocket_unittest.cc to rtc_unittests
asyncstuntcpsocket_unittest.cc never seem to have been added
along with the other tests in webrtc/p2p. Luckily the tests pass.

BUG=None
NOTRY=True

Review-Url: https://codereview.webrtc.org/2404173002
Cr-Commit-Position: refs/heads/master@{#14632}
2016-10-13 13:35:53 +00:00
sprang
982bf89444 Revert of Add RtcpRttStats to AudioStream (patchset #1 id:1 of https://codereview.webrtc.org/2402333002/ )
Reason for revert:
Speculative revert.
Intermittent memory access errors suspected to be caused by this cl.

See for instance https://build.chromium.org/p/client.webrtc/builders/Win%20DrMemory%20Light/builds/8018

UNADDRESSABLE ACCESS of freed memory: reading 0x0331d330-0x0331d334 4 byte(s)
# 0 webrtc::voe::RtcpRttStatsProxy::LastProcessedRtt
# 1 webrtc::ModuleRtpRtcpImpl::Process

Original issue's description:
> Add RtcpRttStats to AudioStream
>
> BUG=webrtc:6508
>
> Committed: https://crrev.com/e0729c56d35acfaf9738fdb32c6508cd78eaf089
> Cr-Commit-Position: refs/heads/master@{#14595}

TBR=stefan@webrtc.org,minyue@webrtc.org,solenberg@webrtc.org,michaelt@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:6508

Review-Url: https://codereview.webrtc.org/2415943002
Cr-Commit-Position: refs/heads/master@{#14631}
2016-10-13 13:23:18 +00:00
solenberg
b593bc06ad Suggest myself as owner of api/
BUG=webrtc:5716
NOTRY=true

Review-Url: https://codereview.webrtc.org/2417803002
Cr-Commit-Position: refs/heads/master@{#14630}
2016-10-13 11:09:48 +00:00
buildbot
81b8a0749f Roll chromium_revision 2cabef4e7d..50c7b3ce18 (424936:424992)
Change log: 2cabef4e7d..50c7b3ce18
Full diff: 2cabef4e7d..50c7b3ce18

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2416443004
Cr-Commit-Position: refs/heads/master@{#14629}
2016-10-13 10:56:53 +00:00
henrik.lundin
0d8385770b NetEq: Convert AverageIAT from int to float calculations
With this change, the calculations inside AverageIAT are changed to be
in double-precision floating point instead of in fixed point. Also,
the method's name is changed to EstimatedClockDriftPpm to better
reflect what it returns.

A few unit tests had to be updated because of minor numerical
differences.

Also removing the UBSan suppression related to this issue.

BUG=webrtc:5889

Review-Url: https://codereview.webrtc.org/2408653002
Cr-Commit-Position: refs/heads/master@{#14628}
2016-10-13 10:35:58 +00:00
henrik.lundin
c9ec8758db NetEq: Remove special case for Merge without Expand
This was an ill tested special case which turned out to be more problem
than benefit. The special case was only triggered when the decoder frame
size was smaller than 10 ms, which is more or less unsupported by NetEq.

Also fixed a bug in a test, a bug which was exposed by the code change.

BUG=chromium:654983

Review-Url: https://codereview.webrtc.org/2412883002
Cr-Commit-Position: refs/heads/master@{#14627}
2016-10-13 09:43:38 +00:00
henrika
722b0dc108 Revert of Android audio playout now supports non-call media streams (patchset #3 id:10004 of https://codereview.webrtc.org/2411263003/ )
Reason for revert:
There is a risk of ending up in a bad state due to race conditions with this patch. Tests in downstream clients have shown that it can
happen that an output stream is opened up in MUSIC mode when it should not.

Reverting since the new functionality added here is not worth the
risk of breaking existing clients.

Original issue's description:
> Android audio playout now supports non-call media streams.
>
> The default (preferred) stream type for output audio is STREAM_VOICE_CALL since the WebRTC stack is mainly intended for VoIP calls. But if the user wants to run in another mode than COMM mode, we now accept it and change the stream type to STREAM_MUSIC instead. It can e.g. be suitable for applications that does not record audio or if a call shall be casted to a Chromecast device.
>
> The solution is somewhat experimental.
>
> NOTRY=TRUE
>
> BUG=webrtc:4767
>
> Committed: https://crrev.com/872f614111f436d15e29516ce19c3b63d25b8639
> Cr-Commit-Position: refs/heads/master@{#14613}

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

Review-Url: https://codereview.webrtc.org/2420583002
Cr-Commit-Position: refs/heads/master@{#14626}
2016-10-13 08:12:37 +00:00
Henrik Kjellander
dd7a1cff68 Landmine due to corrupt .pdb files on Windows.
BUG=None
TBR=ehmaldonado@webrtc.org

Review URL: https://codereview.webrtc.org/2418713002 .

Cr-Commit-Position: refs/heads/master@{#14625}
2016-10-13 04:07:15 +00:00
kjellander
da3303fda0 Revert of Remove tools dir from root webrtc target (patchset #1 id:1 of https://codereview.webrtc.org/2412353004/ )
Reason for revert:
Seems to break our Android Swarming bots. Probably due to https://cs.chromium.org/chromium/src/testing/buildbot/gn_isolate_map.pyl?rcl=0&l=875

Error:
/b/c/b/Android32__M_Nexus5X__dbg_/src/buildtools/linux64/gn gen //out/Debug --check --runtime-deps-list-file=/b/c/b/Android32__M_Nexus5X__dbg_/src/out/Debug/runtime_deps
  -> returned 1
ERROR The label "//webrtc/tools:tools_unittests(//build/toolchain/android:arm)" isn't a target.
When reading the line:
  //webrtc/tools:tools_unittests
from the --runtime-deps-list-file=/b/c/b/Android32__M_Nexus5X__dbg_/src/out/Debug/runtime_deps
GN gen failed: 1

Original issue's description:
> Remove tools dir from root webrtc target
>
> Removing it as we don't need it to build as part of webrtc target.
>
> BUG=webrtc:6412
> NOTRY=True
>
> Committed: https://crrev.com/163b1a2d0a0f8e822d8cd15f6385057bc7988ad1
> Cr-Commit-Position: refs/heads/master@{#14622}

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

Review-Url: https://codereview.webrtc.org/2420573002
Cr-Commit-Position: refs/heads/master@{#14624}
2016-10-13 03:50:25 +00:00
Henrik Kjellander
91a5759733 Roll chromium_revision 316b880c55..2cabef4e7d (421519:424936)
Change symbol level for Android Release ARM builds similar to
https://codereview.chromium.org/2383743002

Disabled -Wobjc-missing-property-synthesis warning for iOS.

Change log: 316b880c55..2cabef4e7d
Full diff: 316b880c55..2cabef4e7d

Changed dependencies:
* src/buildtools: 86f7e41d94..39b1db2ab4
* src/third_party/libFuzzer/src: eb9b8b0366..3e02228ebf
* src/third_party/libvpx/source/libvpx: 99ef84c65a..294a734a5f
* src/third_party/libyuv: de944ed8c7..198bce3959
DEPS diff: 316b880c55..2cabef4e7d/DEPS

Clang version changed 282487:283753
Details: 316b880c55..2cabef4e7d/tools/clang/scripts/update.py

TBR=marpan@webrtc.org,
BUG=webrtc:6520

Review URL: https://codereview.webrtc.org/2412383002 .

Cr-Commit-Position: refs/heads/master@{#14623}
2016-10-13 03:25:44 +00:00
charujain
163b1a2d0a Remove tools dir from root webrtc target
Removing it as we don't need it to build as part of webrtc target.

BUG=webrtc:6412
NOTRY=True

Review-Url: https://codereview.webrtc.org/2412353004
Cr-Commit-Position: refs/heads/master@{#14622}
2016-10-13 03:22:51 +00:00
fbarchard
614f68f112 Remove duplicate entry in webrtc .gn file exec_script_whitelist
In the file .gn exec_script_whitelist has 2 copies of
  "//webrtc/modules/video_render/BUILD.gn",

This CL removes the duplicate

BUG=webrtc:6527
TEST=try bots
R=kjellander@webrtc.org

Review-Url: https://codereview.webrtc.org/2414953002
Cr-Commit-Position: refs/heads/master@{#14621}
2016-10-13 01:11:55 +00:00
Stefan Holmer
db158f9b9e Fix experiment name in BitrateControllerTest.
TBR=mflodman@webrtc.org
BUG=webrtc:6519

Review URL: https://codereview.webrtc.org/2414913002 .

Cr-Commit-Position: refs/heads/master@{#14620}
2016-10-13 00:12:03 +00:00
stefan
77c663d0f5 Give FeedbackTimeout experiment the correct name.
NOTRY=true
BUG=webrtc:6519

Review-Url: https://codereview.webrtc.org/2410323002
Cr-Commit-Position: refs/heads/master@{#14619}
2016-10-12 22:57:49 +00:00
stefan
12a39f4100 Don't crash on unexpected stap-a or fu-a.
BUG=chromium:655091

Review-Url: https://codereview.webrtc.org/2406363004
Cr-Commit-Position: refs/heads/master@{#14618}
2016-10-12 22:30:18 +00:00
hbos
75c8fb4b2c DataChannelInterface default impl of [messages/bytes]_[sent/received].
The default implementations are provided as to not break Chromium mocks,
as soon as we have done a successful roll they should be updated and the
default implementations removed.

TBR=hta@webrtc.org, deadbeef@webrtc.org
NOTRY=True
BUG=chromium:654927

Review-Url: https://codereview.webrtc.org/2414613003
Cr-Commit-Position: refs/heads/master@{#14617}
2016-10-12 21:48:20 +00:00
hbos
84ffdee879 DataChannel[Interface]::[message/bytes]_[sent/received]() added.
These are required for the RTCDataChannelStats[1] that will be collected
in a follow-up CL.

[1] https://w3c.github.io/webrtc-stats/#dcstats-dict*

BUG=chromium:654927, chromium:627816

Review-Url: https://codereview.webrtc.org/2413803002
Cr-Commit-Position: refs/heads/master@{#14616}
2016-10-12 21:14:45 +00:00
erikchen
73fdc317b2 Several fixes to screen_capturer_mac.
Make sure that the appropriate run loop source gets added/removed. More clean up
to remove unnecessary functions and suppress deprecated declaration warnings.

BUG=webrtc:6029

Review-Url: https://codereview.webrtc.org/2417603002
Cr-Commit-Position: refs/heads/master@{#14615}
2016-10-12 19:24:27 +00:00
ossu
e280cdeb74 Voe::Channel: Turned GetPlayoutFrequency into GetRtpTimestampRateHz.
This gets rid of a bit of codec-specific code in VoE.

BUG=webrtc:5805

Review-Url: https://codereview.webrtc.org/2355483003
Cr-Commit-Position: refs/heads/master@{#14614}
2016-10-12 18:04:16 +00:00
henrika
872f614111 Android audio playout now supports non-call media streams.
The default (preferred) stream type for output audio is STREAM_VOICE_CALL since the WebRTC stack is mainly intended for VoIP calls. But if the user wants to run in another mode than COMM mode, we now accept it and change the stream type to STREAM_MUSIC instead. It can e.g. be suitable for applications that does not record audio or if a call shall be casted to a Chromecast device.

The solution is somewhat experimental.

NOTRY=TRUE

BUG=webrtc:4767

Review-Url: https://codereview.webrtc.org/2411263003
Cr-Commit-Position: refs/heads/master@{#14613}
2016-10-12 15:11:48 +00:00
aleloi
116ec6da50 Implemented further mixer interface change suggestions from https://codereview.webrtc.org/2386383003/
Changed mixability status into AddSource/RemoveSource. Added 'ssrc()'
method to the MixerSource interface. Removed unnecessary member 'num_audio_sources_' and made the mixer be refcounted.

BUG=webrtc:6346
NOTRY=True

Review-Url: https://codereview.webrtc.org/2408683002
Cr-Commit-Position: refs/heads/master@{#14612}
2016-10-12 13:07:13 +00:00
minyue
7e30432b36 Hooking up audio network adaptor to VoE.
BUG=webrtc:6303

Review-Url: https://codereview.webrtc.org/2390883004
Cr-Commit-Position: refs/heads/master@{#14611}
2016-10-12 12:01:01 +00:00
solenberg
917d4e1e71 Removed the legacy behavior of stopping playout when setting new receive codecs.
BUG=webrtc:4690

Review-Url: https://codereview.webrtc.org/2409483003
Cr-Commit-Position: refs/heads/master@{#14610}
2016-10-12 10:20:34 +00:00
aleloi
e97974d203 Cleanup of the mixer interface.
This implements some of the suggestions in https://codereview.webrtc.org/2386383003/, namely

* Removing anonymous mixing.
* Removing the volume meter.

BUG=webrtc:6346

Review-Url: https://codereview.webrtc.org/2402283003
Cr-Commit-Position: refs/heads/master@{#14609}
2016-10-12 10:06:34 +00:00
peah
73a28ee066 The AudioProcessing class is used as an interface
to the functionality in the audio processing module.
Therefore, it should be a pure interface.
This CL ensures that is the case.

BUG=webrtc:6515

Review-Url: https://codereview.webrtc.org/2406193002
Cr-Commit-Position: refs/heads/master@{#14608}
2016-10-12 10:01:57 +00:00