Commit Graph

9855 Commits

Author SHA1 Message Date
4a859fdce5 Roll chromium_revision 2c4120b..7c002e5 (355476:355518)
Change log: 2c4120b..7c002e5
Full diff: 2c4120b..7c002e5

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

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

Cr-Commit-Position: refs/heads/master@{#10373}
2015-10-22 11:31:35 +00:00
797ef12324 Added StopAecDump function to PeerConnectionFactory.
The function to stop recording an AEC dump was missing from the PeerConnectionFactory interface (only a start function was provided). This CL adds the missing stop function.

BUG=webrtc:4741

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

Cr-Commit-Position: refs/heads/master@{#10372}
2015-10-22 10:25:45 +00:00
a74c08dced Move i420 files to the right location
There's also a presubmit check that disallows .. references
in GYP files, which this solves.

BUG=webrtc:5095
R=stefan@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10371}
2015-10-22 10:23:21 +00:00
48e66b4463 GN: Remove build_overrides/v8.gni
After https://codereview.chromium.org/1413893003
this workaround is no longer needed (since we've now
rolled that revision into WebRTC).

BUG=541791
R=phoglund@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10370}
2015-10-22 08:50:43 +00:00
4f4ec0a927 Re-Land: Implement AudioReceiveStream::GetStats().
R=tommi@webrtc.org
BUG=webrtc:4690

Committed: a457752f4a

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

