Commit Graph

6565 Commits

Author SHA1 Message Date
glaznev@webrtc.org
83af77bf3c Revert maximum video codec resolution on Android back to 720p again.
Some low end Android devices still have problems with 1080p support.

BUG=3757
R=niklas.enbom@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/24639004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7228 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-18 21:11:29 +00:00
buildbot@webrtc.org
933d88af58 (Auto)update libjingle 75818332-> 75837294
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7227 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-18 20:23:05 +00:00
pbos@webrtc.org
c3091a6c26 Remove the 'webrtc_test_video_render_dependencies' target.
This target is no longer needed and is causing linking errors on XCode.

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

Review URL: https://webrtc-codereview.appspot.com/28519004

Patch from Alexandre Gouaillard <agouaillard@gmail.com>.

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7226 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-18 17:22:18 +00:00
jiayl@webrtc.org
42731bdded Avoid writing a double/float to a string to avoid a crash.
BUG=crbug/367223
R=juberti@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/30459004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7225 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-18 16:51:51 +00:00
jiayl@webrtc.org
ba737cba1a Do not require synchronization access on the thread if called from rtc::Thread::WrapCurrent.
The synchronization access is unnecessary for rtc::Thread::WrapCurrent (called from JingleThreadWrapper) since JingleThreadWrapper never calls rtc::Thread::Stop or rtc::Thread::Join. Failing to get the access caused crashes in Chrome since rtc::Thread::Current will be NULL when rtc::Thread::WrapCurrent fails.

rtc::ThreadManager::WrapCurrentThread still requires the synchronization access, since I am not sure if the callers (e.g. the plugin) depends on it.

BUG=crbug/413853
R=juberti@webrtc.org, tommi@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/30429004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7224 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-18 16:45:21 +00:00
andresp@webrtc.org
611606297e Trying to fix Chrome FYI bots.
BUG=3831
TBR=perkj

Review URL: https://webrtc-codereview.appspot.com/24629004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7223 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-18 15:50:05 +00:00
kjellander@webrtc.org
e94f83a191 Cleanup .gclient_entries to avoid sync problems.
The .gclient_entries file is written after a successful
gclient sync operation and contains paths mapped to URLs for
all DEPS entries that have been synced.
This has been causing problems for users when switching from
the legacy Subversion based checkouts to the new DEPS approach
using a Chromium Git checkout combined with symlinks.

Also it has been discovered that when entries have been
removed from the Chromium DEPS file, subsequent gclient sync
operations fail when it's trying to process those directories.

This CL changes so that .gclient_entries is wiped for the WebRTC
checkout when moving from the legacy SVN to Git.
It also wipes the chromium/.gclient_entries file when a new Chromium
revision is about to be synced, to avoid problems when DEPS entries
have been removed.

BUG=415219
R=agable@chromium.org

Review URL: https://webrtc-codereview.appspot.com/28509004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7222 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-18 13:47:23 +00:00
henrike@webrtc.org
205c15a224 Adds asan suppresions for rtc_unittests
BUG=N/A
R=pbos@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/28499004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7221 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-18 13:32:43 +00:00
pbos@webrtc.org
6cd6ba8ae0 Expose VP8/H264 defaults through video_encoder.h.
Reduces code duplication quite a bit, these identical defaults were set
in quite a few different places.

R=mflodman@webrtc.org, stefan@webrtc.org
BUG=3070

Review URL: https://webrtc-codereview.appspot.com/19299004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7220 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-18 12:42:28 +00:00
andresp@webrtc.org
c7134f8286 Fix proper deps in BUILD.gn files.
This should make Chrome GN bots happy.

R=kjellander@webrtc.org
TBR=kjellander@webrtc.org
BUG=3768, 3770

Review URL: https://webrtc-codereview.appspot.com/31389004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7219 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-18 10:06:54 +00:00
aluebs@webrtc.org
fda2c2e810 Add Analyze API to NS
This adds an empty API.
In a next CL I will separate the noise estimation from the Process API and fill this function.

BUG=webrtc:3811
R=bjornv@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/23599004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7218 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-18 09:54:06 +00:00
andresp@webrtc.org
ab071daab8 Split video_render_module implementation into default and internal implementation.
Targets must now link with implementation of their choice instead of at "gyp"-time.

Targets linking with libjingle_media:
- internal implementation when build_with_chromium=0, default otherwise.

