557 Commits

Author SHA1 Message Date
mflodman@webrtc.org
eaf7cf26fe Adding a simple fake network pipe to use for testing. Next CL will contain an external transport implementation using this link and I'll follow up later making this more advanced.
Review URL: https://webrtc-codereview.appspot.com/935032

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3259 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-12-11 11:47:22 +00:00
leozwang@webrtc.org
8e49b02f3d Add more audio codec information into codec list
BUG=None
TEST=trybots
Review URL: https://webrtc-codereview.appspot.com/974009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3250 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-12-07 22:26:57 +00:00
fischman@webrtc.org
f4e070eca5 Added auto-call feature to WebRTCDemo.
This (compile-time switchable) option automatically starts & stops calls in
series to stress-test the setup/teardown codepaths.  When startCPULoad() is
removed (https://webrtc-codereview.appspot.com/972008/) this showed no
hangs/crashes after completing 200 start/stop pairs.

Also fixed a tiny shutdown-order bug (onDestroy() calling super.onDestroy()
before performing self-shutdown) and changed default video frame resolution to
640x480 to more effectively stress the device (and be a more compelling demo).

BUG=1162

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3238 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-12-04 16:53:43 +00:00
stefan@webrtc.org
e861359925 Adds two full stack performance metrics for end-to-end delay.
Review URL: https://webrtc-codereview.appspot.com/937034

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3235 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-12-04 09:40:46 +00:00
dwkang@webrtc.org
6bd737a714 First pass of MediaCodecDecoder which uses Android MediaCodec API.
Background:
As of now, MediaCodec API is the only public interface which enables us
to access low level HW resource in Android. ViEMediaCodecDecoder will be
used for further experiments/exploration.

TODO:
  To fix known issues. (detaching thread from VM and frequent GC)
Review URL: https://webrtc-codereview.appspot.com/933033

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3233 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-12-04 06:38:19 +00:00
fischman@webrtc.org
d814d71d92 Delete {start,stop}CPULoad() since they're broken.
- stopCPULoad is incorrect; since mIsBackgroudLoadRunning isn't declared
  volatile, the empty while loop in the background thread isn't required to do a
  memory read (as opposed to reading the value just once and caching it).  The
  result is that stopCPULoad() may never return as the .join() waits forever.
- startCPULoad isn't guaranteed to tax the CPU; the JVM is free to replace the
  while loop in startCPULoad() with a thread pause since it can prove it'll
  never exit the loop once entered (b/c of the previous item).

It's not clear what correct behavior here would be so I'm deleting the code
rather than trying to make it work.  This was responsible for at least most if
not all of the hanginess of start/stop'ing multiple calls in series.

BUG=1162

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3202 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-29 23:00:41 +00:00
fischman@webrtc.org
be5b5ba490 Enable building WebRTCDemo apk using Release webrtc libs, take 2.
Now passing BUILDTYPE=Release to both the make that builds the libs and the
ndk-build that builds the app makes the app use non-Debug libs.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3201 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-29 18:06:00 +00:00
phoglund@webrtc.org
34dab50bb4 Corrected .h path.
TBR=mflodman@webrtc.org
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3198 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-29 10:20:18 +00:00
phoglund@webrtc.org
273ccad59d Fixed standard PSNR/SSIM test.
BUG=1103

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3197 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-29 10:08:16 +00:00
stefan@webrtc.org
bf41508807 Properly remove the bitrate observer when ViEEncoder is destructed.
BUG=1090

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3196 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-29 09:18:53 +00:00
phoglund@webrtc.org
cde46fa5d2 Disabled some more flaky tests. Memcheck vie_auto_test should be very stable after this.
BUG=1152

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3194 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-29 08:22:45 +00:00
fischman@webrtc.org
de6f8fbd6d Revert 3190 - Enable building WebRTCDemo apk using Release webrtc libs.
Now passing BUILDTYPE=Release to both the make that builds the libs and the
ndk-build that builds the app makes the app use non-Debug libs.

TBR=leozwang@webrtc.org,

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3191 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-29 01:18:04 +00:00
fischman@webrtc.org
28afee04ae Enable building WebRTCDemo apk using Release webrtc libs.
Now passing BUILDTYPE=Release to both the make that builds the libs and the
ndk-build that builds the app makes the app use non-Debug libs.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3190 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-29 01:09:44 +00:00
leozwang@webrtc.org
aa46ea0b8b Remove ringtone from test app
BUG=None
TEST=trybots
Review URL: https://webrtc-codereview.appspot.com/968009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3184 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-28 19:39:23 +00:00
kjellander@webrtc.org
52ec985d82 Fixing vie and voe auto test project paths for test execution.
By letting fileutils.h know the path to the executable, the tests will be able to find the project root dir and resource file paths even when the test is executed outside the checkout dir.

See http://review.webrtc.org/858014/ for more background.

Today, these tests are failing in the FYI waterfall since they are run "Chromium style" (i.e. from one level above the checkout dir). Since we're moving in that direction this needs to be fixed. It has been fixed for all other tests already.

TEST=Local test execution of vie_auto_test and voe_auto_test with CWD one level above trunk/

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3173 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-27 10:01:01 +00:00
elham@webrtc.org
6e46d5b1c1 Updated version number to 3.18
Review URL: https://webrtc-codereview.appspot.com/930027

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3166 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-26 17:08:34 +00:00
mflodman@webrtc.org
7c894b7cc7 Wire up CallStats to provide modules with correct RTT.
BUG=769
TEST=Manual test since there is no ViE APi to get RTT for receive channels.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3163 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-26 12:40:15 +00:00
stefan@webrtc.org
ad7f1fefad Fixes (or at least reduces) the flakiness in the full stack test by making sure the different frame monitors are registered and deregistered in the right order. Also makes sure only local preview frames which are actually transmitted are rendered by moving the local preview rendering to an effect filter.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3157 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-23 11:19:29 +00:00
phoglund@webrtc.org
849fb8ebd2 Removed codec comparison test: it didn't work and probably never will.
The central problem is that we cannot sync the frames in the input video with the output video, which makes PSNR/SSIM go crazy. The test only appeared to succeed earlier due to a bug in the test. We can consider this a failed experiment, but we did learn a lot from it :)

