Commit Graph

1877 Commits

Author SHA1 Message Date
perkj@webrtc.org
ebb2f7b6f6 Fix errors in ViEAutoTest::ViENetworkAPITest().
BUG=
TEST= ViEAutoTest::ViENetworkAPITest

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1875 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-12 12:26:53 +00:00
bjornv@webrtc.org
ed700db014 VAD refactor: Assign functions. Mostly style changes.
Includes
- parameter order
- type changes
- variable name changes
- comment changes
- indentations
- test changes

In addition made minor style changes.
Review URL: https://webrtc-codereview.appspot.com/384001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1874 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-12 12:17:26 +00:00
phoglund@webrtc.org
fc402760e9 Implemented branch coverage and integration bot coverage on the dashboard.
BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1873 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-12 09:12:32 +00:00
phoglund@webrtc.org
2e34c88c37 Cleaned up workdir usage.
BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1872 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-12 09:08:41 +00:00
tina.legrand@webrtc.org
ae1c4547ee Reregister of stereo receiver didn't work.
This CL takes care of the re-registration of codecs, and tests unregistering stereo codecs.

One bug fixed in Celt too.

TEST=audio_coding_module_test: TestStereo.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1871 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-12 08:41:30 +00:00
leozwang@webrtc.org
f5516240ad Prepare future change of WebRtc_Word8 in udp module
Review URL: https://webrtc-codereview.appspot.com/439007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1870 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-09 22:07:18 +00:00
kjellander@webrtc.org
2050f84b98 audio_device_test_api failing cleaner failure for Linux without audio devices.
BUG=None
TEST=audio_device_test_api on Linux.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1869 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-09 14:22:27 +00:00
pwestin@webrtc.org
b594f4314a Fix for set local SSRC
Review URL: https://webrtc-codereview.appspot.com/451002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1868 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-09 12:31:52 +00:00
kjellander@webrtc.org
7256bdc3f5 Reverted download code and output that was done in https://webrtc-codereview.appspot.com/431003 (r1826) since it was reported to spam the output on some configurations.
BUG=Issue 333
TEST=ran update.py

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1867 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-09 11:15:07 +00:00
tina.legrand@webrtc.org
0dab9e1523 Revert of r1859
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1866 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-09 10:03:09 +00:00
pwestin@webrtc.org
c637c40275 Removed deregister of default codec payload type.
Review URL: https://webrtc-codereview.appspot.com/451001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1865 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-09 09:32:28 +00:00
kjellander@webrtc.org
74e6546b99 Moving audio_device_test_api off Virtual machine bots
BUG=None
TEST=None

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1864 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-09 09:05:02 +00:00
henrika@webrtc.org
907bc55c19 Removes WebRtc_Word8 dependecy in the AudioDeviceModule.
This CL also modifies the ADM callback interface and introduces void* instead of WebRtc_Word8*
as pointer types for data buffers. This change also affects the VoiceEngine.
Review URL: https://webrtc-codereview.appspot.com/443001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1863 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-09 08:59:19 +00:00
kjellander@webrtc.org
de011c1131 Enabling tests on Mac and Windows.
Enabling webrtc_utility_unittests on Windows (was never
added).
Enabling audio_device_test_api on Mac and Windows, since updated in r1861.

BUG=None
TEST=webrtc_utility_unittests in Debug+Release on Windows. audio_device_test_api in Debug+Release on Linux, Mac and Windows.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1862 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-09 08:25:23 +00:00
kjellander@webrtc.org
67fdd70e1b Refactoring audio_device_test_api for gtest and execution on all platforms.
All the code that was previously in one single function is now broken up into 44 gtest tests. The creation of the Audio Device is done once (SetUpTestCase) and the audio device is initialized before each test (SetUp) and terminated after each test (TearDown). Doing this, the things that execute are basically the same since the test was structured as different sections separated by these calls:
TEST(audioDevice->Terminate() == 0);
TEST(audioDevice->Init() == 0);

I also cleaned up some unused helper functions and removed old test macros when replacing them by gtest macros.

The parts that are failing for Mac and Windows are excluded using #ifdef. Separate issues are filed for
this code to be fixed.

