Commit Graph

12074 Commits

Author SHA1 Message Date
2f5d600918 Revert of Remove Android x86 compilation trybot from CQ. (patchset #1 id:1 of https://codereview.webrtc.org/1959923002/ )
Reason for revert:
https://codereview.chromium.org/1985413002/ rolled in the fix
for libjpeg_turbo's GYP file in Chromium. That was rolled into WebRTC
in https://codereview.webrtc.org/1985423004/. That means our Android
x86 builds can start working again.

Original issue's description:
> Remove Android x86 compilation trybot from CQ.
>
> There's a Goma bug making it fail to compile after rolling in
> https://codereview.webrtc.org/1963493002/
>
> BUG=chromium:610145
> TBR=pbos@webrtc.org
> NOTRY=True
>
> Committed: d939d48de2

TBR=pbos@webrtc.org
NOTRY=True
BUG=chromium:610145
TESTED=Passing build with:
GYP_DEFINES='OS=android component=static_library target_arch=ia32' webrtc/build/gyp_webrtc.py
ninja -C out/Debug

Review-Url: https://codereview.webrtc.org/1989223002
Cr-Commit-Position: refs/heads/master@{#12792}
2016-05-18 11:57:51 +00:00
99111bb5e4 Roll chromium_revision 91b474353e..34689ee3d1 (394313:394374)
Change log: 91b474353e..34689ee3d1
Full diff: 91b474353e..34689ee3d1

Changed dependencies:
* src/third_party/libjpeg_turbo: 414f2433e6..7260e4d8b8
DEPS diff: 91b474353e..34689ee3d1/DEPS

No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/1985423004
Cr-Commit-Position: refs/heads/master@{#12791}
2016-05-18 11:07:24 +00:00
7bb6e75723 Add missing headers and fix some missing dependencies
This is the first CL in a series of major cleanup and dependency
corrections needed in order to satisfy 'gn check'.

BUG=webrtc:4243, webrtc:5589
NOTRY=True

Review-Url: https://codereview.webrtc.org/1990593002
Cr-Commit-Position: refs/heads/master@{#12790}
2016-05-18 11:06:22 +00:00
299ccdee0c Direct IP connect functionality for AppRTC Android demo.
This allows connecting between clients without using external servers, which is useful to OEMs if they are working in a network without internet connection. Implementation uses custom AppRTCClient that replaces WebSocketRTCClient if roomId looks like an IP. Instead of a web socket, this class uses direct TCP connection between peers as a signaling channel.

Review-Url: https://codereview.webrtc.org/1963053002
Cr-Commit-Position: refs/heads/master@{#12789}
2016-05-18 10:36:50 +00:00
5a216d0489 Add muted parameter to audio_frame_manipulator methods
BUG=webrtc:5609
NOTRY=True

Review-Url: https://codereview.webrtc.org/1983023002
Cr-Commit-Position: refs/heads/master@{#12788}
2016-05-18 09:34:24 +00:00
89f237cedc Fix UBSan errors (left shift of negative value, left shift overflows int)
BUG=chromium:603498

Review-Url: https://codereview.webrtc.org/1979973003
Cr-Commit-Position: refs/heads/master@{#12787}
2016-05-18 09:20:35 +00:00
60200d1094 Add FrameAndMuteInfo to AudioConferenceMixer
BUG=webrtc:5609

Review-Url: https://codereview.webrtc.org/1980343002
Cr-Commit-Position: refs/heads/master@{#12786}
2016-05-18 08:48:46 +00:00
e0615b7dd1 GN: Disable checks in WebRTC tree due to too many errors.
We will have to work through addressing these problems
with multiple steps, cleaning up one directories one by one.

See https://chromium.googlesource.com/chromium/src/+/master/tools/gn/docs/reference.md#gn-file-Variables
for documentation on this.

BUG=webrtc:5589
TBR=phoglund@webrtc.org
TESTED=Successfully ran:
gn gen out/Default --check

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

Cr-Commit-Position: refs/heads/master@{#12785}
2016-05-18 07:35:57 +00:00
3c5a294b60 Fix Info.plist path in build_ios_libs.sh
NOTRY=True
BUG=

Review-Url: https://codereview.webrtc.org/1988003002
Cr-Commit-Position: refs/heads/master@{#12784}
2016-05-18 06:08:32 +00:00
837dde9f1d Remove DesktopFrame::shape().
Frame shape is no longer used and can be removed.

R=jamiewalch@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#12783}
2016-05-18 05:03:47 +00:00
62f6da382d Roll chromium_revision 7ae70b716a..91b474353e (394093:394313)
Change log: 7ae70b716a..91b474353e
Full diff: 7ae70b716a..91b474353e

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/1985373002
Cr-Commit-Position: refs/heads/master@{#12782}
2016-05-18 04:35:48 +00:00
6c87a67b63 Do not create a temporary transport channel when using max-bundle
With this change, when max-bundle and rtcp-mux are both enabled, we no
longer create and destroy a temporary transport channel when a media
channel gets added. Instead, the media channel uses the correct bundled
transport channel from the start.

This fixes a bug where adding a media type would cause the ICE state to
briefly become Disconnected and then immediately recover. The temporary
channel was created in a non-writable state, which caused the
TransportController to declare the ICE state to be Disconnected (as not
all transport channels were writable). Right after creation, the
temporary channel was then destroyed and the ICE state went back to the
correct one.

BUG=webrtc:5856

Review-Url: https://codereview.webrtc.org/1972493002
Cr-Commit-Position: refs/heads/master@{#12781}
2016-05-18 00:49:58 +00:00
3a0a0f4b0d AudioConfMixer: Add muted variable to ParticipantFramePair
Renaming the ParticipantFramePair to ParticipantFrameStruct. The muted
variable is not yet used.

BUG=webrtc:5609

Review-Url: https://codereview.webrtc.org/1981243002
Cr-Commit-Position: refs/heads/master@{#12780}
2016-05-18 00:16:05 +00:00
d4ccb00b9e Propagate muted parameter to VoE::Channel
Deleted the temporary ACM method without the muted parameter, and had
to modify several tests for this. The muted parameter is not yet propagated to the AudioConferenceMixer; this is the next step.

BUG=webrtc:5609
TBR=perkj@webrtc.org

Review-Url: https://codereview.webrtc.org/1985743002
Cr-Commit-Position: refs/heads/master@{#12779}
2016-05-17 19:22:03 +00:00
e305d956c0 Remove runtime NEON detection
Chrome does not detect NEON instruction set at runtime in WebRTC code starting
with M50, which is now in Stable. Remove support for runtime detection for
simplicity.

The only remaining piece of Chrome that will continue to depend on runtime
detection is /net, where devices with _broken_ neon support are also detected,
and it is not configurable via GYP/GN.

BUG=522035
NOPRESUBMIT=true

Review-Url: https://codereview.webrtc.org/1955413003
Cr-Commit-Position: refs/heads/master@{#12778}
2016-05-17 17:56:48 +00:00
de8739c120 Disable libyuv jpeg support on Android
MJPEG capture is not used on Android. Therefore, disable jpeg support to
reduce libjingle_peerconnection_so file size by removing dependency to
libjpeg_turbo.

Also, remove unused build_libjpeg and rtc_build_libjpeg variables.

Review-Url: https://codereview.webrtc.org/1978243002
Cr-Commit-Position: refs/heads/master@{#12777}
2016-05-17 15:39:15 +00:00
2b1f651d15 Potential fix for rtx/red issue where red is removed only from the remote description.
BUG=5675
R=pbos@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#12776}
2016-05-17 14:33:41 +00:00
9b2228fdfc Fix UBSan errors (left shift of negative value)
BUG=chromium:603501

Review-Url: https://codereview.webrtc.org/1988723002
Cr-Commit-Position: refs/heads/master@{#12775}
2016-05-17 13:40:48 +00:00
aa08ce6892 Roll chromium_revision 667cccbd62..7ae70b716a (394017:394093)
Change log: 667cccbd62..7ae70b716a
Full diff: 667cccbd62..7ae70b716a

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/1986063003
Cr-Commit-Position: refs/heads/master@{#12774}
2016-05-17 11:46:05 +00:00
c9c142f170 Reland of Delete webrtc::VideoFrame methods buffer and stride. (patchset #1 id:1 of https://codereview.webrtc.org/1983583002/ )
Reason for revert:
Should work after cl https://codereview.webrtc.org/1985693002/ is landed, which initializes the frames used by FakeWebRtcVideoCaptureModule. So intend to reland after that, with no changes.

Original issue's description:
> Revert of Delete webrtc::VideoFrame methods buffer and stride. (patchset #2 id:290001 of https://codereview.webrtc.org/1963413004/ )
>
> Reason for revert:
> Speculative revert to see if failures on the DrMemory bot are related to this cl.  See e.g. here:
> https://build.chromium.org/p/client.webrtc/builders/Win%20DrMemory%20Full/builds/4243
>
> UNINITIALIZED READ: reading 0x04980040-0x04980060 32 byte(s) within 0x04980040-0x04980060
> # 0 CopyRow_AVX
> # 1 CopyPlane
> # 2 I420Copy
> # 3 webrtc::ExtractBuffer
> # 4 cricket::WebRtcVideoCapturer::SignalFrameCapturedOnStartThread
> # 5 cricket::WebRtcVideoCapturer::OnIncomingCapturedFrame
> # 6 FakeWebRtcVideoCaptureModule::SendFrame
> # 7 WebRtcVideoCapturerTest_TestCaptureVcm_Test::TestBody
> # 8 testing::internal::HandleSehExceptionsInMethodIfSupported<>
>
> Original issue's description:
> > Reland of Delete webrtc::VideoFrame methods buffer and stride. (patchset #1 id:1 of https://codereview.webrtc.org/1935443002/ )
> >
> > Reason for revert:
> > I plan to reland this change in a week or two, after downstream users are updated.
> >
> > Original issue's description:
> > > Revert of Delete webrtc::VideoFrame methods buffer and stride. (patchset #14 id:250001 of https://codereview.webrtc.org/1900673002/ )
> > >
> > > Reason for revert:
> > > Breaks chrome FYI bots.
> > >
> > > Original issue's description:
> > > > Delete webrtc::VideoFrame methods buffer and stride.
> > > >
> > > > To make the HasOneRef/IsMutable hack work, also had to change the
> > > > video_frame_buffer method to return a const ref to a scoped_ref_ptr,
> > > > to not imply an AddRef.
> > > >
> > > > BUG=webrtc:5682
> > >
> > > TBR=perkj@webrtc.org,magjed@webrtc.org,pbos@webrtc.org,pthatcher@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:5682
> > >
> > > Committed: https://crrev.com/5b3c443d301f2c2f18dac5b02652c08b91ea3828
> > > Cr-Commit-Position: refs/heads/master@{#12558}
> >
> > TBR=perkj@webrtc.org,magjed@webrtc.org,pbos@webrtc.org,pthatcher@webrtc.org,stefan@webrtc.org
> > # Not skipping CQ checks because original CL landed more than 1 days ago.
> > BUG=webrtc:5682
> >
> > Committed: https://crrev.com/d0dc66e0ea30c8614001e425a4ae0aa7dd56c2a7
> > Cr-Commit-Position: refs/heads/master@{#12721}
>
> TBR=perkj@webrtc.org,magjed@webrtc.org,pbos@webrtc.org,pthatcher@webrtc.org,stefan@webrtc.org,nisse@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:5682
>
> Committed: https://crrev.com/d49c30cd2fe442f2b5b4ecec8d5cbaa430464725
> Cr-Commit-Position: refs/heads/master@{#12745}

TBR=perkj@webrtc.org,magjed@webrtc.org,pbos@webrtc.org,pthatcher@webrtc.org,stefan@webrtc.org,tommi@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:5682

Review-Url: https://codereview.webrtc.org/1979193003
Cr-Commit-Position: refs/heads/master@{#12773}
2016-05-17 11:05:51 +00:00
ff274394fe Separate building and enabling libevent.
We're now ready https://codereview.webrtc.org/1984503002/ downstream,
so make sure we can enable libevent but still choose which libevent
implementation to use. This follows the common pattern where an enable_
flag controls whether we should use the feature at all, whereas build_
controls if we should use the dependency from our DEPS file or
something else.

NOTRY=True

Review-Url: https://codereview.webrtc.org/1980003002
Cr-Commit-Position: refs/heads/master@{#12772}
2016-05-17 10:44:36 +00:00
d98f6e000a Fixed typo. KT_DEFAULT different based on WEBRTC_CHROMIUM_BUILD
instead of WEBRTC_BUILD_CHROMIUM.

BUG=chromium:611698, webrtc:5795
R=perkj@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#12771}
2016-05-17 10:36:19 +00:00
a73ca5668e Polishing code to handle certificate generation failure in .mm files.
This is a follow-up to https://codereview.webrtc.org/1965313002/ which
was TBR-landed.

Minor code clean-up/corrections:

Property nativeConfiguration -> - method createNativeConfiguration.
RTCLogWarning -> RTCLogError.
setConfiguration returning NO instead of false.
initWithFactory returning nil instead of nullptr.
Braces around ifs.

Review-Url: https://codereview.webrtc.org/1978233002
Cr-Commit-Position: refs/heads/master@{#12770}
2016-05-17 10:29:07 +00:00
ee3732622c JUnit test framework for AppRTC Android demo.
This allows creating tests for AppRTC Android demo that will be run on
the host machine instead of a device. These tests can mock Android APIs
through Robolectric. Because the tests are run on the host machine,
they run much faster.

BUG=webrtc:5896
NOTRY=True

Review-Url: https://codereview.webrtc.org/1985663002
Cr-Commit-Position: refs/heads/master@{#12769}
2016-05-17 10:22:38 +00:00
2ccfbdf011 Undeprecate CreatePeerConnectionFactory which do not use network thread.
function was deprecated in https://codereview.webrtc.org/1968393002/
in favor of splitting network thread from worker thread.

TBR=pthatcher1
BUG=webrtc:5645

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

Cr-Commit-Position: refs/heads/master@{#12768}
2016-05-17 09:38:48 +00:00
e9021a3601 Propogate network-worker thread split to api
BUG=webrtc:5645

Review-Url: https://codereview.webrtc.org/1968393002
Cr-Commit-Position: refs/heads/master@{#12767}
2016-05-17 08:52:06 +00:00
c561479841 Revert of CQ: Disable win_x64_clang_dbg trybot (patchset #1 id:1 of https://codereview.webrtc.org/1896003004/ )
Reason for revert:
With https://bugs.chromium.org/p/chromium/issues/detail?id=595702 being fixed 2 weeks ago and no new errors being reported. I'm attempting to re-enable this again.
I ran a couple of trial tryjobs for our win_x64_clang_dbg trybot and it seems to compile fine.

Original issue's description:
> Reland of CQ: Disable win_x64_clang_dbg trybot (patchset #1 id:1 of https://codereview.webrtc.org/1897743002/ )
>
> Reason for revert:
> We got a new error on this again, so I'm removing this trybot from the CQ again: https://build.chromium.org/p/tryserver.webrtc/builders/win_x64_clang_dbg/builds/2335/steps/compile/logs/stdio
>
> Original issue's description:
> > Revert of CQ: Disable win_x64_clang_dbg trybot (patchset #1 id:1 of https://codereview.webrtc.org/1850113002/ )
> >
> > Reason for revert:
> > I think the bug has been making enough progress for us to turn this back on (Chrome turned on their trybot).
> > I fired of builds and now have 6 green ones in a row.
> >
> > Original issue's description:
> > > CQ: Disable win_x64_clang_dbg trybot
> > >
> > > Needed to unblock rolling chromium_revision in WebRTC DEPS.
> > >
> > > BUG=chromium:595702
> > > TBR=phoglund@webrtc.org
> > >
> > > Committed: 053fe8c6b1
> >
> > TBR=phoglund@webrtc.org
> > NOTRY=True
> > BUG=chromium:595702
> >
> > Committed: https://crrev.com/079ddd1507906bc030539fc33036dd5f6a9bbae0
> > Cr-Commit-Position: refs/heads/master@{#12399}
>
> TBR=phoglund@webrtc.org
> NOTRY=True
> BUG=chromium:595702
>
> Committed: https://crrev.com/37286d141956d47c2b019dfee8bb48473809c1ef
> Cr-Commit-Position: refs/heads/master@{#12421}

TBR=phoglund@webrtc.org
NOTRY=True
BUG=chromium:595702

Review-Url: https://codereview.webrtc.org/1986753002
Cr-Commit-Position: refs/heads/master@{#12766}
2016-05-17 08:06:41 +00:00
744494f451 Make the FakeWebRtcVideoCaptureModule class initialize frame data.
Needed to avoid DrMemory warnings, if the frame is passed to libyuv
AVX assembly functions.

BUG=libyuv:377

Review-Url: https://codereview.webrtc.org/1985693002
Cr-Commit-Position: refs/heads/master@{#12765}
2016-05-17 06:51:11 +00:00
9359274071 Roll chromium_revision dbbc7ddf2e..667cccbd62 (393813:394017)
Change log: dbbc7ddf2e..667cccbd62
Full diff: dbbc7ddf2e..667cccbd62

Changed dependencies:
* src/third_party/ffmpeg: 0ba7f68305..fa382f21a6
DEPS diff: dbbc7ddf2e..667cccbd62/DEPS

No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/1986653002
Cr-Commit-Position: refs/heads/master@{#12764}
2016-05-17 03:05:26 +00:00
c9b0c26e0c Surface the IntelligibilityEnhancer on MediaConstraints
R=henrika@webrtc.org, peah@webrtc.org, tommi@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#12763}
2016-05-16 22:32:45 +00:00
2abe427417 Revert of Increase the stun ping interval. (patchset #5 id:80001 of https://codereview.webrtc.org/1944003002/ )
Reason for revert:
This will take longer time for the RTT to converge.
Need to update the RTT calculation algorithm if doing this.

Original issue's description:
> Increase the stun ping interval.
>
> Writable connections are pinged at a slower rate.
> The function IsPingable will filter out the writable connections.
> The interval for slower ping rate by default is WRITABLE_CONNECTION_PING_INTERVAL(2500ms) and can be set with the configuration.
>
> BUG=webrtc:1161
>
> Committed: https://crrev.com/8f7a5aad55a64f0d81b6436a22ffbdfcdcde91e0
> Cr-Commit-Position: refs/heads/master@{#12736}

TBR=honghaiz@webrtc.org,pthatcher@webrtc.org,zhihuang@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:1161

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

Cr-Commit-Position: refs/heads/master@{#12762}
2016-05-16 21:12:22 +00:00
db0cd9e774 Adding getParameters/setParameters APIs to RtpReceiver.
This is similar to how a "receive" method is used to apply
RtpParameters to an RtpReceiver in ORTC. Currently, SetParameters
doesn't allow changing the parameters, so the main use of the API is
to retrieve the set of configured codecs. But other uses will likely
be made possible in the future.

R=glaznev@webrtc.org, pthatcher@webrtc.org, tkchin@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#12761}
2016-05-16 18:40:38 +00:00
8bce67b745 Added UMA logging for audio codec usage. A histogram statistic named "WebRTC.Audio.Encoder.CodecType" has been created.
Review-Url: https://codereview.webrtc.org/1967503002
Cr-Commit-Position: refs/heads/master@{#12760}
2016-05-16 14:34:31 +00:00
970567cab2 Fixes a bug where AppRTC Android Demo crashes with empty roomId.
BUG=
R=magjed@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#12759}
2016-05-16 14:24:23 +00:00
57f95dcf9d New UI for AppRTC Android Demo that is easier to use and better follows
Android design guidelines.

BUG=
R=magjed@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#12758}
2016-05-16 14:21:45 +00:00
ff66d6b942 Roll chromium_revision d240f3cb44..dbbc7ddf2e (393782:393813)
Change log: d240f3cb44..dbbc7ddf2e
Full diff: d240f3cb44..dbbc7ddf2e

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/1984633002
Cr-Commit-Position: refs/heads/master@{#12757}
2016-05-16 13:24:38 +00:00
8ae8ab4e23 Makes ECDSA the default certificate to use (generated if no other certificates
are specified when constructing a peer connection, at:
https://code.google.com/p/chromium/codesearch#chromium/src/third_party/webrtc/api/webrtcsessiondescriptionfactory.cc&q=webrtcsessiondescriptionfactory&sq=package:chromium&type=cs&l=191).

This does not affect WEBRTC_BUILD_CHROMIUM builds whose ECDSA launch is handled
separately: https://crbug.com/601850 (req. @chromium acc).

BUG=chromium:611698, webrtc:5795

Review-Url: https://codereview.webrtc.org/1972383002
Cr-Commit-Position: refs/heads/master@{#12756}
2016-05-16 09:45:45 +00:00
4b2ffe2a23 Roll chromium_revision c77d596b47..d240f3cb44 (393773:393782)
Change log: c77d596b47..d240f3cb44
Full diff: c77d596b47..d240f3cb44

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/1983713002
Cr-Commit-Position: refs/heads/master@{#12755}
2016-05-16 03:06:32 +00:00
09f4e879dd Roll chromium_revision edd509dc82..c77d596b47 (393769:393773)
Change log: edd509dc82..c77d596b47
Full diff: edd509dc82..c77d596b47

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/1981733002
Cr-Commit-Position: refs/heads/master@{#12754}
2016-05-15 19:05:28 +00:00
0bcbbd345e Fix component build in chrome after recent TaskQueue cl
TBR=phoglund

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

Cr-Commit-Position: refs/heads/master@{#12753}
2016-05-15 11:42:49 +00:00
e1220d900f Roll chromium_revision 68a109ab91..edd509dc82 (393760:393769)
Change log: 68a109ab91..edd509dc82
Full diff: 68a109ab91..edd509dc82

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/1978143002
Cr-Commit-Position: refs/heads/master@{#12752}
2016-05-15 11:07:40 +00:00
8885a4f168 Roll chromium_revision 001bec1f78..68a109ab91 (393735:393760)
Change log: 001bec1f78..68a109ab91
Full diff: 001bec1f78..68a109ab91

Changed dependencies:
* src/buildtools: e9fb74175e..06e80a0e17
DEPS diff: 001bec1f78..68a109ab91/DEPS

No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/1983623002
Cr-Commit-Position: refs/heads/master@{#12751}
2016-05-15 03:04:23 +00:00
fd8be3468a Remove webrtc/base/scoped_ptr.h
This is a re-land of https://codereview.webrtc.org/1942823002

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

Review-Url: https://codereview.webrtc.org/1966423002
Cr-Commit-Position: refs/heads/master@{#12750}
2016-05-15 02:44:18 +00:00
c06b133b29 Reland of New task queueing primitive for async tasks: TaskQueue.
New task queueing primitive for async tasks: TaskQueue.
TaskQueue is a new way to asynchronously execute tasks sequentially
in a thread safe manner with minimal locking.  The implementation
uses OS supported APIs to do this that are compatible with async IO
notifications from things like sockets and files.
This class is a part of rtc_base_approved, so can be used by both
the webrtc and libjingle parts of the WebRTC library.  Moving forward,
we can replace rtc::Thread and webrtc::ProcessThread with this implementation.
NOTE: It should not be assumed that all tasks that execute on a TaskQueue,
run on the same thread.  E.g. on Mac and iOS, we use GCD dispatch queues
which means that tasks might execute on different threads depending on
what's the most efficient thing to do.

TBR=perkj@webrtc.org,phoglund@webrtc.org

Review-Url: https://codereview.webrtc.org/1984503002
Cr-Commit-Position: refs/heads/master@{#12749}
2016-05-14 18:31:49 +00:00
353ca7610b Disable SendsAndReceivesH264 on Memcheck.
Test runs too slowly to complete.

BUG=webrtc:5893
R=tommi@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#12748}
2016-05-14 13:53:32 +00:00
52541ba220 Roll chromium_revision 133b4c13ca..001bec1f78 (393728:393735)
Change log: 133b4c13ca..001bec1f78
Full diff: 133b4c13ca..001bec1f78

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/1969403009
Cr-Commit-Position: refs/heads/master@{#12747}
2016-05-14 11:10:02 +00:00
5ce1a2a629 Reland of Allow the localhost IP address even if it does not match the tcp port address (patchset #1 id:1 of https://codereview.webrtc.org/1979463003/ )
Reason for revert:
Relanding this change since the revert didn't make a difference.

Original issue's description:
> Revert of Allow the localhost IP address even if it does not match the tcp port address (patchset #4 id:120001 of https://codereview.webrtc.org/1914803002/ )
>
> Reason for revert:
> Speculatively reverting due to failures on the memcheck bot (and possibly other bots):
>
> https://build.chromium.org/p/client.webrtc/builders/Linux%20Memcheck/builds/5910/steps/video_engine_tests/logs/EndToEndTest.SendsAndReceivesH264
>
> Original issue's description:
> > This fixes an issue similar to
> > https://bugs.chromium.org/p/webrtc/issues/detail?id=3927
> > where the localhost IP does not match the turn port address.
> > The issue here is in the TCP port.
> >
> > BUG=
> > R=pthatcher@webrtc.org
> >
> > Committed: https://crrev.com/6705012904e6cbbefce6fbce0a3f615b7aeafd8f
> > Cr-Commit-Position: refs/heads/master@{#12707}
>
> TBR=pthatcher@webrtc.org,deadbeef@webrtc.org,honghaiz@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=
>
> Committed: https://crrev.com/1cbf0a73eb4b475e8beb878ea3a4d650191f0c08
> Cr-Commit-Position: refs/heads/master@{#12728}

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

Review-Url: https://codereview.webrtc.org/1979073002
Cr-Commit-Position: refs/heads/master@{#12746}
2016-05-14 10:19:39 +00:00
d49c30cd2f Revert of Delete webrtc::VideoFrame methods buffer and stride. (patchset #2 id:290001 of https://codereview.webrtc.org/1963413004/ )
Reason for revert:
Speculative revert to see if failures on the DrMemory bot are related to this cl.  See e.g. here:
https://build.chromium.org/p/client.webrtc/builders/Win%20DrMemory%20Full/builds/4243

UNINITIALIZED READ: reading 0x04980040-0x04980060 32 byte(s) within 0x04980040-0x04980060
# 0 CopyRow_AVX
# 1 CopyPlane
# 2 I420Copy
# 3 webrtc::ExtractBuffer
# 4 cricket::WebRtcVideoCapturer::SignalFrameCapturedOnStartThread
# 5 cricket::WebRtcVideoCapturer::OnIncomingCapturedFrame
# 6 FakeWebRtcVideoCaptureModule::SendFrame
# 7 WebRtcVideoCapturerTest_TestCaptureVcm_Test::TestBody
# 8 testing::internal::HandleSehExceptionsInMethodIfSupported<>

Original issue's description:
> Reland of Delete webrtc::VideoFrame methods buffer and stride. (patchset #1 id:1 of https://codereview.webrtc.org/1935443002/ )
>
> Reason for revert:
> I plan to reland this change in a week or two, after downstream users are updated.
>
> Original issue's description:
> > Revert of Delete webrtc::VideoFrame methods buffer and stride. (patchset #14 id:250001 of https://codereview.webrtc.org/1900673002/ )
> >
> > Reason for revert:
> > Breaks chrome FYI bots.
> >
> > Original issue's description:
> > > Delete webrtc::VideoFrame methods buffer and stride.
> > >
> > > To make the HasOneRef/IsMutable hack work, also had to change the
> > > video_frame_buffer method to return a const ref to a scoped_ref_ptr,
> > > to not imply an AddRef.
> > >
> > > BUG=webrtc:5682
> >
> > TBR=perkj@webrtc.org,magjed@webrtc.org,pbos@webrtc.org,pthatcher@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:5682
> >
> > Committed: https://crrev.com/5b3c443d301f2c2f18dac5b02652c08b91ea3828
> > Cr-Commit-Position: refs/heads/master@{#12558}
>
> TBR=perkj@webrtc.org,magjed@webrtc.org,pbos@webrtc.org,pthatcher@webrtc.org,stefan@webrtc.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=webrtc:5682
>
> Committed: https://crrev.com/d0dc66e0ea30c8614001e425a4ae0aa7dd56c2a7
> Cr-Commit-Position: refs/heads/master@{#12721}

TBR=perkj@webrtc.org,magjed@webrtc.org,pbos@webrtc.org,pthatcher@webrtc.org,stefan@webrtc.org,nisse@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:5682

Review-Url: https://codereview.webrtc.org/1983583002
Cr-Commit-Position: refs/heads/master@{#12745}
2016-05-14 10:18:13 +00:00
a1025073a9 Use generic CPU-overuse thresholds for iOS.
Prevents overly-aggressive CPU adaptation on iOS where input frames get
downscaled after ~40% CPU usage.

BUG=
R=tommi@webrtc.org

Review-Url: https://codereview.webrtc.org/1973293003
Cr-Commit-Position: refs/heads/master@{#12744}
2016-05-14 10:04:25 +00:00
fea93099f0 This reland https://codereview.webrtc.org/1932683002/.
Remove ViEEncoder::SetNetworkStatus.

Original cl description:
This cl removed ViEEncoder::SetNetworkStatus. Instead the PacedSender will report that frames can not be sent when the network is down and the BitrateController will report an estimated available bandwidth of 0 bps.

Patchset #1 is a pure reland.
Patchset #2 change the bitrate allocator to always return an initial bitrate >0 regardless of the estimates. The observer will be notified though if the network is down.

BUG=webrtc:5687

Review-Url: https://codereview.webrtc.org/1972183004
Cr-Commit-Position: refs/heads/master@{#12743}
2016-05-14 07:58:54 +00:00