BUG=550

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3155 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-23 09:21:44 +00:00
mflodman@webrtc.org
f89fb9dbf0 Remove ViE lint warnings that should have been caught at upload time.
TEST=cpplint.py video_engine/*

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3151 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-22 09:41:42 +00:00
leozwang@webrtc.org
5835adfef0 Reorganize gyp for Android
BUG=1120
TEST=trybot, local test on xoom and nexus

Message:
It turned out the last CL can only build neon code that
caused problem on Xoom.

Description:
In order to support audo-cpu-detection, I split files into two gypi files, one
contains non-neon code, antoher one ONLY contains neon specific code, so I can
apply different flags to them. Also created two build targets for each of them

We build for linux as before.

Tested on xoom and nexus S.
Review URL: https://webrtc-codereview.appspot.com/930024

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3141 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-21 04:10:16 +00:00
stefan@webrtc.org
467dfe0e7c Fix possible race condition and access into an empty list.
TBR=mflodman@webrtc.org
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3131 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-19 11:49:37 +00:00
stefan@webrtc.org
4100b0402e Move SSRC list to RemoteBitrateEstimator.
BUG=1105

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3130 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-19 10:09:20 +00:00
mflodman@webrtc.org
b2f474e8bb Adding ViE CallStats to keep track of call statistics. As a start, only rtt is handled.
This CL will be followed by another CL connecting the dots.

BUG=769
TEST=New unittest added.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3117 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-16 13:57:26 +00:00
mflodman@webrtc.org
c289f9f209 Replaced remb unittest sleep with fake clock.
Review URL: https://webrtc-codereview.appspot.com/935015

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3116 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-16 13:24:18 +00:00
tommi@webrtc.org
21b426d2da Revert 3111 (revert of a revert).
The trybots are succeeding and the modified code shouldn't
affect the test that failed so I suspect it was a fluke.
If this fails, I'll revert my revert so that we can
revert while we revert.
---
Revert 3105 - Don't crash the unit test host when tests fail.
Instead, just report the error, fail, and move on.

TEST=Run vie_auto_test, option=1.
    On my machine most of the tests fail for some reason
    that I'm still investigating, but the tests shouldn't
    be crashing the process which is what I'm fixing here.
Review URL: https://webrtc-codereview.appspot.com/929019

TBR=tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/936026

TBR=mikhal@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/966021

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3115 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-16 09:37:08 +00:00
mikhal@webrtc.org
01c4b98f90 Revert 3105 - Don't crash the unit test host when tests fail.
Instead, just report the error, fail, and move on.

TEST=Run vie_auto_test, option=1.
    On my machine most of the tests fail for some reason
    that I'm still investigating, but the tests shouldn't
    be crashing the process which is what I'm fixing here.
Review URL: https://webrtc-codereview.appspot.com/929019

TBR=tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/936026

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3111 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-15 23:38:27 +00:00
tommi@webrtc.org
5ea70e619e Don't crash the unit test host when tests fail.
Instead, just report the error, fail, and move on.

TEST=Run vie_auto_test, option=1.
    On my machine most of the tests fail for some reason
    that I'm still investigating, but the tests shouldn't
    be crashing the process which is what I'm fixing here.
Review URL: https://webrtc-codereview.appspot.com/929019

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3105 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-15 14:38:10 +00:00
phoglund@webrtc.org
12b828ac90 Fixed test memory leak + disabled base test.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3094 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-14 09:41:48 +00:00
leozwang@webrtc.org
6b9543b801 Add libpaced_sender to Android makefile
TBR=mflodman
Review URL: https://webrtc-codereview.appspot.com/965022

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3091 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-13 23:36:41 +00:00
pwestin@webrtc.org
571a1c035b Enable paced sender.
Review URL: https://webrtc-codereview.appspot.com/965016

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3089 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-13 21:12:39 +00:00
stefan@webrtc.org
8d18526834 Fixes an incorrect if statement in vie_sync_module.cc.
BUG=1071

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3081 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-12 18:51:52 +00:00
fischman@webrtc.org
f4b26178df Re-initialize enough state on "Stop Call" to be able to stop/start multiple calls in succession.
Review URL: https://webrtc-codereview.appspot.com/965015

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3074 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-09 20:57:24 +00:00
leozwang@webrtc.org
06d72d881f Add Android OWNER files
Message:
Add OWNER files so I can review and approve changes for Android.
I also should be owner for all .mk file, but it's OK for now,
please review.

BUG=None
TEST=None
Review URL: https://webrtc-codereview.appspot.com/932016

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3069 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-09 17:51:55 +00:00
phoglund@webrtc.org
1401285fe7 Can now fully control custom calls from the command line.
Example:
out/Debug/vie_auto_test --auto_custom_call --override "Enter destination IP.=127.0.10.55,Enter video send port.=12345"

The above will launch a call directly and choose all default values except for the overridden ones specified above.

BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3064 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-08 12:18:19 +00:00
mikhal@webrtc.org
ac993fef2c Adding codecType to OnIncomingCapturedEncodedFrame
partially reverting r3013.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3055 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-07 17:18:04 +00:00
phoglund@webrtc.org
4cebe6cded Made TickTime immutable, rewrote tick utils to be fakeable.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3053 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-07 13:37:19 +00:00
mflodman@webrtc.org
6e9890d1aa Removed ViEBaseObserver.
BUG=1037
TEST=Still compiles and ViE autotest passes.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3052 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-07 10:48:40 +00:00
vikasmarwaha@webrtc.org
6dddfe9c35 Fix for webrtc issue 1052 on windows with vie_auto_test.
Review URL: https://webrtc-codereview.appspot.com/929014

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3049 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-06 21:19:52 +00:00
niklas.enbom@webrtc.org
ef629299e9 Landing http://review.webrtc.org/914006/
Review URL: https://webrtc-codereview.appspot.com/930007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3030 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-31 14:35:11 +00:00
stefan@webrtc.org
1a2a6dda26 Fixes a bitrate mismatch between sender and receiver.
TEST=trybots

BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3029 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-31 12:21:13 +00:00
andrew@webrtc.org
9841d92b8d Reorganize modules/video_render.
The usual elimination of main/source etc.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3027 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-31 05:22:11 +00:00
andrew@webrtc.org
3c01316d5a Fix Android build after video_capture reorg.
Review URL: https://webrtc-codereview.appspot.com/934011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3026 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-30 22:17:21 +00:00
andrew@webrtc.org
94caca7105 Reorganize modules/video_capture.
- The usual elimination of main/source etc.
- Fully qualify "public" includes.
- Use lowercase for all directory names.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3025 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-30 21:58:00 +00:00
wu@webrtc.org
5ff091f16a Init capturePicture with GetCaptureDeviceSnapshot so that the SetRenderStartImage test won't depend on the previous test which may be disabled by the include_timing_dependent_tests flag. This is a fix for LinuxLargeTests.
TEST=try bots
BUG=1023

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3024 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-30 21:52:03 +00:00
leozwang@webrtc.org
6ab92ed42d Check if opus exists when build test app on Android
BUG=None
TEST=trybots
Review URL: https://webrtc-codereview.appspot.com/933011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3022 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-30 19:04:58 +00:00
pwestin@webrtc.org
2f476ed760 Fix uninitialzed memory and cleanup.
BUG=1022
Review URL: https://webrtc-codereview.appspot.com/966006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3019 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-30 16:21:52 +00:00
mikhal@webrtc.org
e83d3111d4 Removing codecType from capture API
Review URL: https://webrtc-codereview.appspot.com/964005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3013 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-29 15:59:40 +00:00
leozwang@webrtc.org
6f19b1b651 Enable Opus
BUG=webrtc issue 992
TEST=trybots
Review URL: https://webrtc-codereview.appspot.com/942004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3012 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-27 17:46:55 +00:00
mflodman@webrtc.org
8dde197788 Only remove encoder state feedback for send channels.
BUG=1000
TEST=See bug

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2994 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-25 13:06:22 +00:00