10784 Commits

Author SHA1 Message Date
kjellander
b24317bfda Fix license headers in webrtc/api.
In addition to the code moved from talk/app/webrtc
there were some files in webrtc/api/objctests that still
had the libjingle license header.

BUG=webrtc:5418
TBR=tkchin@webrtc.org
NOTRY=True

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

Cr-Commit-Position: refs/heads/master@{#11552}
2016-02-10 15:54:53 +00:00
kjellander@webrtc.org
e2812e74fb Cleanup after talk/media move.
More work remains, but is less urgent.
webrtc/media/base/mediacommon.h could not be deleted since
the constants are used in multiple places.

BUG=webrtc:5420
TBR=pthatcher@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11551}
2016-02-10 15:30:51 +00:00
kjellander
168529559c Roll chromium_revision 8fff44b..b17dd83 (374588:374637)
Change log: 8fff44b..b17dd83
Full diff: 8fff44b..b17dd83

No dependencies changed.
No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11550}
2016-02-10 13:18:31 +00:00
henrik.lundin
abedbbd09a Suppress UBSan errors from iSAC
BUG=webrtc:5513
NOTRY=true

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

Cr-Commit-Position: refs/heads/master@{#11549}
2016-02-10 13:01:44 +00:00
kjellander
c6344aac47 Remove java_home GYP variable from webrtc/build/common.gypi
The java_home variable is no longer used since
https://codereview.webrtc.org/1652123002 so it can be removed.
This is also needed to make it possible to roll
https://codereview.webrtc.org/1610243002/ into Chromium.

TBR=perkj@webrtc.org
BUG=webrtc:5418
NOTRY=True

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

Cr-Commit-Position: refs/heads/master@{#11548}
2016-02-10 12:27:33 +00:00
peah
1147b75b52 Moved buffering of farend into the EchoSubtraction method.
This makes sense since the buffered data is only used by
the echo subtraction method. Furthermore, it simplifies the
upcoming modifications to the echo subtraction method since
the way the buffering is done can then be specific for the
echo subtraction implementation used.

The change is bitexact and this was verified using a fairly
extensive bitexactness suite.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#11547}
2016-02-10 11:55:38 +00:00
henrik.lundin
6608d9a1aa NetEq: Fix a negative shift value
In some rare occations (very low energy signal), a shift value happened
to be negative. This is now fixed by using the WEBRTC_SPL_SHIFT_W32,
which in essence checks the sign of the number of shifts and performs a
right or left shift accordingly.

The fix reverts to how the code was written in old NetEq; see
4d363ae305/webrtc/modules/audio_coding/neteq/normal.c (165).

BUG=webrtc:5490

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

Cr-Commit-Position: refs/heads/master@{#11546}
2016-02-10 10:47:56 +00:00
Henrik Kjellander
15583c19d7 Move talk/app/webrtc to webrtc/api
The previously disabled warnings that were inherited from
talk/build/common.gypi are now replaced by target-specific disabling
of only the failing warnings. Additional disabling was needed since the stricter
compilation warnings that applies to code in webrtc/.

License headers will be updated in a follow-up CL.

Other modifications:
* Updated the header guards.
* Sorted the includes using chromium/src/tools/sort-headers.py
  except for these files:
  talk/app/webrtc/peerconnectionendtoend_unittest.cc
  talk/app/webrtc/java/jni/androidmediadecoder_jni.cc
  talk/app/webrtc/java/jni/androidmediaencoder_jni.cc
  webrtc/media/devices/win32devicemanager.cc

The HAVE_SCTP define was added for the peerconnection_unittests target
in api_tests.gyp.

I also checked that none of
SRTP_RELATIVE_PATH
HAVE_SRTP
HAVE_WEBRTC_VIDEO
HAVE_WEBRTC_VOICE
were used by the talk/app/webrtc code.

For Chromium, the following changes will need to be applied to the roll CL that updates the
DEPS for WebRTC and libjingle:
https://codereview.chromium.org/1615433002

BUG=webrtc:5418
NOPRESUBMIT=True
R=deadbeef@webrtc.org, pthatcher@webrtc.org, tommi@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11545}
2016-02-10 09:53:26 +00:00
kjellander
f5368ab81d Roll chromium_revision a6aefb7..8fff44b (374428:374588)
Change log: a6aefb7..8fff44b
Full diff: a6aefb7..8fff44b

Changed dependencies:
* src/tools/gyp: 57190fa..66bbdf4
DEPS diff: a6aefb7..8fff44b/DEPS

No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11544}
2016-02-10 04:05:37 +00:00
sergeyu
cc9669c6b8 Cleanup shared memory handling in DesktopCapturer interface.
Previously shared memory buffers for DesktopCapturer were created
using DesktopCapturer::Callback::CreateSharedBuffer(). That made it
difficult to proxy DesktopCapturer interface from one thread to another.
This CL adds SharedBufferFactory interface that's allowed to be called
on a background thread. This also simplifies clients that don't
need to use shared memory, as they no longer need to override
CreateSharedBuffer().

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

Cr-Commit-Position: refs/heads/master@{#11543}
2016-02-09 23:13:32 +00:00
kjellander
c815c60f8a Roll chromium_revision 3a90ecf..a6aefb7 (374096:374428)
Change log: 3a90ecf..a6aefb7
Full diff: 3a90ecf..a6aefb7

Changed dependencies:
* src/third_party/yasm/source/patched-yasm: 4671120..7da28c6
DEPS diff: 3a90ecf..a6aefb7/DEPS

No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11542}
2016-02-09 20:15:03 +00:00
Alejandro Luebs
fa639f0bb3 Surface the noise estimate of the NS to be used by other components
R=henrik.lundin@webrtc.org, turaj@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11541}
2016-02-09 19:24:51 +00:00
kjellander
78ddd733b0 Update path for audioproc_debug proto output.
This will make it align with protoc tools that use the relative
path from the project root to the files in the output path.
Having this, no hacks will need to be applied downstream.

