14849 Commits

Author SHA1 Message Date
buildbot
2c8d94be4b Roll chromium_revision 699f628e13..9807edde11 (438637:438688)
Change log: 699f628e13..9807edde11
Full diff: 699f628e13..9807edde11

Changed dependencies:
* src/third_party/catapult: 6a5ce5c1df..788644ef37
DEPS diff: 699f628e13..9807edde11/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2576923002
Cr-Commit-Position: refs/heads/master@{#15617}
2016-12-15 01:09:47 +00:00
zijiehe
2769ec62c0 Add WriteIsolatedOutput() functions
WriteIsolatedOutput() functions write large content into swarming isolated
output folder, which are useful to log large test data for debugging purpose.

BUG=webrtc:6732

TBR=holmer@webrtc.org

Review-Url: https://codereview.webrtc.org/2558693002
Cr-Commit-Position: refs/heads/master@{#15616}
2016-12-14 23:03:11 +00:00
buildbot
fba7900f76 Roll chromium_revision eae1bf6b1e..699f628e13 (438554:438637)
Change log: eae1bf6b1e..699f628e13
Full diff: eae1bf6b1e..699f628e13

Changed dependencies:
* src/third_party/catapult: c786869039..6a5ce5c1df
DEPS diff: eae1bf6b1e..699f628e13/DEPS

Clang version changed 288545:289575
Details: eae1bf6b1e..699f628e13/tools/clang/scripts/update.py

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2577813002
Cr-Commit-Position: refs/heads/master@{#15615}
2016-12-14 22:30:19 +00:00
hta
88cf05cf73 Guard against uninitialized packetization modes.
This change inserts a RTC_CHECK for illegal packetization modes
when RTP packetizers are constructed.

This should help find places where this field is not initialized.

BUG=webrtc:6858

Review-Url: https://codereview.webrtc.org/2575073002
Cr-Commit-Position: refs/heads/master@{#15614}
2016-12-14 20:48:39 +00:00
buildbot
d30bd18048 Roll chromium_revision a20ca9fe57..eae1bf6b1e (438523:438554)
Change log: a20ca9fe57..eae1bf6b1e
Full diff: a20ca9fe57..eae1bf6b1e

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2574323002
Cr-Commit-Position: refs/heads/master@{#15613}
2016-12-14 19:09:21 +00:00
buildbot
9ce8cbfe06 Roll chromium_revision 135e29eed5..a20ca9fe57 (438491:438523)
Change log: 135e29eed5..a20ca9fe57
Full diff: 135e29eed5..a20ca9fe57

Changed dependencies:
* src/third_party/catapult: 041b58513c..c786869039
DEPS diff: 135e29eed5..a20ca9fe57/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2569943004
Cr-Commit-Position: refs/heads/master@{#15612}
2016-12-14 16:15:13 +00:00
hbos
9a394f0649 Skip RTCMediaStreamTrackStats.echoReturnLoss[Enhancement] default value.
Due to the Chromium implementation[1] of GetAudioProcesssingStats,
echoReturnLoss and echoReturnLossEnhancement could default to -100 when
no value was available. This should be improved by using rtc::Optional
or AudioProcessorInterface::GetStats being able to return false, but
this requires a bunch of refactoring.

In the meantime we "blacklist" the value -100 which is a nonsense value
anyway. In that case echoReturnLoss[Enhancement] is correctly left
undefined.

[1] https://cs.chromium.org/chromium/src/content/renderer/media/media_stream_audio_processor_options.cc?sq=package:chromium&dr=C&rcl=1481530670&l=461

BUG=chromium:669877

Review-Url: https://codereview.webrtc.org/2573443002
Cr-Commit-Position: refs/heads/master@{#15611}
2016-12-14 15:58:30 +00:00
henrika
c3c2f31852 Adds basic Bluetooth support to AppRTCMobile
BUG=webrtc:6649

- Supports Bluetooth Headset profile.
- Detects new BT headset:
  + enabled at start, and
  + powered on during active call.
- Enables/disables BT SCO channel when BT device is selected.
- Removes proximity sensor usage to avoid conflicts (will be added again later).
- Adds new (unused) APIs to explicitly select audio device.
- Starts routing audio to BT headset when enabled, i.e, BT is default.

Review-Url: https://codereview.webrtc.org/2501983002
Cr-Commit-Position: refs/heads/master@{#15610}
2016-12-14 15:37:01 +00:00
johan
db8af2a953 Run 'git cl format --full' on Base64.
# Legal requires us to keep the original license header.
NOPRESUBMIT=true
BUG=None

Review-Url: https://codereview.webrtc.org/2574143002
Cr-Commit-Position: refs/heads/master@{#15609}
2016-12-14 15:15:19 +00:00
danilchap
9006987243 Remove deprecated RTPSender::SendPadData
BUG=webrtc:5565

Review-Url: https://codereview.webrtc.org/2551143004
Cr-Commit-Position: refs/heads/master@{#15608}
2016-12-14 14:16:43 +00:00
johan
e2ec7c270b Remove static cast from H264SpropParameterSets.
This CL is chained to https://codereview.webrtc.org/2539153002/ .

BUG=webrtc:5948

Review-Url: https://codereview.webrtc.org/2568953005
Cr-Commit-Position: refs/heads/master@{#15607}
2016-12-14 14:08:38 +00:00
ivoc
930959d261 Improvements to the reliability of the echo detector perf test.
BUG=chromium:673683

Review-Url: https://codereview.webrtc.org/2568883004
Cr-Commit-Position: refs/heads/master@{#15606}
2016-12-14 13:48:25 +00:00
buildbot
a701469a93 Roll chromium_revision a8e17a3031..135e29eed5 (438476:438491)
Change log: a8e17a3031..135e29eed5
Full diff: a8e17a3031..135e29eed5

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2572023003
Cr-Commit-Position: refs/heads/master@{#15605}
2016-12-14 13:06:57 +00:00
johan
8fc0c4c32f Add vector<uint8_t> to Base64 decoded data types.
This is a prerequisite to decode fmtp sprop-parameter-sets into
the right encoding for H264SpsPpsTracker.

# Legal requires us to keep the original license header.
NOPRESUBMIT=true
BUG=webrtc:5948

Review-Url: https://codereview.webrtc.org/2539153002
Cr-Commit-Position: refs/heads/master@{#15604}
2016-12-14 12:13:05 +00:00
kjellander@webrtc.org
0878f94650 Delete accidental drmemory symlink
Dr Memory is no longer used and the symlink in third_party was
accidentally added in https://codereview.webrtc.org/2399373002

TBR=philipel@webrtc.org
BUG=webrtc:5006

Review-Url: https://codereview.webrtc.org/2578463003 .
Cr-Commit-Position: refs/heads/master@{#15603}
2016-12-14 12:05:22 +00:00
kjellander
665da28857 Autoroller: Add --ignore-unclean-workdir flag
Add a flag that makes the script more useful for local development, when
you normally develop on a local branch.

BUG=webrtc:5006
NOTRY=True

Review-Url: https://codereview.webrtc.org/2566223007
Cr-Commit-Position: refs/heads/master@{#15602}
2016-12-14 11:57:13 +00:00
aleloi
a5bb562bfe Delete webrtc/transport.h.
Preliminary work for this deletion was done in
https://codereview.webrtc.org/2426563003. The header has been moved to
webrtc/api/transport.h. This follow-up CL may cause breakages for
clients that have not updated their includes.

TBR=kwiberg@webrtc.org
BUG=webrtc:6785

Review-Url: https://codereview.webrtc.org/2568953007
Cr-Commit-Position: refs/heads/master@{#15601}
2016-12-14 11:48:53 +00:00
peah
9e1e6c599d Corrected access of null pointer in audioproc_f:
The previous CL that added the ability to add
and artificial nearend signal had an issue with
null pointer access.

This is addressed in this CL.

BUG=webrtc:6018

Review-Url: https://codereview.webrtc.org/2573033003
Cr-Commit-Position: refs/heads/master@{#15600}
2016-12-14 11:12:27 +00:00
henrika
63e6a38745 Removes verification of audio parameters on Android
TBR=glaznev
BUG=webrtc:6890

Review-Url: https://codereview.webrtc.org/2572963003
Cr-Commit-Position: refs/heads/master@{#15599}
2016-12-14 10:53:31 +00:00
buildbot
fded4ccec4 Roll chromium_revision 5fb8c41aea..a8e17a3031 (438448:438476)
Change log: 5fb8c41aea..a8e17a3031
Full diff: 5fb8c41aea..a8e17a3031

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2575773002
Cr-Commit-Position: refs/heads/master@{#15598}
2016-12-14 10:25:00 +00:00
nisse
0989fbcad2 Revert of Delete VideoFrame default constructor, and IsZeroSize method. (patchset #5 id:80001 of https://codereview.webrtc.org/2541863002/ )
Reason for revert:
Crashes perf tests, e.g.,

./out/Debug/webrtc_perf_tests --gtest_filter='FullStackTest.ScreenshareSlidesVP8_2TL_VeryLossyNet'

dies with an assert related to rtc::Optional.

Original issue's description:
> Delete VideoFrame default constructor, and IsZeroSize method.
>
> This ensures that the video_frame_buffer method never can return a
> null pointer.
>
> BUG=webrtc:6591
>
> Committed: https://crrev.com/bfcf561923a42005e4c7d66d8e72e5932155f997
> Cr-Commit-Position: refs/heads/master@{#15574}

TBR=magjed@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:6591

Review-Url: https://codereview.webrtc.org/2574123002
Cr-Commit-Position: refs/heads/master@{#15597}
2016-12-14 10:06:49 +00:00
ivoc
7b2516620c Fix for left shift of negative value in NetEq.
BUG=chromium:666612

Review-Url: https://codereview.webrtc.org/2569193002
Cr-Commit-Position: refs/heads/master@{#15596}
2016-12-14 10:00:02 +00:00
nisse
bd6c6fa309 Delete method Pathname::url and base/urlencode*
BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2572703002
Cr-Commit-Position: refs/heads/master@{#15595}
2016-12-14 09:43:08 +00:00
skvlad
bb66ec3573 Disable flaky test VideoProcessorIntegrationTest.ProcessNoLossChangeFrameRateFrameDropVP9
This test is flaky on all platforms, not just Android. Disabling it entirely until webrtc:6057 is fixed.

BUG=webrtc:6057

Review-Url: https://codereview.webrtc.org/2568743007
Cr-Commit-Position: refs/heads/master@{#15594}
2016-12-14 09:17:34 +00:00
peah
e0eae3cec6 This CL adds the basic framework for AEC3 in the audio processing module.
It will be followed by a number of other CLs that extends this framework.

BUG=webrtc:6018

Review-Url: https://codereview.webrtc.org/2567513003
Cr-Commit-Position: refs/heads/master@{#15593}
2016-12-14 09:16:28 +00:00
nisse
db397429d4 Delete unused class rtc::RegKey.
BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2571763002
Cr-Commit-Position: refs/heads/master@{#15592}
2016-12-14 08:30:33 +00:00
kjellander
e5dc62aeb8 PRESUBMIT: Add authorized-authors check + AUTHORS e-mails.
This check will throw a PRESUBMIT error if the author or
organization is not present in the AUTHORS file.

E-mail wildcard entries were also added to the organizations
in the AUTHORS file.

BUG=webrtc:6852
NOTRY=True

Review-Url: https://codereview.webrtc.org/2564613002
Cr-Commit-Position: refs/heads/master@{#15591}
2016-12-14 08:16:29 +00:00
nisse
43c5a974b4 Delete stl_util.h. Unused since cl https://codereview.webrtc.org/2447103002
BUG=None

Review-Url: https://codereview.webrtc.org/2570833002
Cr-Commit-Position: refs/heads/master@{#15590}
2016-12-14 08:07:44 +00:00
nisse
8afbc8cba6 Revert of Delete rtc::linked_ptr. Only use, in statstypes.h, replaced bu std::unique_ptr. (patchset #1 id:1 of https://codereview.webrtc.org/2567143003/ )
Reason for revert:
The change from rtc::linked_ptr to std::unique_ptr broke a downstream project.

Original issue's description:
> Delete rtc::linked_ptr. Only use, in statstypes.h, replaced with std::unique_ptr.
>
> BUG=webrtc:6424
>
> Committed: https://crrev.com/36f74e55792cae19db8b222c29aa38d6e0eb1225
> Cr-Commit-Position: refs/heads/master@{#15588}

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

Review-Url: https://codereview.webrtc.org/2576673002
Cr-Commit-Position: refs/heads/master@{#15589}
2016-12-14 08:06:38 +00:00
nisse
36f74e5579 Delete rtc::linked_ptr. Only use, in statstypes.h, replaced with std::unique_ptr.
BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2567143003
Cr-Commit-Position: refs/heads/master@{#15588}
2016-12-14 07:36:26 +00:00
buildbot
dd3c811ef8 Roll chromium_revision cfd026f99e..5fb8c41aea (438418:438448)
Change log: cfd026f99e..5fb8c41aea
Full diff: cfd026f99e..5fb8c41aea

Changed dependencies:
* src/third_party/catapult: b7b743b576..041b58513c
DEPS diff: cfd026f99e..5fb8c41aea/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2574083002
Cr-Commit-Position: refs/heads/master@{#15587}
2016-12-14 07:15:48 +00:00
Henrik Kjellander
a5073c0c97 Disable AudioDeviceTest.StartPlayoutOnTwoInstances on iOS
This test fails when running on real iOS devices.

BUG=webrtc:6889
TBR=henrika@webrtc.org

Review-Url: https://codereview.webrtc.org/2576653002 .
Cr-Commit-Position: refs/heads/master@{#15586}
2016-12-14 06:25:24 +00:00
buildbot
80df795e3c Roll chromium_revision e234d53ddf..cfd026f99e (438369:438418)
Change log: e234d53ddf..cfd026f99e
Full diff: e234d53ddf..cfd026f99e

Changed dependencies:
* src/third_party/catapult: 87f283fcd1..b7b743b576
DEPS diff: e234d53ddf..cfd026f99e/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2573993005
Cr-Commit-Position: refs/heads/master@{#15585}
2016-12-14 04:07:13 +00:00
buildbot
e26b89c2dc Roll chromium_revision b571577c64..e234d53ddf (438292:438369)
Change log: b571577c64..e234d53ddf
Full diff: b571577c64..e234d53ddf

Changed dependencies:
* src/third_party/catapult: 565b54db0b..87f283fcd1
* src/third_party/libvpx/source/libvpx: d7f1d60c51..817488be47
DEPS diff: b571577c64..e234d53ddf/DEPS

No update to Clang.

TBR=marpan@webrtc.org,
BUG=None

Review-Url: https://codereview.webrtc.org/2570143004
Cr-Commit-Position: refs/heads/master@{#15584}
2016-12-14 01:21:50 +00:00
deadbeef
62802a1b0e Fixing possible crash due to RefCountedChannel assignment operator.
We relied on the default destructor of RefCountedChannel to destroy its
members in reverse initialization order (deleting the DTLS wrapper
before the underlying ICE channel).

However, std::vector also may use the default assignment operator, which
performs a member-wise copy in initialization order. Which results in
deleting the ICE channel before the DTLS one. This CL fixes this by
using a vector of pointers instead of structures, and uses RefCountedObject
to handle ref-counting.

BUG=chromium:672951

Review-Url: https://codereview.webrtc.org/2571683004
Cr-Commit-Position: refs/heads/master@{#15583}
2016-12-14 00:38:46 +00:00
deadbeef
b236257763 Fixing integer overflow when parsing bandwidth attribute.
It's still valid SDP so just clamp it at INT_MAX.

BUG=chromium:648071

Review-Url: https://codereview.webrtc.org/2571073002
Cr-Commit-Position: refs/heads/master@{#15582}
2016-12-14 00:37:16 +00:00
buildbot
9396a08077 Roll chromium_revision 79b1930444..b571577c64 (438242:438292)
Change log: 79b1930444..b571577c64
Full diff: 79b1930444..b571577c64

Changed dependencies:
* src/third_party/catapult: bf0f62a283..565b54db0b
DEPS diff: 79b1930444..b571577c64/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2570163002
Cr-Commit-Position: refs/heads/master@{#15581}
2016-12-13 22:50:12 +00:00
gyzhou
95aa96465d Support external audio mixer in webrtc 2.
An external audio mixer will be passed from PeerConnectionFactory to
AudioTransportProxy.

This CL has rewritten based on reverted CL
https://codereview.chromium.org/2539213003/
The only difference is that
  static MediaEngineInterface* Create(
      webrtc::AudioDeviceModule* adm,
      const rtc::scoped_refptr<webrtc::AudioDecoderFactory>&
          audio_decoder_factory,
      WebRtcVideoEncoderFactory* video_encoder_factory,
      WebRtcVideoDecoderFactory* video_decoder_factory);
in media/engine/webrtcmediaengine.h is kept in this CL instead of
replaced for backward compatibility.

BUG=webrtc:6457

Review-Url: https://codereview.webrtc.org/2570993002
Cr-Commit-Position: refs/heads/master@{#15580}
2016-12-13 22:06:35 +00:00
deadbeef
7af91ddd6b Removing "crypto_required" from MediaContentDescription.
"Crypto required" is a property of the PeerConnection of construction
time; it has nothing to do with SDP. So I'm moving it out of
MediaContentDescription and putting it in the BaseChannel constructor
instead. This is more intuitive, and provides the added assurance that
"secure_required_" can't be flipped from "true" to "false".

BUG=None

Review-Url: https://codereview.webrtc.org/2537343003
Cr-Commit-Position: refs/heads/master@{#15579}
2016-12-13 19:29:16 +00:00
buildbot
00fd520c8c Roll chromium_revision 047b36f906..79b1930444 (438176:438242)
Change log: 047b36f906..79b1930444
Full diff: 047b36f906..79b1930444

Changed dependencies:
* src/third_party/catapult: e6e0862c81..bf0f62a283
DEPS diff: 047b36f906..79b1930444/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2568333003
Cr-Commit-Position: refs/heads/master@{#15578}
2016-12-13 19:21:35 +00:00
hnsl
b68cc75f19 ParseCandidate(): Refactor to fix memcheck false positive.
Also make supported protocols explicit in check.

Fix inconsistency where TLS_PROTOCOL_NAME was not exported.

BUG=webrtc:6885

Review-Url: https://codereview.webrtc.org/2570803003
Cr-Commit-Position: refs/heads/master@{#15577}
2016-12-13 18:33:47 +00:00
buildbot
f8b262e6e6 Roll chromium_revision e882052d97..047b36f906 (438143:438176)
Change log: e882052d97..047b36f906
Full diff: e882052d97..047b36f906

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2569033003
Cr-Commit-Position: refs/heads/master@{#15576}
2016-12-13 16:09:05 +00:00
minyue
301fc4a712 Update common_audio/smoothing_filter.
The improvement is mainly to extrapolate missing samples so that when querying the output, it assumes the input to continue even if no actual new samples are added.

The new implementation does not rely on base/exp_filter any longer. This is because it would be a bit cumbersome. base/exp_filter does pre-extrapolate, i.e., it assumes the all missing samples since the last sample equals the new sample.

BUG=webrtc:6443

Review-Url: https://codereview.webrtc.org/2551363002
Cr-Commit-Position: refs/heads/master@{#15575}
2016-12-13 14:53:07 +00:00
nisse
bfcf561923 Delete VideoFrame default constructor, and IsZeroSize method.
This ensures that the video_frame_buffer method never can return a
null pointer.

BUG=webrtc:6591

Review-Url: https://codereview.webrtc.org/2541863002
Cr-Commit-Position: refs/heads/master@{#15574}
2016-12-13 14:08:39 +00:00
kthelgason
46711db355 Disable flaky QualityScaler tests for now.
BUG=webrtc:6799
TBR=sprang@webrtc.org

Review-Url: https://codereview.webrtc.org/2564423002
Cr-Commit-Position: refs/heads/master@{#15573}
2016-12-13 13:32:31 +00:00
hnsl
277b250936 Refactor "secure bool" into explicit PROTO_TLS.
BUG=none

Review-Url: https://codereview.webrtc.org/2568833002
Cr-Commit-Position: refs/heads/master@{#15572}
2016-12-13 13:17:31 +00:00
buildbot
1c4b5bcd6f Roll chromium_revision 632410c83c..e882052d97 (438112:438143)
Change log: 632410c83c..e882052d97
Full diff: 632410c83c..e882052d97

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2573693003
Cr-Commit-Position: refs/heads/master@{#15571}
2016-12-13 13:11:46 +00:00
kjellander
38b6dbc793 Autoroller: Support for rolling individual DEPS entries.
Add functionality for automatic rolling of individual DEPS
entries. This will make it possible to move away from the
links created by setup_links.py to real DEPS entries.

There are two kinds of such deps we intend to use:
1. Third party dependencies used by both WebRTC and Chromium:
  those are rolled to the same revision as the Chromium DEPS file of the revision passed
  to the script
2. Chromium sub-directories needed for WebRTC (mainly for //build and BUILD.gn
   files of third_party deps): those are rolled to the HEAD revision
Notice that the latter kind could be rolled ahead of the chromium_revision,
but generally these should be close (and if it passes the bots, we don't really mind).

The new functionality can coexist with the old one, to
enable a smooth transition (not everything needs to change at once).

Some of the updating logic was inspired by
https://cs.chromium.org/chromium/build/scripts/slave/recipes/v8/auto_roll_v8_deps.py

Add extensive tests for the logic of figuring out deps changes,
including mocking git ls-remote call to keep the tests hermetic.

BUG=webrtc:5006
NOTRY=True

Review-Url: https://codereview.webrtc.org/2570603003
Cr-Commit-Position: refs/heads/master@{#15570}
2016-12-13 11:35:28 +00:00
thomasanderson
ef16e9960f Add a gtk3 port of peerconnection_client on Linux
BUG=668446

Review-Url: https://codereview.webrtc.org/2563203002
Cr-Commit-Position: refs/heads/master@{#15569}
2016-12-13 10:57:50 +00:00
palmkvist
349092befe Logging basic bad call detection
BUG=webrtc:6814

Review-Url: https://codereview.webrtc.org/2474913002
Cr-Commit-Position: refs/heads/master@{#15568}
2016-12-13 10:46:06 +00:00