12680 Commits

Author SHA1 Message Date
magjed
e5a246f693 SurfaceViewRendererOnMeasureTest: Wait for frame size change to take effect
SurfaceViewRendererOnMeasureTest#testFrame1280x720 is currently flaky
because of a race. This issue was introduced here:
https://codereview.webrtc.org/2111933002/. That CL moved the function
updateFrameDimensionsAndReportEvents() from renderFrame() to
renderFrameOnRenderThread(). The OnMeasureTest currently just calls
renderFrame() with a new frame size and immediately starts testing the
measured size, which might be before renderFrameOnRenderThread() is
executed. This CL waits for the RendererEvents.onFrameResolutionChanged()
callback before starting the test to fix this race.

BUG=webrtc:6089

Review-Url: https://codereview.webrtc.org/2147463002
Cr-Commit-Position: refs/heads/master@{#13448}
2016-07-12 14:48:22 +00:00
perkj
3a9f41e584 Revert of Clean up unused cricket::VideoCapturer inclusion from mediaengine.h (patchset #1 id:1 of https://codereview.webrtc.org/2147443002/ )
Reason for revert:
Breaks up stream projects.

Original issue's description:
> Clean up unused cricket::VideoCapturer inclusion from mediaengine.h
>
> TBR=nisse@webrtc.org
> BUG=webrtc:5426
>
> Committed: https://crrev.com/1e56991f248f8235c69cb3d95b35a44389c48354
> Cr-Commit-Position: refs/heads/master@{#13446}

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

Review-Url: https://codereview.webrtc.org/2142893002
Cr-Commit-Position: refs/heads/master@{#13447}
2016-07-12 12:54:26 +00:00
Per
1e56991f24 Clean up unused cricket::VideoCapturer inclusion from mediaengine.h
TBR=nisse@webrtc.org
BUG=webrtc:5426

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

Cr-Commit-Position: refs/heads/master@{#13446}
2016-07-12 12:25:25 +00:00
terelius
a44f28da45 Revert of Visualization tool for WebrtcEventLogs (patchset #9 id:160001 of https://codereview.webrtc.org/1995523002/ )
Reason for revert:
Reverting while investigating a downstream build failure.

Original issue's description:
> Initial version of the local visualization tool for WebrtcEventLogs.
>
> Plot graphs to python code. Generate packet, playout, sequence number and total bitrate graphs.
>
> Add bitrate and latency plots. Generate multiple figures, and control which ones are used through command line flags.
>
> Committed: https://crrev.com/a478786ef1513790194792010f766324a469db4d
> Cr-Commit-Position: refs/heads/master@{#13443}

TBR=stefan@webrtc.org,aleloi@webrtc.org,phoglund@webrtc.org,henrika@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Review-Url: https://codereview.webrtc.org/2147453002
Cr-Commit-Position: refs/heads/master@{#13445}
2016-07-12 12:11:29 +00:00
brandtr
d658edeeed Report Unique_frames_count from frame_analyzer using 'score' units.
With this change, an increase in Unique_frames_count will be marked
as an improvement (rather than a deterioration) in the Chrome Performance
Dashboard.

BUG=chromium:623521
R=phoglund@webrtc.org

Review-Url: https://codereview.webrtc.org/2142813002
Cr-Commit-Position: refs/heads/master@{#13444}
2016-07-12 11:53:10 +00:00
terelius
a478786ef1 Initial version of the local visualization tool for WebrtcEventLogs.
Plot graphs to python code. Generate packet, playout, sequence number and total bitrate graphs.

Add bitrate and latency plots. Generate multiple figures, and control which ones are used through command line flags.

Review-Url: https://codereview.webrtc.org/1995523002
Cr-Commit-Position: refs/heads/master@{#13443}
2016-07-12 11:30:31 +00:00
buildbot
2637c37252 Roll chromium_revision f746c62413..8466c81e38 (404765:404801)
Change log: f746c62413..8466c81e38
Full diff: f746c62413..8466c81e38

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2144453003
Cr-Commit-Position: refs/heads/master@{#13442}
2016-07-12 11:13:33 +00:00
sprang
025aa94ccb Revert of Adds data logging in native AudioDeviceBuffer class (patchset #10 id:180001 of https://codereview.webrtc.org/2132613002/ )
Reason for revert:
Seems to break things upstream.

Original issue's description:
> Adds data logging in native AudioDeviceBuffer class.
>
> Goal is to provide periodic logging of most essential audio parameters
> for playout and recording sides. It will allow us to track if the native audio layer is working as intended.
>
> BUG=NONE
>
> Committed: https://crrev.com/348e411dd27e6dbe9b84b27ce46e9b7c657c1eae
> Cr-Commit-Position: refs/heads/master@{#13440}

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

Review-Url: https://codereview.webrtc.org/2139233002
Cr-Commit-Position: refs/heads/master@{#13441}
2016-07-12 10:08:51 +00:00
henrika
348e411dd2 Adds data logging in native AudioDeviceBuffer class.
Goal is to provide periodic logging of most essential audio parameters
for playout and recording sides. It will allow us to track if the native audio layer is working as intended.

BUG=NONE

Review-Url: https://codereview.webrtc.org/2132613002
Cr-Commit-Position: refs/heads/master@{#13440}
2016-07-12 09:18:46 +00:00
magjed
11dd52bcc6 H264VideoToolboxEncoder: Add support for native handles
Support encoding from CVPixelBuffers directly in H264VideoToolboxEncoder.
If the frame needs to be scaled, it will fall back to the previous slow
path:
CVPixelBuffer -> NV12 -> I420 -> (scale) I420 -> NV12 -> CVPixelBuffer.

BUG=webrtc:4081

Review-Url: https://codereview.webrtc.org/2140573002
Cr-Commit-Position: refs/heads/master@{#13439}
2016-07-12 08:26:47 +00:00
tommi
b89257a51b Handle initialization race in TaskQueue on Windows, discovered by drmemory.
The issue was that if the main entry routine of the thread would get called before the first APC, the thread would hang on a GetMessage() call and the APC sent to initialize the thread, would never run.

BUG=

Review-Url: https://codereview.webrtc.org/2139723003
Cr-Commit-Position: refs/heads/master@{#13438}
2016-07-12 08:24:41 +00:00
buildbot
913b70489d Roll chromium_revision 866025e843..f746c62413 (404626:404765)
Change log: 866025e843..f746c62413
Full diff: 866025e843..f746c62413

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2144443003
Cr-Commit-Position: refs/heads/master@{#13437}
2016-07-12 02:44:51 +00:00
fbarchard
8c59617c5a add convert_from.h include for ConvertFromI420
webrtc doesnt include the header that the function is prototyped in.
This CL makes the convert_from.h include those headers to allow webrtc to
update to the head libyuv.

R=marpan@webrtc.org,pbos@webrtc.org
BUG=libyuv:620,webrtc:6094
TESTED=local build and try bots

Review-Url: https://codereview.webrtc.org/2139853002
Cr-Commit-Position: refs/heads/master@{#13436}
2016-07-12 01:31:59 +00:00
honghaiz
af6b6e021f Prefix bool variable with "should".
This is to address a comment in a CL landed earlier.

BUG=

Review-Url: https://codereview.webrtc.org/2137223002
Cr-Commit-Position: refs/heads/master@{#13435}
2016-07-11 22:09:32 +00:00
philipel
b4d31085b4 Added various timestamps to FrameObject.
Added various timestamps to the FrameObject class which are needed to calculate
the jitter delay.

BUG=webrtc:5514

Review-Url: https://codereview.webrtc.org/2124943002
Cr-Commit-Position: refs/heads/master@{#13434}
2016-07-11 15:46:35 +00:00
buildbot
65a001fe30 Roll chromium_revision 38cb11390a..866025e843 (404590:404626)
Change log: 38cb11390a..866025e843
Full diff: 38cb11390a..866025e843

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2140483003
Cr-Commit-Position: refs/heads/master@{#13433}
2016-07-11 11:47:46 +00:00
hbos
3d70fef3f3 Remove DtlsIdentityStoreInterface, it is no longer used.
This interface and its implementations have been replaced by
rtc::RTCCertificateGeneratorInterface.

Removes dtlsidentitystore.h, updates .gyp/gn and removes old #includes.

BUG=webrtc:5707, webrtc:5708

Review-Url: https://codereview.webrtc.org/2034013003
Cr-Commit-Position: refs/heads/master@{#13432}
2016-07-11 11:10:14 +00:00
henrika
a2c900877d Revert of Protect MessageQueue stop field with a critical section to avoid data races. (patchset #5 id:80001 of https://codereview.webrtc.org/2023193002/ )
Reason for revert:
Only reasonable CL in blameslist for broken Chrome FYI bots on all platforms. See

https://build.chromium.org/p/chromium.webrtc.fyi/waterfall?builder=Mac%20Builder

Original issue's description:
> Protect MessageQueue stop field with a critical section to avoid data races.
>
> Committed: https://crrev.com/1d35d2971b1e89b3ecadb7fb1ff064f9af850ad4
> Cr-Commit-Position: refs/heads/master@{#13430}

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

Review-Url: https://codereview.webrtc.org/2135173002
Cr-Commit-Position: refs/heads/master@{#13431}
2016-07-11 09:48:49 +00:00
andresp
1d35d2971b Protect MessageQueue stop field with a critical section to avoid data races.
Review-Url: https://codereview.webrtc.org/2023193002
Cr-Commit-Position: refs/heads/master@{#13430}
2016-07-11 09:23:50 +00:00
perkj
c2c24f795e Remove frame rate and target bitrate from ProtectionBitrateCalculator::SetEncodingData
These arguments are not really known when calling SetEncodingData. They are still provided as argument to ProtectionBitrateCalculator::SetTargetRates though.

This cl is broken out from https://codereview.webrtc.org/2060403002/
BUG=webrtc:5687

Review-Url: https://codereview.webrtc.org/2121983002
Cr-Commit-Position: refs/heads/master@{#13429}
2016-07-11 08:47:36 +00:00
stefan
5e12d36ba7 Reset InterArrival if arrival time clock makes a jump.
Also adds a copy of the BWE test suite to the new DelayBasedBwe class.

BUG=webrtc:6079

Review-Url: https://codereview.webrtc.org/2126793002
Cr-Commit-Position: refs/heads/master@{#13428}
2016-07-11 08:44:12 +00:00
buildbot
154d0de5cd Roll chromium_revision c14d86fd4a..38cb11390a (404581:404590)
Change log: c14d86fd4a..38cb11390a
Full diff: c14d86fd4a..38cb11390a

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2141463002
Cr-Commit-Position: refs/heads/master@{#13427}
2016-07-11 02:48:21 +00:00
buildbot
660ec34e1b Roll chromium_revision 1135d428cd..c14d86fd4a (404580:404581)
Change log: 1135d428cd..c14d86fd4a
Full diff: 1135d428cd..c14d86fd4a

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2141433002
Cr-Commit-Position: refs/heads/master@{#13426}
2016-07-10 18:43:17 +00:00
buildbot
95c013a465 Roll chromium_revision c19cc78b55..1135d428cd (404576:404580)
Change log: c19cc78b55..1135d428cd
Full diff: c19cc78b55..1135d428cd

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2133983002
Cr-Commit-Position: refs/heads/master@{#13425}
2016-07-10 10:47:34 +00:00
buildbot
0050d7c1ac Roll chromium_revision e33a44a707..c19cc78b55 (404563:404576)
Change log: e33a44a707..c19cc78b55
Full diff: e33a44a707..c19cc78b55

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2133423002
Cr-Commit-Position: refs/heads/master@{#13424}
2016-07-10 02:37:11 +00:00
buildbot
52e1334158 Roll chromium_revision 66f69e4e04..e33a44a707 (404559:404563)
Change log: 66f69e4e04..e33a44a707
Full diff: 66f69e4e04..e33a44a707

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2135003002
Cr-Commit-Position: refs/heads/master@{#13423}
2016-07-09 10:49:17 +00:00
buildbot
9f4a4aae95 Roll chromium_revision 9c9a2b8dde..66f69e4e04 (404340:404559)
Change log: 9c9a2b8dde..66f69e4e04
Full diff: 9c9a2b8dde..66f69e4e04

Changed dependencies:
* src/third_party/libFuzzer/src: 7ee243229b..3ae6b1d110
DEPS diff: 9c9a2b8dde..66f69e4e04/DEPS

No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2129353002
Cr-Commit-Position: refs/heads/master@{#13422}
2016-07-09 02:46:24 +00:00
fbarchard
d1f83cf35b include planar functions for I420Rect()
The prototype for I420Rect is in libyuv/planar_functions.h
In the past the header was included by convert.h but in future versions
the headers dont include each other so its important to include the
specific header needed.

R=marpan@webrtc.org
BUG=webrtc:6091

Review-Url: https://codereview.webrtc.org/2130153005
Cr-Commit-Position: refs/heads/master@{#13421}
2016-07-09 00:33:28 +00:00
tkchin
5d3f2bae48 Fix missing ObjC framework header.
BUG=webrtc:6082
NOTRY=True

Review-Url: https://codereview.webrtc.org/2127373004
Cr-Commit-Position: refs/heads/master@{#13420}
2016-07-08 20:04:05 +00:00
aluebs
a49f1105eb Revert of Reland Issue 2061423003: Refactor NACK bitrate allocation (patchset #1 id:1 of https://codereview.webrtc.org/2131313002/ )
Reason for revert:
It keeps breaking upstream.

Original issue's description:
> Reland Issue 2061423003: Refactor NACK bitrate allocation
>
> This is a reland of https://codereview.webrtc.org/2061423003/
> Which was reverted in https://codereview.webrtc.org/2131913003/
>
> The reason for the revert was that some upstream code used
> RtpSender::SetTargetBitrate(). I've added that back as a no-op until we
> it's been brought up to date.
>
> TBR=tommi@webrtc.org
>
> Committed: 05ce4ae31f

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

Review-Url: https://codereview.webrtc.org/2130423002
Cr-Commit-Position: refs/heads/master@{#13419}
2016-07-08 18:02:02 +00:00
Erik Språng
05ce4ae31f Reland Issue 2061423003: Refactor NACK bitrate allocation
This is a reland of https://codereview.webrtc.org/2061423003/
Which was reverted in https://codereview.webrtc.org/2131913003/

The reason for the revert was that some upstream code used
RtpSender::SetTargetBitrate(). I've added that back as a no-op until we
it's been brought up to date.

TBR=tommi@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#13418}
2016-07-08 17:11:23 +00:00
sprang
e5dd44101e Revert of Refactor NACK bitrate allocation (patchset #16 id:300001 of https://codereview.webrtc.org/2061423003/ )
Reason for revert:
Breaks upstream code.

Original issue's description:
> Refactor NACK bitrate allocation
>
> Nack bitrate allocation should not be done on a per-rtp-module basis,
> but rather shared bitrate pool per call. This CL moves allocation to the
> pacer and cleans up a bunch if bitrate stats handling.
>
> BUG=
> R=danilchap@webrtc.org, stefan@webrtc.org, tommi@webrtc.org
>
> Committed: 5fc59e810b

TBR=tommi@webrtc.org,danilchap@webrtc.org,stefan@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/2131913003
Cr-Commit-Position: refs/heads/master@{#13417}
2016-07-08 16:39:02 +00:00
Erik Språng
5fc59e810b Refactor NACK bitrate allocation
Nack bitrate allocation should not be done on a per-rtp-module basis,
but rather shared bitrate pool per call. This CL moves allocation to the
pacer and cleans up a bunch if bitrate stats handling.

BUG=
R=danilchap@webrtc.org, stefan@webrtc.org, tommi@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#13416}
2016-07-08 16:15:29 +00:00
ossu
108ecec51c Removed LEGACY_BITEXACT from neteq_impl.cc and updated the ACM unit tests.
I'll be rewriting AcmReceiver soon and am trying to reduce the amount of
old stuff that needs to be supported.

I've manually checked the outputs of the AcmReceiver bitexactness
tests with this change. A large part of the tests are still bitexact,
with one section only differing slightly in timings. Nothing audible
unless playing the old and new versions back simultaneously.

The output of NetEqDecoderTest were also changed due to this CL, although only on android. I built and ran the test locally and compared the audio output manually - the changes were the same as for the other tests; i.e. very slight timing changes for a part of the output.

I updated the network stats checksum for android without analyzing it further. I expect it goes hand-in-hand with the changes to the output; i.e. the changes in it are fine because the audio output is fine. Likely, the stats will show changes in the usage of CNG, since that is what the code changes.

BUG=webrtc:1361

Review-Url: https://codereview.webrtc.org/2117763002
Cr-Commit-Position: refs/heads/master@{#13415}
2016-07-08 15:45:26 +00:00
Stefan Holmer
be40296cce Fix bug where a connection switch causes BWE to be set to zero.
BUG=webrtc:6076
R=sprang@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#13414}
2016-07-08 14:16:52 +00:00
phoglund
01c7947554 Add new x86 trybot to CQ.
BUG=webrtc:6078
TBR=kjellander@webrtc.org
NOTRY=true

Review-Url: https://codereview.webrtc.org/2126293002
Cr-Commit-Position: refs/heads/master@{#13413}
2016-07-08 13:14:35 +00:00
buildbot
40a1de9438 Roll chromium_revision 39c812dd97..9c9a2b8dde (404030:404340)
Change log: 39c812dd97..9c9a2b8dde
Full diff: 39c812dd97..9c9a2b8dde

Changed dependencies:
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/3cab5572b1..95c69563dc
DEPS diff: 39c812dd97..9c9a2b8dde/DEPS

No update to Clang.

phoglund: All bots that are up appear to pass, therefore adding NOTRY.

TBR=
NOTRY=true

Review-Url: https://codereview.webrtc.org/2131893002
Cr-Commit-Position: refs/heads/master@{#13412}
2016-07-08 12:12:58 +00:00
andresp
cdf6172b7f Replace reentrant ASSERT checks in MessageQueueManager with a non-racy version.
ASSERT(!crit_.CurrentThreadIsOwner()) was racy due to use of a rtc::IsThreadRefEqual which cannot compare the thread handlers without a lock unless one is already sure it is the thread owning the crit.

Review-Url: https://codereview.webrtc.org/2131503002
Cr-Commit-Position: refs/heads/master@{#13411}
2016-07-08 09:45:47 +00:00
ossu
a16f7a83a1 Added voice_engine_unittests and voe_auto_test targets to GN.
I didn't convert the APK tests, since I couldn't figure it out, nor
find any that had already been converted to copy from. I might get to it
in a new CL or even second patch-set.

BUG=webrtc:6039

Review-Url: https://codereview.webrtc.org/2123243003
Cr-Commit-Position: refs/heads/master@{#13410}
2016-07-08 09:13:02 +00:00
andresp
388d8e92b8 Remove unused CriticalSection::IsLocked()
Review-Url: https://codereview.webrtc.org/2128583003
Cr-Commit-Position: refs/heads/master@{#13409}
2016-07-08 08:19:41 +00:00
skvlad
4c0536bd51 Change GetPlayoutTimestamp message from Error to Info
This message was printed to the receiver's log on every single video
frame if the remote side is sending video but not audio. This could
happen if, for example, one participant creates RtpSenders for both
audio and video but doesn't set the audio track, or if the track is
set but RtpParameters.encodings[0].active == false.

This CL changes the trace level to StateInfo as it is the expected
behavior in this case.

R=deadbeef@webrtc.org, henrika@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#13408}
2016-07-07 20:06:38 +00:00
katrielc
44905cf49f Add a fuzzer for the pseudoTCP implementation used by chromoting. This
found chromium:620694.

Unfortunately it depends on unsafe GN targets, so do not build in
Chromium.

NOTRY=true

Review-Url: https://codereview.webrtc.org/2129603003
Cr-Commit-Position: refs/heads/master@{#13407}
2016-07-07 12:52:29 +00:00
stefan
b17bfa996d Reland of ll chromium_revision 54c8d0a5e2..39c812dd97 (403836:404030) (patchset #1 id:1 of https://codereview.webrtc.org/2123323003/ )
Reason for revert:
Didn't solve the upstream breakage.

Original issue's description:
> Revert of Roll chromium_revision 54c8d0a5e2..39c812dd97 (403836:404030) (patchset #1 id:1 of https://codereview.webrtc.org/2123373003/ )
>
> Reason for revert:
> Might have broken upstream projects. Will reland if not.
>
> Original issue's description:
> > Roll chromium_revision 54c8d0a5e2..39c812dd97 (403836:404030)
> >
> > Change log: 54c8d0a5e2..39c812dd97
> > Full diff: 54c8d0a5e2..39c812dd97
> >
> > Changed dependencies:
> > * src/buildtools: d2664782a3..aa47d9773d
> > * src/tools/gyp: c61b0b35c8..bac4680ec9
> > DEPS diff: 54c8d0a5e2..39c812dd97/DEPS
> >
> > No update to Clang.
> >
> > TBR=
> >
> > Committed: https://crrev.com/e7e6a07f7301b0262025113a4e08eba4cb338ad8
> > Cr-Commit-Position: refs/heads/master@{#13401}
>
> TBR=buildbot@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
>
> Committed: https://crrev.com/cf47f0bd637690ee7170ef5dbf3765a858eb1c52
> Cr-Commit-Position: refs/heads/master@{#13405}

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

Review-Url: https://codereview.webrtc.org/2125283002
Cr-Commit-Position: refs/heads/master@{#13406}
2016-07-07 12:33:02 +00:00
stefan
cf47f0bd63 Revert of Roll chromium_revision 54c8d0a5e2..39c812dd97 (403836:404030) (patchset #1 id:1 of https://codereview.webrtc.org/2123373003/ )
Reason for revert:
Might have broken upstream projects. Will reland if not.

Original issue's description:
> Roll chromium_revision 54c8d0a5e2..39c812dd97 (403836:404030)
>
> Change log: 54c8d0a5e2..39c812dd97
> Full diff: 54c8d0a5e2..39c812dd97
>
> Changed dependencies:
> * src/buildtools: d2664782a3..aa47d9773d
> * src/tools/gyp: c61b0b35c8..bac4680ec9
> DEPS diff: 54c8d0a5e2..39c812dd97/DEPS
>
> No update to Clang.
>
> TBR=
>
> Committed: https://crrev.com/e7e6a07f7301b0262025113a4e08eba4cb338ad8
> Cr-Commit-Position: refs/heads/master@{#13401}

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

Review-Url: https://codereview.webrtc.org/2123323003
Cr-Commit-Position: refs/heads/master@{#13405}
2016-07-07 08:51:13 +00:00
Magnus Jedvert
27dcacdbc1 Android: Add initialize() function to VideoCapturer interface
This CL moves some arguments, e.g. the camera thread, from the startCapture() function to a new initialize() function. These arguments are constant during the lifetime of the VideoCapturer, and are not changed for different startCapture() calls. Setting them once allows for simplifications in the code.

This CL also fixes a bug for camera2 where pendingCameraSwitchSemaphore might not be released when switchEventsHandler is null.

In camera1, the handler lock and 'cameraThreadHandler == null' check is replaced with an atomic boolean to check if the camera is stopped.

BUG=webrtc:5519
R=sakal@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#13404}
2016-07-07 08:00:35 +00:00
Rasmus Brandt
ae4f7674e4 Style updates for ForwardErrorCorrection and related classes.
This CL mainly updates the FEC code to use more C++11 features and
to be more in line with the style guide. These changes should
have no impact on the functionality provided by the FEC.

Summary of style fixes:
- Use range-based for loops, where applicable.
- Use auto type deduction for iterator type names.
- Use RTC_DCHECK instead of assert.
- Rename FEC to Fec, where applicable.
- Update test_fec.cc to use variable_names rather than variableNames.
- Avoid redefining the PacketList types outside ForwardErrorCorrection.

Another minor change is that storage for the packet masks, as these
are generated, now is provided by a member variable, rather than
being dynamically allocated on every call to GenerateFec.

BUG=webrtc:5654
R=danilchap@webrtc.org, stefan@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#13403}
2016-07-07 07:41:03 +00:00
perkj
9b522f8d04 Add more logging about the bwe state and VideoSendStream state.
Review-Url: https://codereview.webrtc.org/2121273003
Cr-Commit-Position: refs/heads/master@{#13402}
2016-07-07 07:36:40 +00:00
buildbot
e7e6a07f73 Roll chromium_revision 54c8d0a5e2..39c812dd97 (403836:404030)
Change log: 54c8d0a5e2..39c812dd97
Full diff: 54c8d0a5e2..39c812dd97

Changed dependencies:
* src/buildtools: d2664782a3..aa47d9773d
* src/tools/gyp: c61b0b35c8..bac4680ec9
DEPS diff: 54c8d0a5e2..39c812dd97/DEPS

No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2123373003
Cr-Commit-Position: refs/heads/master@{#13401}
2016-07-07 03:51:38 +00:00
thakis
d7d3e05ca6 mac: Remove unused GetQuickTimeVersion().
The function uses a deprecated function and is unused, so delete it.

BUG=6027
NOTRY=true

Review-Url: https://codereview.webrtc.org/2114013002
Cr-Commit-Position: refs/heads/master@{#13400}
2016-07-06 18:03:20 +00:00
thakis
0cf208aa28 mac: Make GetOSVersion() private to a cc file.
Everything calls GetOSVersionName() instead, so no need to expose that.
Since it uses deprecated functions, this will make it easier to rewrite
it in a future change.

BUG=webrtc:6027
NOTRY=true

Review-Url: https://codereview.webrtc.org/2117823002
Cr-Commit-Position: refs/heads/master@{#13399}
2016-07-06 17:46:49 +00:00