TBR=henrik.lundin@webrtc.org
NOTRY=True

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

Cr-Commit-Position: refs/heads/master@{#11540}
2016-02-09 16:13:16 +00:00
kjellander
4bba35f735 Switch third_party/gflags to use updated GitHub repo.
This pulls in several fixes and gets Visual Studio 2015 support.
The new repo is located at https://github.com/gflags/gflags
which is mirrored in Chrome infrastructure at
https://chromium.googlesource.com/external/github.com/gflags/gflags

New configuration headers were generated according to README.webrtc
on Windows and Linux. I verified the Linux generated ones are working
on Mac. The generating headers on Mac are identical with only a minor
difference (an __unused attribute) that doesn't effect the build.

BUG=webrtc:5185
NOTRY=True
NOPRESUBMIT=True
TESTED=Successfully ran:
out/Release/video_quality_measurement --input_filename=resources/foreman_cif.yuv  --width=352 --height=288
to verify flags are still being parsed properly.
I also ran the compile trybots and the baremetal bots
(since they run tests that have gflags flags).

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

Cr-Commit-Position: refs/heads/master@{#11539}
2016-02-09 14:47:47 +00:00
danilchap
09fef9e6f7 [rtp_rtcp] Added Sender Report Request rtcp packet.
BUG=webrtc:5260
R=åsapersson

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

Cr-Commit-Position: refs/heads/master@{#11538}
2016-02-09 13:57:56 +00:00
perkj
dfb769d848 Remove deprecated PeerConnectionObserver::OnStateChange and OnIceComplete
These methods are no longer used.
OnStateChange needs to be removed from Chrome before this cl lands. https://codereview.chromium.org/1668413003/

TBR=glaznev@webrtc.org for webrtc/examples

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

Cr-Commit-Position: refs/heads/master@{#11537}
2016-02-09 11:09:50 +00:00
hbos
0715a83a07 Avoid OpenH264 encoder bug for #threads > 1 on Mac and Chromium+Sandbox.
Until the bug has been further investigated, we're limiting the number
of threads to 1 to avoid problems. See crbug.com/583348.

BUG=chromium:500605, chromium:468365, chromium:583348

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

Cr-Commit-Position: refs/heads/master@{#11536}
2016-02-09 10:34:34 +00:00
jbauch
097d54956d Added thread annotations to FifoBuffer.
This CL adds thread annotations to FifoBuffer and adds a missing CritScope
for attribute access that is modified in locked code paths.

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

Cr-Commit-Position: refs/heads/master@{#11535}
2016-02-09 10:30:43 +00:00
henrik.lundin
e594213a2b Fix div-by-0 in NetEq's StatisticsCalculator
If a StatisticsCalculator::PeriodicUmaAverage object was created and
then deleted without any samples being logged, the destructor would call
the Metric() method, which calculated sum_/counter_. However, with no
samples logged, counter_ is 0.

This was found and verified using UBSan tests; see the bug for more info.

BUG=webrtc:5490
R=ivoc@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11534}
2016-02-09 08:36:02 +00:00
henrik.lundin
fd2be2718d Fuzzer tests for AudioDecoder's DecodeRedundant and IncomingPacket
This CL adds new fuzzer tests for the DecodeRedundant and
IncomingPacket methods of AudioDecoder. In practice, only Opus has
DecodeRedundant, and only iSAC has IncomingPacket. Did some minor work
to generalize the helper function reading values from the fuzzed
input.

BUG=webrtc:5306
R=pbos@webrtc.org
NOTRY=true

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

Cr-Commit-Position: refs/heads/master@{#11533}
2016-02-09 08:00:32 +00:00
kjellander
7ae5e52d0a Revert of Analyze support in gyp_webrtc (patchset #1 id:1 of https://codereview.webrtc.org/1369683004/ )
Reason for revert:
I've decided to not aim for implementing analyze and focus on getting Swarming done instead, so I'm cleaning this up.

Original issue's description:
> Analyze support in gyp_webrtc
>
> BUG=chromium:482463
> TESTED=Manually tested using the JSON files attached to https://code.google.com/p/chromium/issues/detail?id=482463#c2 and:
> webrtc/build/gyp_webrtc --analyzer nothing-files.json nothing-files-RESULT.json
> webrtc/build/gyp_webrtc --analyzer everything-files.json everything-files-RESULT.json
> webrtc/build/gyp_webrtc --analyzer test_support_unittests-files.json test_support_unittests-files-RESULT.json
> Then I verified the result-json contained the expected output.
>
> R=phoglund@webrtc.org
>
> Committed: https://crrev.com/8108764552e20d657c0a6f75a6200b93de486659
> Cr-Commit-Position: refs/heads/master@{#10097}

TBR=phoglund@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=chromium:482463

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

Cr-Commit-Position: refs/heads/master@{#11532}
2016-02-09 07:46:39 +00:00
jbauch
d2a22960c3 Enable cpplint for webrtc/modules/pacing and fix all uncovered cpplint errors.
This CL enableds cpplint for webrtc/modules/pacing.

BUG=webrtc:5460
NOTRY=true

TESTED=Fixed issues reported by:
find webrtc/modules/pacing -type f -name *.cc -o -name *.h | xargs cpplint.py
followed by 'git cl presubmit'.

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

Cr-Commit-Position: refs/heads/master@{#11531}
2016-02-09 07:18:30 +00:00
mikescarlett
cd0e4751b2 Create QuicSession
This CL depends on the unofficial libquic (https://github.com/devsisters/libquic), with subtle modifications.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#11530}
2016-02-09 01:35:55 +00:00
kjellander
456801db3b Add perkj+magjed to webrtc/media/OWNERS
BUG=webrtc:5420
NOTRY=True

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

Cr-Commit-Position: refs/heads/master@{#11529}
2016-02-08 14:46:04 +00:00
Peter Boström
c0ae305a9e Fix null-pointer dereference in RTPSenderVideo.
Since the address of the dereference is taken this inputs a garbage
almost-null pointer into RtpPacketizer. Not likely that a load/store is
performed on the address, but UBSan fires and it's a source of potential
future errors.

BUG=webrtc:5124, webrtc:5490
R=stefan@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11528}
2016-02-08 14:00:22 +00:00
Stefan Holmer
58c664c13d Clean up of CongestionController.
Removes unused methods and moves out ViERemb to Call.

R=pbos@webrtc.org, solenberg@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11527}
2016-02-08 13:31:53 +00:00
Peter Boström
d1d66bab3d Remove ViEChannel calls for VideoReceiveStream.
Remove hops into ViEChannel for calls directly into RtpRtcp and
ViEReceiver from VideoReceiveStream.

Some calls are more complex and will be removed later.

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

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

Cr-Commit-Position: refs/heads/master@{#11526}
2016-02-08 13:07:22 +00:00
kjellander
294515373b Roll chromium_revision 8da2495..3a90ecf (374076:374096)
Change log: 8da2495..3a90ecf
Full diff: 8da2495..3a90ecf

No dependencies changed.
No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11525}
2016-02-08 12:17:44 +00:00
danilchap
7336eeb690 [rtp_rtcp] rtcp::Tmmbn cleaned and got Parse function
Added accessor and Parse function
removed dependencies on structures from rtcp_utility.h (except RtcpCommonHeader)
removed limitation of 50 items per TMMBN.

BUG=webrtc:5260
R=åsapersson

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

Cr-Commit-Position: refs/heads/master@{#11524}
2016-02-08 11:35:20 +00:00
hbos
62756ee411 Default build flag |rtc_use_h264| to |proprietary_codecs|
if not on Android/iOS.

This is a re-land of https://codereview.webrtc.org/1674103002/.
The reason Chromium FYI turned red was due to deps not
being relative. See kjellander's CL:
https://codereview.webrtc.org/1681493002/.

This means proprietary_codecs=1 && ffmpeg_branding=Chrome
can be used to enable this H.264 enc/dec implementation
instead of rtc_use_h264=1 && ffmpeg_branding=Chrome.
This is used by both Chromium trybots (but not default
Chromium build) and offical Chrome build, meaning we will
be able to test and enable H.264 in chromium.

This change would otherwise be enough to launch this
feature in Chrome, but because we do not want to do that
before we have chromium browser tests and are ready to flip
the switch, this CL prevents chromium from using H.264 just
yet: https://codereview.chromium.org/1641163002/ (landing
this after that CL).

Third time's the charm?

TBR=kjellander@webrtc.org
BUG=chromium:500605, chromium:468365

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

Cr-Commit-Position: refs/heads/master@{#11523}
2016-02-08 10:57:06 +00:00
perkj
47b6263444 Remove Java PC support.
This cl removes none Android Java support.

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

Cr-Commit-Position: refs/heads/master@{#11522}
2016-02-08 09:07:24 +00:00
kjellander
f6b5509229 Fix GYP and GN references that are invalid in Chromium builds.
There were a couple of GN and GYP references that were incorrect in Chromium builds:
- GN references between WebRTC targets must be using relative paths, not absolute.
- GYP references between WebRTC targets must be using the <(webrtc_root)v variable
  in order to be expanded to the correct path in a Chromium build.

NOTRY=True
TBR=hjon@webrtc.org, hbos@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11521}
2016-02-08 07:04:33 +00:00
kjellander
1afca73055 Change to WebRTC license in webrtc/media
This was decided to be done in a separate CL from the move
that took place in https://codereview.webrtc.org/1587193006/

BUG=webrtc:5420
NOTRY=True
TBR=pthatcher@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11520}
2016-02-08 04:46:50 +00:00
kjellander
66a1401c0c Roll chromium_revision 3a7cbe0..8da2495 (374049:374076)
Change log: 3a7cbe0..8da2495
Full diff: 3a7cbe0..8da2495

No dependencies changed.
No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11519}
2016-02-08 04:06:05 +00:00
hbos
a81f6a3fc0 Revert of Default build flag |rtc_use_h264| to |proprietary_codecs| if not on Android/iOS. (patchset #1 id:1 of https://codereview.webrtc.org/1674103002/ )
Reason for revert:
Chromium FYI turns red.

Original issue's description:
> Default build flag |rtc_use_h264| to |proprietary_codecs|
> if not on Android/iOS.
>
> This means proprietary_codecs=1 && ffmpeg_branding=Chrome
> can be used to enable this H.264 enc/dec implementation
> instead of rtc_use_h264=1 && ffmpeg_branding=Chrome.
> This is used by both Chromium trybots (but not default
> Chromium build) and offical Chrome build, meaning we will
> be able to test and enable H.264 in chromium.
>
> This change would otherwise be enough to launch this
> feature in Chrome, but because we do not want to do that
> before we have chromium browser tests and are ready to flip
> the switch, this CL prevents chromium from using H.264 just
> yet: https://codereview.chromium.org/1641163002/ (landing
> this after that CL).
>
> Note: This is a re-land of
> https://codereview.webrtc.org/1660403004/. Reverting it
> was not necessary.
>
> TBR=kjellander@webrtc.org
> BUG=chromium:500605, chromium:468365
>
> Committed: https://crrev.com/10b9dd7ab1a8c3f80b2d2924be658e43131a4fbe
> Cr-Commit-Position: refs/heads/master@{#11517}

TBR=kjellander@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:500605, chromium:468365

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

Cr-Commit-Position: refs/heads/master@{#11518}
2016-02-07 23:05:26 +00:00
hbos
10b9dd7ab1 Default build flag |rtc_use_h264| to |proprietary_codecs|
if not on Android/iOS.

This means proprietary_codecs=1 && ffmpeg_branding=Chrome
can be used to enable this H.264 enc/dec implementation
instead of rtc_use_h264=1 && ffmpeg_branding=Chrome.
This is used by both Chromium trybots (but not default
Chromium build) and offical Chrome build, meaning we will
be able to test and enable H.264 in chromium.

This change would otherwise be enough to launch this
feature in Chrome, but because we do not want to do that
before we have chromium browser tests and are ready to flip
the switch, this CL prevents chromium from using H.264 just
yet: https://codereview.chromium.org/1641163002/ (landing
this after that CL).

Note: This is a re-land of
https://codereview.webrtc.org/1660403004/. Reverting it
was not necessary.

TBR=kjellander@webrtc.org
BUG=chromium:500605, chromium:468365

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

Cr-Commit-Position: refs/heads/master@{#11517}
2016-02-07 22:40:46 +00:00
kjellander
c37b59f938 Roll chromium_revision 9127267..3a7cbe0 (374043:374049)
Change log: 9127267..3a7cbe0
Full diff: 9127267..3a7cbe0

No dependencies changed.
No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11516}
2016-02-07 12:04:33 +00:00
kjellander
f9f84b2eb0 Roll chromium_revision 70700a1..9127267 (374041:374043)
Change log: 70700a1..9127267
Full diff: 70700a1..9127267

No dependencies changed.
No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11515}
2016-02-07 04:09:34 +00:00
kjellander
39be5610de Roll chromium_revision f0cfd18..70700a1 (374026:374041)
Change log: f0cfd18..70700a1
Full diff: f0cfd18..70700a1

Changed dependencies:
* src/tools/gyp: aa0301b..57190fa
DEPS diff: f0cfd18..70700a1/DEPS

No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11514}
2016-02-06 20:07:28 +00:00
kjellander
cdc4451d4a Roll chromium_revision 3c45587..f0cfd18 (373863:374026)
Change log: 3c45587..f0cfd18
Full diff: 3c45587..f0cfd18

Changed dependencies:
* src/third_party/ffmpeg: 501a5c5..e6e47f5
DEPS diff: 3c45587..f0cfd18/DEPS

No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11513}
2016-02-06 12:04:48 +00:00
Weiyong Yao
e796f96378 check v4l frame rate capability with bitwise method.
BUG=webrtc:5462
TEST=autotest
R=perkj@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11512}
2016-02-06 01:06:25 +00:00
glaznev
fd6706a310 Log Android HW decoder delay time statistics.
BUG=b/26962199

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

Cr-Commit-Position: refs/heads/master@{#11511}
2016-02-05 22:05:15 +00:00
kjellander
1c24a6d5ca Set use_gtk=0 as default for Chromium builds.
The files that are built when use_gtk==1 are not included in the Chromium build
(webrtc/media/devices/gtkvideorenderer.cc and webrtc/media/devices/gtkvideorenderer.h)
so to preserve previous behavior in Chromium before/after
https://codereview.webrtc.org/1587193006, this is the right thing to do.

The reason this was discovered was that a Chrome OS build started failing, since
it was lacking the gtk+2.0 package.

NOTRY=True
BUG=chromium:584722
TBR=tommi@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11510}
2016-02-05 21:10:46 +00:00
kjellander
210cf01418 Roll chromium_revision 6e376b8..3c45587 (373731:373863)
Change log: 6e376b8..3c45587
Full diff: 6e376b8..3c45587

No dependencies changed.
No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11509}
2016-02-05 20:10:40 +00:00
hbos
c09525a547 Revert of Default build flag |rtc_use_h264| to |proprietary_codecs| if not on Android/iOS. (patchset #1 id:1 of https://codereview.webrtc.org/1660403004/ )
Reason for revert:
Trybots red? Don't have time to intvestigate

Original issue's description:
> Default build flag |rtc_use_h264| to |proprietary_codecs|
> if not on Android/iOS.
>
> This means proprietary_codecs=1 && ffmpeg_branding=Chrome
> can be used to enable this H.264 enc/dec implementation
> instead of rtc_use_h264=1 && ffmpeg_branding=Chrome.
> This is used by both Chromium trybots (but not default
> Chromium build) and offical Chrome build, meaning we will
> be able to test and enable H.264 in chromium.
>
> This change would otherwise be enough to launch this
> feature in Chrome, but because we do not want to do that
> before we have chromium browser tests and are ready to flip
> the switch, this CL prevents chromium from using H.264 just
> yet: https://codereview.chromium.org/1641163002/ (landing
> this after that CL).
>
> BUG=chromium:500605, chromium:468365
>
> Committed: https://crrev.com/7cd94f66ebfe5bf808d7dcb8da069d35f4a2b31a
> Cr-Commit-Position: refs/heads/master@{#11506}

TBR=kjellander@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:500605, chromium:468365

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

Cr-Commit-Position: refs/heads/master@{#11508}
2016-02-05 19:02:47 +00:00
Peter Boström
50fca62809 Remove fake cricket::VideoCapturer devices.
Changes rtc_media to depend on rtc_base_approved instead of rtc_base.

BUG=
R=pthatcher@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11507}
2016-02-05 18:40:44 +00:00
hbos
7cd94f66eb Default build flag |rtc_use_h264| to |proprietary_codecs|
if not on Android/iOS.

This means proprietary_codecs=1 && ffmpeg_branding=Chrome
can be used to enable this H.264 enc/dec implementation
instead of rtc_use_h264=1 && ffmpeg_branding=Chrome.
This is used by both Chromium trybots (but not default
Chromium build) and offical Chrome build, meaning we will
be able to test and enable H.264 in chromium.

This change would otherwise be enough to launch this
feature in Chrome, but because we do not want to do that
before we have chromium browser tests and are ready to flip
the switch, this CL prevents chromium from using H.264 just
yet: https://codereview.chromium.org/1641163002/ (landing
this after that CL).

BUG=chromium:500605, chromium:468365

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

Cr-Commit-Position: refs/heads/master@{#11506}
2016-02-05 18:31:26 +00:00
hbos
900f97534b H264: Improve FFmpeg decoder performance by using I420BufferPool.
Had to update I420BufferPool to allow zero-initializing buffers.

BUG=chromium:500605, chromium:468365, webrtc:5428

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

Cr-Commit-Position: refs/heads/master@{#11505}
2016-02-05 16:08:39 +00:00
Peter Boström
c6e16e3d91 Use a delayed encoder in GetStats test.
Guarantees seeing non-zero CpuOveruseMetrics stats.

BUG=
R=stefan@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11504}
2016-02-05 13:16:03 +00:00
Peter Boström
f751bf8679 Set VideoReceiveStream members in init list.
Removes scoped_ptrs and resets, preventing some heap allocation but also
overall showing that these objects won't be reconstructed on the fly.

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

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

Cr-Commit-Position: refs/heads/master@{#11503}
2016-02-05 13:00:58 +00:00