Formatting is updated to follow the WebRTC style guide.

BUG=None.
TEST=audio_device_test_api in Debug+Release on Linux, Mac and Windows. Test run audio_device_test_func on Linux.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1861 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-09 08:11:04 +00:00
andrew@webrtc.org
8012474552 Use a const rather than macro for EcDefault.
- This should be a better solution to the build error in
  https://webrtc-codereview.appspot.com/425005
- Ideally all of the similar macros should go away, but one thing at
  a time...

BUG=
TEST=voe_auto_test

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1860 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-08 17:54:24 +00:00
tina.legrand@webrtc.org
f1befad273 Reregister of stereo receiver didn't work.
This CL takes care of the re-registration of codecs, and tests unregistering stereo codecs.

One bug fixed in Celt too.

TEST=audio_coding_module_test: TestStereo.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1859 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-08 13:23:18 +00:00
henrikg@webrtc.org
50d9e26eea Adds autoconnect and autocall functionality to web test page.
Use ?autoconnect=yes or ?autocall=name_to_call

BUG=313
Review URL: https://webrtc-codereview.appspot.com/439005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1858 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-08 09:53:55 +00:00
phoglund@webrtc.org
0e8b52c012 Rolled back and re-adapted the codec test.
I don't really think this solves the problem and it makes the code worse, but it seems to make the vie_auto_test binary usable again. I've never seen it chrash on the standard tests since I rewrote it. It can still chrash on the API tests and extended tests though, which indicates that there is a fundamental design / threading problem somewhere, like we suspected. I think this is a kind of progress for now since we can use vie_auto_test to detect new errors again.

BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1857 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-08 09:19:31 +00:00
phoglund@webrtc.org
843d8efd90 Removed flaky dependencies temporarily since they stop developers from doing private builds.
BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1856 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-08 08:35:53 +00:00
mflodman@webrtc.org
7845d07bf8 VideoCapture now uses pointer constructor of CriticalSectionScoped.
BUG=184
TEST=video_capture_module compiles on all platforms when removing ref ctor of CriticalSectionScoped.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1855 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-08 08:09:17 +00:00
marpan@webrtc.org
accf607b3e Updates for resolution adaptation.
1) added support for two additional modes: 
    -3/4 spatial down-sampling
    -2/3 frame rate reduction
2) updated unittest and added a few more tests
3) some code refactoring
Review URL: https://webrtc-codereview.appspot.com/429005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1854 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-07 17:16:10 +00:00
mflodman@webrtc.org
9a065d1eae VoiceEngine now uses pointer constructor of CriticalSectionScoped, instead of reference.
BUG=184
TEST=Compiles on all platforms.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1853 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-07 08:12:21 +00:00
leozwang@webrtc.org
1d27039612 Disable CreateWindowManagerForCurrentPlatform on android
Review URL: https://webrtc-codereview.appspot.com/436003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1852 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 22:48:43 +00:00
leozwang@webrtc.org
30185916aa Fix error in test app which was introduced when payload type was converted to int
TBR=mflodman, phoglund
Review URL: https://webrtc-codereview.appspot.com/439004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1851 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 21:43:55 +00:00
leozwang@webrtc.org
57da718734 Fix building errors on android
TBR=mflodman
Review URL: https://webrtc-codereview.appspot.com/441001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1850 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 21:28:48 +00:00
leozwang@webrtc.org
77fe431f57 Enable video render test on android
Review URL: https://webrtc-codereview.appspot.com/428006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1849 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 20:59:55 +00:00
leozwang@webrtc.org
0975d2158c Cleanup messy data type of unknown_payload_type
BUG=322
TEST=build on all platforms
Review URL: https://webrtc-codereview.appspot.com/430002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1848 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 20:59:13 +00:00
andrew@webrtc.org
8b111eb3e6 Reformat voe_audio_processing_impl to Goog style.
TBR=xians@webrtc.org
BUG=
TEST=voe_auto_test

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1847 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 19:50:12 +00:00
andrew@webrtc.org
6f9f817e06 Add an API to offset system delay.
Plumb it through VoiceEngine.