Cr-Commit-Position: refs/heads/master@{#10369}
2015-10-22 08:49:39 +00:00
b1ce663d16 Allow encoders to fall back dynamically to software.
Like video_decoder.cc, a call to Encode that returns
WEBRTC_VIDEO_CODEC_FALLBACK_SOFTWARE will trigger an attempted fallback
to a built-in software encoder. Initialization information, along with
any rate and channel parameter info, will be replayed on the software
encoder and then the frame (that cause the fallback) will be immediately
replayed for the software encoder.

Also modified the existing behavior to Release() the "real" encoder even
if a fallback encoder exists. That seems like the correct behavior.

BUG=webrtc:2920

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

Cr-Commit-Position: refs/heads/master@{#10368}
2015-10-22 06:54:57 +00:00
b788bc25f3 Add Mac-specific resource to modules_unittests.isolate
This should make
http://build.chromium.org/p/client.webrtc.fyi/builders/Mac64%20Release%20%28swarming%29
go green.

BUG=chromium:497757
TBR=stip@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#10367}
2015-10-22 05:31:39 +00:00
93ea78bfc2 Add test resources to libjingle_media_unittest.isolate
These should be the final missing pieces before
http://build.chromium.org/p/client.webrtc.fyi/builders/Linux64%20Release%20%28swarming%29
can go green.

BUG=chromium:497757
TBR=stip@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#10366}
2015-10-22 05:25:58 +00:00
9589e2af16 Update isolate files for swarming tests
Xvfb is needed for the screen capture tests in modules_unittests,
which also brings in xdisplaycheck used by testing/xvfb.py.

libjingle_media_unittest was missing a resource video in the .isolate
file.

BUG=chromium:497757
R=stip@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#10365}
2015-10-22 04:48:34 +00:00
4f47ed45db Roll chromium_revision fecea52..2c4120b (355266:355476)
Change log: fecea52..2c4120b
Full diff: fecea52..2c4120b

Changed dependencies:
* src/tools/swarming_client: b64f042..8fce796
DEPS diff: fecea52..2c4120b/DEPS

No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

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

Cr-Commit-Position: refs/heads/master@{#10364}
2015-10-22 03:18:09 +00:00
522fac791c Roll chromium_revision 9a72f7c..fecea52 (355218:355266)
Change log: 9a72f7c..fecea52
Full diff: 9a72f7c..fecea52

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

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

Cr-Commit-Position: refs/heads/master@{#10363}
2015-10-21 21:32:21 +00:00
affa39cb39 Remove time constraint on first retransmit of a packet.
We don't allow more than one retransmission within one RTT, but the RTT
estimate might be off. Reasonably, the remote end will not send a NACK
until the packet after has been received - so always resend on first
request.

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

Cr-Commit-Position: refs/heads/master@{#10362}
2015-10-21 20:46:42 +00:00
c96df779b0 - Introduce internal classes WebRtcAudio[Send|Receive]Stream in WebRtcVoiceMediaChannel.
- Remove WebRtcVoiceMediaChannel::WebRtcVoiceChannelRenderer
- Create webrtc::AudioSendStreams.

BUG=webrtc:4690

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

Cr-Commit-Position: refs/heads/master@{#10361}
2015-10-21 20:02:00 +00:00
f4d23b2254 Remove MockVideoCapturer
This class is not used.

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

Cr-Commit-Position: refs/heads/master@{#10360}
2015-10-21 16:56:14 +00:00
dfa2815b4f Update receive report SSRCs on RemoveSendStream.
Prevents RTCP receiver reports, including PLIs with an old
receiver-report SSRC, from being dropped from the remote sender's
BundleFilter due to no longer being in use.

BUG=chromium:523928, webrtc:4883
R=stefan@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10359}
2015-10-21 15:21:21 +00:00
0c478b3d75 Rename ChannelGroup to CongestionController and move to webrtc/call/.
BUG=webrtc:5079
R=pbos@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10358}
2015-10-21 13:52:33 +00:00
edcbd5610b Adding the OnePlus 2 device to AEC and NS blacklists.
Reports show that we see full echo from the OnePlus 2 device.
Disabling hardware effects and revert to WebRTC-based
components instead as a test to see if it helps.

R=tommi@webrtc.org
TBR=tommi
BUG=b/25096456

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

Cr-Commit-Position: refs/heads/master@{#10357}
2015-10-21 11:43:57 +00:00
0a87ffcaad Fix bug in how send timestamps are converted to 24 bits.
BUG=webrtc:4173
R=sprang@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10356}
2015-10-21 11:42:09 +00:00
e37870297f ChannelGroup cleanup.
Move CallStats to Call, EncoderStateFeedback to VideoSendStream and
remove last ViEChannel dependency from ChannelGroup.

BUG=webrtc:5079
R=pbos@webrtc.org, stefan@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10355}
2015-10-21 11:24:37 +00:00
45c136b579 Adds support for Bluetooth headsets to the iOS audio layer.
This patch also also ensures that audio is restored after an incoming
GSM call.

BUG=webrtc:5058, webrtc:5012
TEST=Manual tests using modified AppRTCDemo and three different BT headsets

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

Cr-Commit-Position: refs/heads/master@{#10354}
2015-10-21 11:12:01 +00:00
6e587200db Introduce rtc::Maybe<T>, which either contains a T or not.
It's a simple std::experimental::optional-wannabe. For simplicity and
portability, it still secretly contains a (default-constructed) T when
it's supposedly empty. This restriction is fine for simple types.

One important application is for the return type of functions. For
example, a function which either returns a size_t or fails can return
rtc::Maybe<size_t>.

BUG=webrtc:5028
R=andrew@webrtc.org, mgraczyk@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#10353}
2015-10-21 10:44:17 +00:00
b64a32bf25 Remove old VideoFrame::Reset.
Hopefully all external implementations are updated, I could build
Chromium locally with this patch. This Reset implementation causes (for
some mysterious reason) -WError=overloaded-virtual failures when trying
to build libjingle APKs.

R=guoweis@webrtc.org, magjed@webrtc.org, pthatcher@webrtc.org
BUG=webrtc:2365

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

Cr-Commit-Position: refs/heads/master@{#10352}
2015-10-21 09:54:10 +00:00
3b7c793574 New DtlsIdentityStoreInterface::RequestIdentity added that takes rtc::KeyParams. The old RequestIdentity still exists that take rtc::KeyType.
Default implementation added that invokes the other RequestIdentity method, adding default parameters or dropping the parameters.

This CL is in preparation for removing the RequestIdentity that takes rtc::KeyType, necessary as to not break Chromium.

BUG=webrtc:4927, 528250

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

Cr-Commit-Position: refs/heads/master@{#10351}
2015-10-21 08:44:27 +00:00
a01d440223 Revert of Add experiment on weak ping delay during call set up time (patchset #4 id:60001 of https://codereview.webrtc.org/1411883002/ )
Reason for revert:
guoweis - Here's the target that's failing:
https://code.google.com/p/chromium/codesearch#chromium/src/third_party/libjingle/libjingle_nacl.gyp&l=17

This has unfortunately been causing problems repeatedly for us since libjingle_nacl is maintained separately from libjingle (I don't know the history).

The way this works for Chrome in general is that the FindFullName method is implemented in init_webrtc.cc in the overrides folder in Chrome and that hooks WebRTC up with Chrome's implementation.  I'm not sure if that's the right thing to do for nacl, how webrtc is initialized there etc.  I'll ping the nacl team for some help too offline and include you.  Reverting this change for now.

Original issue's description:
> Add experiment on weak ping delay during call set up time
>
> BUG=
> R=pthatcher@webrtc.org
>
> Committed: https://crrev.com/3bf69b15f4c0c0ca4ab17c237084684a37bb8279
> Cr-Commit-Position: refs/heads/master@{#10343}

TBR=pthatcher@webrtc.org,juberti@webrtc.org,guoweis@webrtc.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=

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

Cr-Commit-Position: refs/heads/master@{#10350}
2015-10-21 08:07:32 +00:00
86b016027d Add stats for average QP per frame for VP8 (for received video streams):
"WebRTC.Video.Decoded.VP8.Qp"

BUG=chromium:512752

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

Cr-Commit-Position: refs/heads/master@{#10349}
2015-10-21 06:55:32 +00:00
47dcb23393 Roll chromium_revision 01cbe8a..9a72f7c (355025:355218)
Change log: 01cbe8a..9a72f7c
Full diff: 01cbe8a..9a72f7c

Changed dependencies:
* src/third_party/libvpx_new/source/libvpx: 66bf686..b44c5cf
* src/tools/gyp: 01528c7..3f21260
* src/tools/swarming_client: 3db8780..b64f042
DEPS diff: 01cbe8a..9a72f7c/DEPS

No update to Clang.

TBR=marpan@webrtc.org, stefan@webrtc.org,
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

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

Cr-Commit-Position: refs/heads/master@{#10348}
2015-10-21 06:50:39 +00:00
fcab1cdcac Disable VP9 resize test for now.
Will re-enable after libvpx roll,
needs to be updated.

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

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

Cr-Commit-Position: refs/heads/master@{#10347}
2015-10-21 06:10:21 +00:00
e4f96501fc Remove system_wrappers/interface/trace_event.h
BUG=

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

Cr-Commit-Position: refs/heads/master@{#10346}
2015-10-21 06:00:57 +00:00
3cf20ed676 Will re-enable after libvpx roll,
needs to be updated.

BUG=

TBR=stefan@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10345}
2015-10-21 03:27:47 +00:00
0a617e22a4 Remove the default send channel in WVoE.
BUG=webrtc:4690

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

Cr-Commit-Position: refs/heads/master@{#10344}
2015-10-20 22:49:45 +00:00
3bf69b15f4 Add experiment on weak ping delay during call set up time
BUG=
R=pthatcher@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10343}
2015-10-20 19:09:45 +00:00
30a5b5e9fb passing |buffer| by reference in AndroidVideoCapturer::OnIncomingFrame
BUG=webrtc:5062

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

Cr-Commit-Position: refs/heads/master@{#10342}
2015-10-20 18:05:02 +00:00
hta
3866c4fb46 Testing that waiting for a condition variable waits.
Added a test that verifies that waiting for a condition variable
actually waits for a non-zero time.

This used to fail due to a TSAN / CLANG bug, but this failure
is supposed to have been fixed.

This was originally https://webrtc-codereview.appspot.com/2145004

BUG=2259

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

Cr-Commit-Position: refs/heads/master@{#10341}
2015-10-20 16:31:04 +00:00
43e83d44f0 Revert of Implement AudioReceiveStream::GetStats(). (patchset #19 id:360001 of https://codereview.webrtc.org/1390753002/ )
Reason for revert:
webrtc_perf_tests started failing on Win32 Release, Mac32 Release and Linux64 Release (all running large tests). These were not caught by try bots.

Original issue's description:
> Implement AudioReceiveStream::GetStats().
>
> R=tommi@webrtc.org
> TBR=hta@webrtc.org
> BUG=webrtc:4690
>
> Committed: a457752f4a

TBR=tommi@webrtc.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:4690

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

Cr-Commit-Position: refs/heads/master@{#10340}
2015-10-20 13:41:06 +00:00
5a197dd617 Remove files added by mistake.
For some reason git cl land (which needed to be used to bypass presubmit complaints) pulled in xcode workspace files, when landing https://codereview.webrtc.org/1390753002/

BUG=webrtc:4690
TBR=tommi@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10339}
2015-10-20 13:11:51 +00:00
a457752f4a Implement AudioReceiveStream::GetStats().
R=tommi@webrtc.org
TBR=hta@webrtc.org
BUG=webrtc:4690

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

Cr-Commit-Position: refs/heads/master@{#10338}
2015-10-20 13:01:55 +00:00
5460f9b81d Workaround for false positive -Wmaybe-uninitialized being triggered on some compilers
Some toolchains (in this case referring to a g++ 4.9, or "arm-linux-
androideabi-g++ (GCC) 4.9 20140827 (prerelease)" according to my
--version, from the Android NDK r10e-rc4 and potentially with custom
patches; others may be affected as well) fail to prove that myVec in
WebRtcIsac_CorrelateInterVec is never used uninitialized. This is likely
due to the compiler thinking the assignment in line 468 might not
happen. Changing the loop condition in line 466 to rowCntr <
SOME_CONSTANT also helps, suggesting that the compiler can't infer that
there are only 2 values interVecDim can have at that point, and neither
of them are 0. Of course, this is not an acceptable fix, as it changes
behaviour.

This seems to be a compiler bug, or at least an issue with its
heuristics. However, we can't really change toolchains at the moment,
and ultimately this change improves support for certain older compilers.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#10337}
2015-10-20 12:45:09 +00:00
9172234c5c Roll chromium_revision 5d149df..01cbe8a (354955:355025)
Change log: 5d149df..01cbe8a
Full diff: 5d149df..01cbe8a

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

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

Cr-Commit-Position: refs/heads/master@{#10336}
2015-10-20 12:11:02 +00:00
7ae9262745 Suppress libyuv::TestCpuFlag races.
Two concurrently running decoders will trigger data races on cpu_info_
which is lazily initialized on reading TestCpuFlag without proper
atomics.

BUG=libyuv:508
R=kjellander@webrtc.org
TEST=Running EndToEndTest.SendsAndReceivesMultipleStreams under TSan.

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

Cr-Commit-Position: refs/heads/master@{#10335}
2015-10-20 11:37:41 +00:00
eff0fc6775 Adding missing stats class registration, lost in #10298.
R=pbos@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10334}
2015-10-20 09:06:49 +00:00
da535c4055 Add histogram for percentage of sent frames that are limited in resolution due to bandwidth:
- "WebRTC.Video.BandwidthLimitedResolutionInPercent"

If the frame is bandwidth limited, the average number of disabled resolutions is logged:
- "WebRTC.Video.BandwidthLimitedResolutionsDisabled"

BUG=

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

Cr-Commit-Position: refs/heads/master@{#10333}
2015-10-20 06:32:48 +00:00
42b1478639 Roll chromium_revision 0f9b2fd..5d149df (354799:354955)
Change log: 0f9b2fd..5d149df
Full diff: 0f9b2fd..5d149df

Changed dependencies:
* src/third_party/libyuv: 41c6cc7..e6a54f2
DEPS diff: 0f9b2fd..5d149df/DEPS

No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

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

Cr-Commit-Position: refs/heads/master@{#10332}
2015-10-20 03:01:58 +00:00
1897f77806 Make the high frequency correction range depend on the target angle
Depends on this CL: https://codereview.webrtc.org/1388033002/

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

Cr-Commit-Position: refs/heads/master@{#10331}
2015-10-20 02:49:34 +00:00
4a66e4a4d8 Make the separation between target and interferer scenario depend on microphone spacing in NonlinearBeamformer
Depends on this CL: https://codereview.webrtc.org/1378973003/

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

Cr-Commit-Position: refs/heads/master@{#10330}
2015-10-20 01:02:43 +00:00
c6aec4b8ed Fix HW video codec stack traces reporting.
Print stack traces for active instance only.
Also add Nexus 4 to H.264 encoder blacklist.

R=wzh@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10329}
2015-10-19 23:39:33 +00:00
0d97d53808 Fix off-by-one error in PRNG.
BUG=

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

Cr-Commit-Position: refs/heads/master@{#10328}
2015-10-19 21:07:46 +00:00
86721fef6c Roll chromium_revision 8801af5..0f9b2fd (354718:354799)
Change log: 8801af5..0f9b2fd
Full diff: 8801af5..0f9b2fd

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

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

Cr-Commit-Position: refs/heads/master@{#10327}
2015-10-19 20:31:35 +00:00
dd2bd26b6d Update iOS merge script.
BUG=

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

Cr-Commit-Position: refs/heads/master@{#10326}
2015-10-19 19:54:12 +00:00
023f3ef029 Create network change notifier and pass the event to NetworkManager
BUG=

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

Cr-Commit-Position: refs/heads/master@{#10325}
2015-10-19 16:39:38 +00:00
0dbf0090a9 Remove the video channel id completely.
BUG=webrtc:5079

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

Cr-Commit-Position: refs/heads/master@{#10324}
2015-10-19 15:12:19 +00:00