Targets linking with default render implementation:
- video_engine_tests
- video_loopback
- video_replay
- anything dependent on webrtc_test_common

Targets linking with internal render implementation:
- vie_auto_test
- video_render_tests
- libwebrtcdemo-jni
- video_engine_core_unittests

GN changes:
- Not many since there is almost no test definitions.

Work-around for chromium:
- Until chromium has updated libpeerconnection to link with video_capture_impl and video_render_impl, webrtc target automatically depends on it. This should fix the FYI bots and not require a webrtc roll to fix.

Re-enable android tests by reverting 7026 (some tests left disabled).

TESTED: passes all the bots. If this inadvertently breaks a target please fix the linking rules so the target has the desired implementation linked in.
BUG=3770
R=kjellander@webrtc.org, pbos@webrtc.org
TBR=mflodman@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/19359004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7217 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-18 08:58:15 +00:00
guoweis@webrtc.org
369a637ac8 Implemented Network::GetBestIP() selection logic as following.
1) return the first global temporary and non-deprecrated ones.
2) if #1 not available, return global one.
3) if #2 not available, use ULA ipv6 as last resort.

ULA stands for unique local address. They are only useful in a private
WebRTC deployment. More detail: http://en.wikipedia.org/wiki/Unique_local_address

BUG=3808

At this point, rule #3 actually won't happen at current
implementation. The reason being that ULA address starting with 0xfc 0r 0xfd will be grouped into its own Network. The result of that is WebRTC will have one extra Network to generate candidates but the lack of rule #3 shouldn't prevent turning on IPv6 since ULA should only be tried in a close deployment anyway.

R=jiayl@webrtc.org

Committed: https://code.google.com/p/webrtc/source/detail?r=7200

Committed: https://code.google.com/p/webrtc/source/detail?r=7201

Review URL: https://webrtc-codereview.appspot.com/31369004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7216 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-17 22:37:29 +00:00
glaznev@webrtc.org
3b67f8e0ca Enable HW video decoding on Qualcomm devices.
Parallel decoding and encoding problem is fixed now
(b/16353967), so it is possible to start using Qualcomm
VP8 HW decoder. Bitrate overshoots should be fixed as well.

BUG=
R=tkchin@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/26489004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7215 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-17 21:25:51 +00:00
jiayl@webrtc.org
d91608dd2d The 2x2 black frame on windows when the shared window is minimized caused an assert from vp8 and may lead to memroy corruption.
It's changed to 1x1 to match the behavior on Mac. The Chromium code will detect the size and convert it to a black frame in the original size.

TBR=sergeyu@chromium.org
BUG=crbug/414908

Review URL: https://webrtc-codereview.appspot.com/23709004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7214 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-17 16:12:49 +00:00
henrik.lundin@webrtc.org
5422e724d3 Modifying NetEqExternalDecoderTest
This change is in preparation for extending the test with another
fixture that inherits from NetEqExternalDecoderTest.

R=tina.legrand@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/24609004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7213 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-17 15:09:08 +00:00
henrike@webrtc.org
4a5061fbff talk/p2p/base: removed unused variable "port_"
BUG=N/A
R=pbos@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/30419004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7212 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-17 12:33:07 +00:00
stefan@webrtc.org
5a098c51ea Refactor VP8 de-packetizer.
It's duplicated to parse VP8 RTP packet at the moment. We firstly call
RTPPayloadParser functions to save parsed information in RTPPayload
structure, then copy them to RTP header.

This CL removes RTPPayloadParser class and directly saves parsed data in
RTP header.

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

Review URL: https://webrtc-codereview.appspot.com/27449004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7211 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-17 11:58:20 +00:00
andresp@webrtc.org
3bd5603b18 Revert "Disable video_capture_tests for Android." (revision 7023).
BUG=3768
R=glaznev@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/25559004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7210 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-17 11:56:25 +00:00
andresp@webrtc.org
a74eda1b6f Split video_capture_module specific implementation (external vs internal capture)
into its own targets. Dependencies must link directly with the desired one.

Targets linking with libjingle_media:
 - internal implementation when build_with_chromium=0, default otherwise.

Targets linking with default/external capture implementation:
 - anything dependent on webrtc_test_common
 - anything dependent on video_engine_core

Targets linking with internal capture implementation:
 - vie_auto_test
 - anything dependent on webrtc_test_renderer

GN changes:
 - Not many since there is almost no test definitions.