BUG=
TEST=voe_auto_test,audioproc_unittest

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1846 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 19:03:39 +00:00
phoglund@webrtc.org
9b3ab115ad Re-enabled quick builds on Windows.
BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1845 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 15:26:00 +00:00
mflodman@webrtc.org
e22c5c3870 Disable REMB test when using vivi.
BUG=321
TEST=vie_auto_test

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1844 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 12:49:33 +00:00
mflodman@webrtc.org
0e703f4d0d VideoRender now uses pointer constructor of CriticalSectionScoped.
BUG=184
TEST=video_render_module compiles on all platforms when removing ref ctor of
CriticalSectionScoped.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1843 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 12:02:20 +00:00
mflodman@webrtc.org
3e664faad6 Temporarily disabling flaky RTP test.
TBR=kjellander@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1842 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 20:30:35 +00:00
leozwang@webrtc.org
53ed5a41a2 Fix building errors and enable test app
TEST=build on all platforms
Review URL: https://webrtc-codereview.appspot.com/428008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1841 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 20:15:58 +00:00
leozwang@webrtc.org
db2de5b49f Fix building errors on android
TBR=Tina

BUG=
TEST=build on android
Review URL: https://webrtc-codereview.appspot.com/430001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1840 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 19:53:24 +00:00
leozwang@webrtc.org
66487e1629 Enable video test on android
Review URL: https://webrtc-codereview.appspot.com/429006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1839 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 19:34:06 +00:00
leozwang@webrtc.org
8ea37f4f26 Fix building error on windows
TBR=mflodman
Review URL: https://webrtc-codereview.appspot.com/427006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1838 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 18:05:08 +00:00
mflodman@webrtc.org
c7ae13da42 Update makefile.
TBR=leozwang@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1837 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 17:34:05 +00:00
mflodman@webrtc.org
9ec883e8bd Allow multiple REMB groups and introduce receive channels.
BUG=312
TEST=ViE standard autotest and API test.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1836 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 17:12:41 +00:00
leozwang@webrtc.org
855ced7336 Further cleanup WebRtc_Word8
Review URL: https://webrtc-codereview.appspot.com/426008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1835 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 16:07:51 +00:00
leozwang@webrtc.org
e47efe291e Fix building error on android
Review URL: https://webrtc-codereview.appspot.com/425005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1834 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 16:05:30 +00:00
kjellander@webrtc.org
ba15221de5 Enabling vp8_unittests on Mac
BUG=Issue 273
TEST=vp8_unittests in Release mode on Mac.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1833 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 12:01:05 +00:00
mflodman@webrtc.org
fa6bc673b0 Changed default module condition for BW estimate.
Review URL: https://webrtc-codereview.appspot.com/433001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1832 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 11:59:55 +00:00
leozwang@webrtc.org
9f6bd51582 Update libvpx configuration file for arm
Review URL: https://webrtc-codereview.appspot.com/428007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1831 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-02 17:30:30 +00:00
leozwang@webrtc.org
42e362eee5 Fix compilation error on android
Review URL: https://webrtc-codereview.appspot.com/426006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1830 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-02 17:14:09 +00:00
leozwang@webrtc.org
3197d48407 Enable audio device test on android
Review URL: https://webrtc-codereview.appspot.com/428005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1829 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-02 17:12:14 +00:00
leozwang@webrtc.org
c868b99ff3 Remove building errors in autotest
Review URL: https://webrtc-codereview.appspot.com/432004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1828 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-02 17:02:51 +00:00
marpan@webrtc.org
26762e3e40 Allow for spatial-downsampling without reinitializaing encoder. Change of frame
size will automatically trigger new key frame in codec. This feature is set off
in video engine until we upgrade to a newer version of libvpx.
Review URL: https://webrtc-codereview.appspot.com/427003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1827 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-02 16:48:36 +00:00
kjellander@webrtc.org
9457422032 Adding flag to make it possible to skip resources download. This makes development of buildbot code easier to test.
I also took the chance to refactor the code from a long main method into a couple of functions instead.

Download progress also improved a bit.

Added a new flag (--base_url) to make it possible to use another Base URL instead of the default one.

BUG=None
TEST=Tested on local machine with various

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1826 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-02 13:44:44 +00:00