TESTED: passes all the bots. If this inadvertently breaks a target please fix the linking rules so the target has the desired implementation linked in.

BUG=3768
R=glaznev@webrtc.org
TBR=kjellander@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/24589004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7209 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-17 11:50:19 +00:00
andresp@webrtc.org
85ef770d92 Split video engine android initialization into each internal module initialization.
This is to later on allow targets to pick at link time if to include the external or internal implementation. In order to do that the video_engine cannot compile different based on which option is picked later on.

BUG=3768,3770
R=glaznev@webrtc.org, stefan@webrtc.org
TBR=henrike@webrtc.org, mflodman@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/25529004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7208 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-17 11:44:51 +00:00
pbos@webrtc.org
ab990ae43a Revert 7151 "Revert 7114 "Expose VideoEncoders with webrtc/video_encoder.h.""
Re-lands r7114 after landing r7204 to adress the compile error causing
the rollback in r7151.

BUG=3070
TBR=henrikg@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/28489004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7207 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-17 09:02:25 +00:00
buildbot@webrtc.org
6a9b155798 (Auto)update libjingle 75683337-> 75695882
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7206 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-17 08:08:38 +00:00
henrike@webrtc.org
e387cc0d37 webrtc/overrides: add OWNERS-file.
BUG=N/A
R=tommi@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/27529004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7205 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-17 08:04:28 +00:00
pbos@webrtc.org
dc8dcb4b8c Narrower include for constructormagic.h in Chromium.
Replacing #include of "base/basictypes.h" in
overrides/webrtc/base/constructormagic.h with "base/macros.h". Our
version of constructormagic.h is not meant to include the base types,
only DISALLOW_COPY_AND_ASSIGN etc.

This fix is also a workaround for our overrides in Chromium seemingly
including the wrong things for certain webrtc targets like
audio_processing, so it looks like this #include "base/basictypes.h"
didn't include Chromium's base/basictypes.h but webrtc/base/basictypes.h
somehow, hence DISALLOW_COPY_AND_ASSIGN wasn't defined, causing the
revert in r7151.

R=henrike@webrtc.org, tommi@webrtc.org
BUG=3070
TEST=Chromium still builds locally with this change.

Review URL: https://webrtc-codereview.appspot.com/27509004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7204 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-17 07:44:33 +00:00
kjellander@webrtc.org
eb43264f26 Remove linux_memcheck from default trybots.
Now that we have enabled leak detection (LeakSanitizer) for our
Linux ASan bots, there's no point always running the linux_memcheck trybot
since it's very slow and almost always gets a long queue of builds.

BUG=
R=niklas.enbom@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/28479004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7203 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-17 06:46:38 +00:00
glaznev@webrtc.org
a59c501c99 Java VideoRenderer class may be backed by two different native
classes depending on type of rendering.
Fix crash in AppRtcDemo by calling correct destructor on exit.

BUG=
R=braveyao@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/23699004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7202 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-17 03:26:59 +00:00
guoweis@webrtc.org
40c2aa36f2 Implemented Network::GetBestIP() selection logic as following.
1) return the first global temporary and non-deprecrated ones.
2) if #1 not available, return global one.
3) if #2 not available, use ULA ipv6 as last resort.

ULA stands for unique local address. They are only useful in a private
WebRTC deployment. More detail: http://en.wikipedia.org/wiki/Unique_local_address

BUG=3808

At this point, rule #3 actually won't happen at current
implementation. The reason being that ULA address starting with 0xfc 0r 0xfd will be grouped into its own Network. The result of that is WebRTC will have one extra Network to generate candidates but the lack of rule #3 shouldn't prevent turning on IPv6 since ULA should only be tried in a close deployment anyway.

R=jiayl@webrtc.org

Committed: https://code.google.com/p/webrtc/source/detail?r=7200

Review URL: https://webrtc-codereview.appspot.com/31369004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7201 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-16 20:29:41 +00:00
guoweis@webrtc.org
f8bff762d1 Implemented Network::GetBestIP() selection logic as following.
1) return the first global temporary and non-deprecrated ones.
2) if #1 not available, return global one.
3) if #2 not available, use ULA ipv6 as last resort.

ULA stands for unique local address. They are only useful in a private
WebRTC deployment. More detail: http://en.wikipedia.org/wiki/Unique_local_address

BUG=3808

At this point, rule #3 actually won't happen at current
implementation. The reason being that ULA address starting with 0xfc 0r 0xfd will be grouped into its own Network. The result of that is WebRTC will have one extra Network to generate candidates but the lack of rule #3 shouldn't prevent turning on IPv6 since ULA should only be tried in a close deployment anyway.

R=jiayl@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/31369004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7200 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-16 20:17:22 +00:00
andrew@webrtc.org
7351d4d698 Add a gyp target for producing a voice engine merged library.
This is based on webrtc/build/merge_libs.gyp, with a dependency on
voice_engine.gyp instead and suitable name changes.

Executing:
$ rm -rf out/
$ ./webrtc/build/gyp_webrtc -Denable_video=0 -Denable_protobuf=0
-Drelease_optimize=s webrtc/build/merge_libs_voice.gyp
$ ninja -C out/Release merged_lib_voice

results in a minimially sized voice engine lib at:
out/Release/librtc_voice_merged.a

Linux: 6.4 MB
Mac: 3.7 MB

R=braveyao@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/23659004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7199 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-16 18:48:53 +00:00
pbos@webrtc.org
a6cefcaceb gn: Fix cflags usage
R=brettw@chromium.org
TBR=kjellander@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/29519004

Patch from Cem Kocagil <ckocagil@chromium.org>.

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7198 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-16 17:57:02 +00:00
pbos@webrtc.org
cddd17c0f8 Recreate VideoStreams when setting resolution.
Instead of just changing resolution on the last stream streams are
reallocated to make sure that all streams are updated to match the
new input resolution.

R=pthatcher@webrtc.org
BUG=1788

Review URL: https://webrtc-codereview.appspot.com/29469004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7197 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-16 16:33:13 +00:00
pbos@webrtc.org
88e85ad64d Add pbos@webrtc.org (myself) to talk/media/webrtc/.
Allows easier reviews of webrtcvideoengine2.cc and landing the new video
API on shorter review cycles.

R=pthatcher@webrtc.org
BUG=1788

Review URL: https://webrtc-codereview.appspot.com/30409004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7196 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-16 16:14:51 +00:00
henrikg@webrtc.org
dae612ebf8 Mark all virtual overrides in the hierarchies of UdpTransportData and
UdpSocketWrapper as such.

This will make further changes to these classes safer by ensuring that the
compile breaks if the base class changes and not all overrides are fixed.

This also removes an unused function.

BUG=none
TEST=none
R=henrik.lundin@webrtc.org, henrikg@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/23579004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7195 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-16 15:29:02 +00:00
buildbot@webrtc.org
80132e4d70 (Auto)update libjingle 75610402-> 75610402
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7194 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-16 15:24:15 +00:00
henrike@webrtc.org
699c46ac57 rtc_unittest: prevent execution of broken tests.
BUG=1976
R=kjellander@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/29509004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7193 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-16 11:19:32 +00:00
kjellander@webrtc.org
44360200e3 Fix GN for rtc_base_approved target.
In https://webrtc-codereview.appspot.com/22649004
a new target was introduced that duplicated some
source files, breaking the bots in
http://build.chromium.org/p/chromium.webrtc.fyi/waterfall

This updates the GN config to also remove them from
the target where they were moved from in base.gyp.

BUG=3806
TESTED=Trybots + Running GN in a Chromium checkout with
src/third_party/webrtc symlinked to the WebRTC checkout
with this CL applied + passing compile step.

R=perkj@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/23669004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7192 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-16 11:16:12 +00:00
henrike@webrtc.org
178015d8f9 memcheck: suppressions didn't map over directly when moving base from talk to webrtc (part of the suppression that is not related to the signature differed). Fixed suppressions accordingly.
BUG=N/A
R=kjellander@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/29499004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7191 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-16 09:41:21 +00:00
kjellander@webrtc.org
595b23c66f Revert 7184 "Enable ipv6 by default for webrtc under a Finch exp..."
Breaks Chrome build and prevents rolling WebRTC into Chrome DEPS.

> Enable ipv6 by default for webrtc under a Finch experiment.
> 
> BUG=413437 (chromium)
> https://code.google.com/p/chromium/issues/detail?id=413437
> 
> Review URL: https://webrtc-codereview.appspot.com/23529005

TBR=guoweis@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/30399004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7190 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-16 08:58:22 +00:00
bjornv@webrtc.org
c75f607042 audio_processing/aec: Ported NEON optimizations of SubbandCoherence() and its sub-functions to SSE2
These optimizations were originally committed in r6860, but reverted in r6861, since it broke a bitexactness test (ApmTest.Process) in modules_unittests. That test has now been updated in r7149, hence this CL now pass the test.

BUG=3767
TESTED=manually on linux and trybots
TBR=aluebs@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/25539004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7189 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-16 05:01:42 +00:00
andrew@webrtc.org
6ae5a6d7fe Add a target for the approved subset of rtc_base.
rtc_base drags in a bunch of unwieldly dependencies (e.g. nss and
json) not required for standalone webrtc (aka rtc/media). The root of
the problem appears to be that MessageQueue depends on a socket server.
(And since common.h -> logging.h -> thread.h -> messagequeue.h, this
dependency spreads quickly.)

This starts a new target for a "purified" subset of rtc_base. It adds
the files which are already being used, replacing the use of common.h
with checks.h. desktop_capture is a lost cause, and retains its
dependency on the full rtc_base.

The hope is that as additional components are desired they will be
cleaned and added to rtc_base_approved.

BUG=3806
R=andresp@webrtc.org, henrike@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/22649004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7188 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-16 01:03:29 +00:00
sergeyu@chromium.org
b3cbeb31cc Fix memory leak in webrtc::MouseCursorMonitorMac
BUG=3815
R=sergeyu@chromium.org

Review URL: https://webrtc-codereview.appspot.com/24579004

Patch from Vicken Simonian <vsimon@gmail.com>.

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7187 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-15 20:11:23 +00:00
glaznev@webrtc.org
ab7073a1e8 Partial implementation of rtc::LogMessage in chromium overrides.
rtc::LogMessage::LogToDebug used in peerconnection_jni.cc.

BUG=https://crbug.com/412276
R=glaznev@webrtc.org, niklas.enbom@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/25459004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7186 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-15 19:16:21 +00:00
glaznev@webrtc.org
996784548d HW video decoding optimization to better support HD resolution:
- Change hw video decoder wrapper to allow to feed multiple input
and query for an output every 10 ms.
- Add an option to decode video frame into an Android surface object. Create
shared with video renderer EGL context and external texture on
video decoder thread.
- Support external texture rendering in Android renderer.
- Support TextureVideoFrame in Java and use it to pass texture from video decoder
to renderer.
- Fix HW encoder and decoder detection code to avoid query codec capabilities
from sw codecs.

BUG=
R=tkchin@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/18299004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7185 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-15 17:52:42 +00:00
guoweis@webrtc.org
cd309e3168 Enable ipv6 by default for webrtc under a Finch experiment.
BUG=413437 (chromium)
https://code.google.com/p/chromium/issues/detail?id=413437

Review URL: https://webrtc-codereview.appspot.com/23529005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7184 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-15 16:31:13 +00:00
pbos@webrtc.org
000d86792d Make BW checks > 0 in peerconnection_unittest.cc.
These checks (> 40k) fail on LSan FYI bots and the purpose of them seem
to be that we're getting non-zero BW reported.

R=stefan@webrtc.org
TBR=jiayl@webrtc.org, solenberg@webrtc.org
BUG=3817,chromium:375154

Review URL: https://webrtc-codereview.appspot.com/29479004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7183 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-15 14:38:07 +00:00
bjornv@webrtc.org
7bb2586c55 audio_processing: Correct sample rate in aec_debug_dump
When writing to wav files in the low level flag aec_debug_dump incorrect sample rates were used for recordings using rates from 32 kHz and above. This since internally inside the AEC we process the data using 16 kHz. Any upper band is processed and combined later on.

This CL adds the correct sample rate to the recording.

BUG=3359
TESTED=locally on 44.1 kHz recordings on Linux
R=aluebs@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/23649004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7182 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-15 13:23:07 +00:00
andresp@webrtc.org
76ba7caae8 Re-enable neteq_performance_unittest.cc for android.
BUG=3770
R=kjellander@webrtc.org
TBR=henrik.lundin@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/27489004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7181 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-15 12:29:50 +00:00
andresp@webrtc.org
541753f96c Re-enable rampup_tests.cc for Android.
BUG=3770
R=pbos@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/27499004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7180 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-15 12:27:35 +00:00
andresp@webrtc.org
4a6c5b3b01 Re-enable video send stream tests for android.
BUG=3770
R=kjellander@webrtc.org, pbos@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/29459004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7179 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-15 12:24:34 +00:00