Commit Graph

5140 Commits

Author SHA1 Message Date
stefan@webrtc.org
41689018a0 Add max delay to trace based filters and enhances drop tail queues with delay statistics.
R=solenberg@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5696 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-13 15:01:32 +00:00
henrik.lundin@webrtc.org
b10363f3b6 Re-landing "Routing SuspendChange to VideoSendStream::Stats"
This was originally committed as r5687, but reverted due to a flaky
test.

BUG=3040
R=stefan@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5695 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-13 13:31:21 +00:00
pbos@webrtc.org
3349ae0cdc Implement minimum transmit bitrate.
Utilizing minimum transmission bitrate prevents low remote bitrate
estimates (bitrate estimation dips) when encoding non-complex content
such as screenshare of a static image even though there's nothing wrong
with the link.

Requires pacing to be enabled for now, pending issue 3036.

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

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5694 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-13 12:52:27 +00:00
henrik.lundin@webrtc.org
6ea4f6397e Enable all RampUpTest.UpDownUp* tests
With issue 2987 fixed, all these tests can be enabled without problems.

BUG=3010
R=stefan@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5693 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-13 09:21:26 +00:00
pbos@webrtc.org
b5f3029302 Replace labs with std::abs.
Resolves clang 3.5 warnings on OS X for -Wabsolute-value.

BUG=chromium:351479
R=andrew@webrtc.org, thakis@chromium.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5692 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-13 08:53:39 +00:00
mallinath@webrtc.org
827faae0ec Fixing incorrect memset.
Found when ENABLE_EXTERNAL_AUTH is enabled in chrome.

TBR=ronghuawu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5691 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-13 02:15:12 +00:00
andrew@webrtc.org
dd5d804efb Disable all protobuf dependent targets when enable_protobuf=0.
BUG=3045
TESTED=builds now when enable_protobuf=0 and modules_unittests still
includes ApmTest.* when enable_protobuf=1.

R=bjornv@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5690 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-13 00:57:52 +00:00
henrike@webrtc.org
c7bec8484b (Auto)update libjingle 62948689-> 63019975
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5689 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-12 19:53:43 +00:00
henrike@webrtc.org
9269ba14f0 (Git)ignore all of /net. Works around issue: gclient sync, git clean -df, gclient runhooks -> failure (regression in r4466).
BUG=N/A
R=andrew@webrtc.org, fischman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5688 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-12 15:50:36 +00:00
kjellander@webrtc.org
c2313fb73c Enable VS2013 for Windows compilation by default.
BUG=chromium:340973
TEST=All trybots passing runhooks and compile step (needs clobber flag -c to ensure old compile output doesn't cause it to fail). I also ran all the tests for the Windows trybots, which passed.
R=tommi@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5687 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-12 14:41:58 +00:00
pbos@webrtc.org
95153cc4cd Remove platform-specific code from new-API tests.
We've had problems that seem to manifest in run_tests.mm getting stuck
on exit. For our automated test targets only full_stack.cc was making
use of the platform-specific renderers provided by webrtc_test_common
and since no one currently monitors these the use case is hypothetical.

Readding platform-specific renderers to video_loopback is tracked with
issue 3039, though as far as I'm aware no one's currently using the
video_loopback target.

BUG=2987
R=kjellander@webrtc.org, stefan@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5686 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-12 13:22:00 +00:00
henrik.lundin@webrtc.org
ca8cb95364 Implement a test for an old corner-case in NetEq
This CL implements a unit test to cover an case where comfort noise
packets should be discarded. The situation arises when NetEq gets a
duplicate comfort noise packet. Without this check, the duplicate would
be decoded, and a the timing would shift.

As it turned out, the corner-case funcionality was not completely
accurate in NetEq4. This is because decision_logic_::cng_state_ is set
after the corner-case check. In the old NetEq3, the corresponding state
was changed before the check. This is now fixed.

R=turaj@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5685 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-12 10:26:52 +00:00
henrik.lundin@webrtc.org
04ea23234a Developing NetEqImpl unit tests
Adding option to use mock or real objects instead of mocks.
This will help future testing efforts, where each test case can
select whether a mock or a real object should be used.

Adding new test InsertPacketsUntilBufferIsFull.

Removing a few uniteresting mock call warning.

R=turaj@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5684 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-12 05:55:10 +00:00
henrike@webrtc.org
10bd88e2b5 (Auto)update libjingle 62871616-> 62948689
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5683 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-11 21:07:25 +00:00
andrew@webrtc.org
21df84711a Disable TestOpusNewACM on Android.
It crashes flakily.

TBR=tlegrand
BUG=3006

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5682 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-11 20:40:59 +00:00
henrik.lundin@webrtc.org
be39470203 Revert "Routing SuspendChange to VideoSendStream::Stats"
The test VideoSendStreamTest.SuspendBelowMinBitrate seems flaky.
Reverting and investigating.

BUG=3040

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5681 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-11 17:13:14 +00:00
andrew@webrtc.org
12acd6ea8c Reorder includes in audio_processing_impl_unittest.
TBR=aluebs

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5680 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-11 16:55:14 +00:00
braveyao@webrtc.org
cdefc91ffc Voice Engine GetRemoteCSRCs should return the CSRCs from rtp_receiver_ instead of _rtpRtcpModule now.
BUG=3012
TEST=auto test
R=stefan@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5679 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-11 16:19:56 +00:00
henrik.lundin@webrtc.org
1598b80f52 Routing SuspendChange to VideoSendStream::Stats
Also checking that the statistics are properly updated in
VideoSendStreamTest.SuspendBelowMinBitrate.

Adding a test to SendStatisticsProxyTest.

Checking callback status in rampup test, too.

BUG=2457
R=mflodman@webrtc.org, pbos@webrtc.org, stefan@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5678 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-11 14:57:35 +00:00
jan.skoglund@webrtc.org
c3d13d38f4 Classes and tests for audio an classifier. The class can be used to classify whether a frame of audio contains speech or music. The classifier uses the music/speech classifier in Opus.
R=andrew@webrtc.org, henrik.lundin@webrtc.org, turaj@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5677 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-10 22:50:19 +00:00
andrew@webrtc.org
a8b97373d5 Add tests and modify tools for new float deinterleaved interface.
- Add an Initialize() overload to allow specification of format
parameters. This is mainly useful for testing, but could be used in
the cases where a consumer knows the format before the streams arrive.
- Add a reverse_sample_rate_hz_ parameter to prepare for mismatched
capture and render rates. There is no functional change as it is
currently constrained to match the capture rate.
- Fix a bug in the float dump: we need to use add_ rather than set_.
- Add a debug dump test for both int and float interfaces.
- Enable unpacking of float dumps.
- Enable audioproc to read float dumps.
- Move more shared functionality to test_utils.h, and generally tidy up
a bit by consolidating repeated code.

BUG=2894
TESTED=Verified that the output produced by the float debug dump test is
correct. Processed the resulting debug dump file with audioproc and
ensured that we get identical output. (This is crucial, as we need to
be able to exactly reproduce online results offline.)

R=aluebs@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5676 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-10 22:26:12 +00:00
jan.skoglund@webrtc.org
3046b843b2 Adding new data files for audio classifier unit testing on Android try bots
BUG=
R=turaj@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5675 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-10 20:52:46 +00:00
henrike@webrtc.org
d3d6bce9ed (Auto)update libjingle 62865357-> 62871616
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5674 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-10 20:41:22 +00:00
andrew@webrtc.org
d32797f853 Add a float interface to PushSincResampler.
Provides a push interface to SincResampler without the int16->float
overhead. This is required to support resampling in the new
AudioProcessing float path.

BUG=2894
TESTED=unit tests
R=turaj@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5673 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-10 18:51:42 +00:00
fischman@webrtc.org
bc206eadb8 iOS video_render: omit no-op setNeedsDisplay
R=noahric@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5672 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-10 18:48:19 +00:00
fischman@webrtc.org
f792d17870 AppRTCDemo(iOS): video support; part 1 of 2: webrtc/.
(needs to land separately from the rest because PRESUBMIT)

Original review URL: https://webrtc-codereview.appspot.com/9229004

BUG=2168
TESTED=trybots
RISK=P3 (code is unused ATM)

Patch from Sajid Hussain <shussain@temasys.com.sg>.

R=noahric@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5671 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-10 17:12:08 +00:00
henrike@webrtc.org
0537634154 (Auto)update libjingle 62713454-> 62865357
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5670 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-10 15:53:12 +00:00
kjellander@webrtc.org
4a47be0f52 Disable CallTest.ReceivesAndRetransmitsNack for TSan
The test is failing with:
[ RUN      ] CallTest.ReceivesAndRetransmitsNack
../../webrtc/video/call_tests.cc:479: Failure
Value of: observer.Wait()
  Actual: 3
Expected: kEventSignaled
Which is: 1
[  FAILED  ] CallTest.ReceivesAndRetransmitsNack (122871 ms)

Example:
http://build.chromium.org/p/client.webrtc/builders/Linux%20Tsan/builds/1358/steps/memory%20test%3A%20video_engine_tests/logs/stdio

BUG=2908
R=sprang@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5669 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-10 12:50:29 +00:00
henrik.lundin@webrtc.org
36b6221cd4 Adding a link to issue
BUG=3010
TBR=stefan@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5668 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-10 10:24:35 +00:00
kjellander@webrtc.org
6b0cbcba42 Roll chromium_revision 249215:255773
Overview of changes in Chrome DEPS:
$ svn diff http://src.chromium.org/chrome/trunk/src/DEPS -r 249215:255773

which can be compared with the output of:
$ grep chromium_deps DEPS

in a WebRTC checkout, gives the following relevant changes:
* third_party/icu 246118:249466
* third_party/libyuv 978:979
* third_party/libjpeg_turbo 239595:251747
* third_party/libsrtp 214783:250757
* third_party/nss 246067:254867
* tools/clang-format 198831:202065
* tools/gyp 1846:1860

Among a variety of updated DEPS, this enables us to use
the new automatic download of Chromium's stripped down
Visual Studio 2013 toolchain on Windows.

For Windows, Visual Studio 2013 is also the default compiler
in Chrome. This CL sets the GYP_MSVS_VERSION to 2010 unless
otherwise specified. Doing that we can first fix our 2013 problems
before we move over to having 2013 by default.
The plan is to build 2013 at the WebRTC FYI waterfall at
http://build.chromium.org/p/client.webrtc.fyi/waterfall
to ensure we can support VS2013 before the switch.

I realized we can sync Chromium's find_depot_tools.py script
into it's own folder and just alter the PYTHONPATH for the
gyp_webrtc script. That way there's no need to have the dummy
module in webrtc/build anymore. The real script is also needed
for the logic that handles checking VS2013 and downloading it if
not found.

BUG=chromium:340973
TEST=All trybots passing runhooks and compile step.
R=tommi@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5667 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-10 09:51:17 +00:00
stefan@webrtc.org
9b5f4d8a84 Fix build breakage introduce with r5665.
TBR=andresp@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5666 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-10 09:38:39 +00:00
stefan@webrtc.org
f9e7c9d865 Add option to bwe_rtp_to_text to output arrival times only in nanoseconds.
R=andresp@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5665 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-10 09:11:21 +00:00
fischman@webrtc.org
a01daf0359 RTCPeerConnectionTest(objc): deflake by ignoring ICECompleted.
Delivery of the state seems intermittent at best on OS/X so
ignore it until we can make it reliable.

BUG=1414,2993,chromium:348982
TBR=bemasc@chromium.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5664 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-08 03:17:55 +00:00
fischman@webrtc.org
13320ea3d3 PeerConnectionTest(objc): expect ICE Completed state post 61460797-p10
Also a few trivial cleanups:
- No need to use STUN for a loopback test
- Reduce test call duration 10s->2s for faster iteration
- Remove obviously-irrelevant Info.plist entries (copy/pasta from iOS)

BUG=1414,2993
R=noahric@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5663 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-07 22:15:30 +00:00
marpan@webrtc.org
781146964e Roll libvpx 251850:254609
R=andrew@webrtc.org
TBR=ajm@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5662 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-07 22:13:51 +00:00
jiayl@webrtc.org
11aab0edc2 Populate VoiceReceiverInfo::delay_estimate_ms, jitter_buffer_ms, and jitter_buffer_preferred_ms to getStats.
BUG=2665
R=wu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5661 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-07 18:56:26 +00:00
fischman@webrtc.org
64e0405552 Avoid crash in ViEEncoder::DeRegisterExternalEncoder().
BUG=chromium:348222
R=mflodman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5660 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-07 18:00:05 +00:00
henrike@webrtc.org
cc08e3f9b1 Moves WEBRTC_POSIX define from header file to gyp-settings.
Makes WEBRTC_POSIX defined in the same place as the other OSs also this is needed to prevent excessive changes to talk/base files when migrating them to webrtc/base

BUG=N/A
R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5659 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-07 15:30:21 +00:00
pbos@webrtc.org
3ecc162d01 Remove std:: prefixes from C functions in webrtc/.
std::memcpy -> memcpy for instance. This change was motivated by a
compile report complaining that std::rand() was used instead of rand(),
probably with a stdlib.h include instead of cstdlib. Use of C functions
without the std:: prefix is a lot more common, so removing std:: to
address this.

BUG=
R=tommi@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5658 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-07 15:23:34 +00:00
pbos@webrtc.org
371243dfa3 Remove std:: prefixes from C functions in talk/.
std::memcpy -> memcpy for instance. This change was motivated by a
compile report complaining that std::rand() was used instead of rand(),
probably with a stdlib.h include instead of cstdlib. Use of C functions
without the std:: prefix is a lot more common, so removing std:: to
address this.

BUG=
R=tommi@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5657 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-07 15:22:04 +00:00
minyue@webrtc.org
46509c8d58 adding FEC support to WebRTC Opus wrapper and tests.
BUG=
R=tina.legrand@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5656 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-07 11:49:11 +00:00
minyue@webrtc.org
04546884bf This CL is to add Opus complexity knob and to test it.
As a by-product, a generic tool for testing and comparing the complexity of codecs is added, and new audio files are added to the resources.

Three complexity tests are included
1. Default Opus complexity
2. Opus complexity knob
3. Default iSAC complexity (to compare with Opus)

The complexity tests are only meant for development reasons
and not to be run at bots.

The .isolate file is only needed for the APK packaging and test execution on Android.

TEST=passes all trybots

BUG=
R=kjellander@webrtc.org, tina.legrand@webrtc.org, turaj@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5655 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-07 08:55:48 +00:00
wu@webrtc.org
ebdb0e3ad0 Help to land 7969005 on behalf of solenberg. The review and try is done in 7969005.
- Add ability to VoE to send Absolute Sender Time header extension.
- Refactor handling of RTP header extensions in VoE to work the same as in ViE.
- Add API to enable receiving Absolute Sender Time in VoE.

This is part of the work to include audio packets in bandwidth estimation, for
better accuracy in estimates.

BUG=
TBR=solenberg@webrtc.org,henrikg@webrtc.org,stefan@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5654 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-06 23:49:08 +00:00
henrike@webrtc.org
79047f99c1 (Auto)update libjingle 62691533-> 62713454
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5653 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-06 23:46:59 +00:00
henrike@webrtc.org
2d213e450c (Auto)update libjingle 62550414-> 62691533
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5652 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-06 18:51:21 +00:00
pbos@webrtc.org
f714e7faea Remove abs() use in PseudoTcp::process.
Squelches a clang 3.5 compile error for using abs() with a long instead
of labs(). Updated affected code to use uint32:s to match the sign of
m_rx_srtt.

BUG=
R=fischman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5651 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-06 18:31:08 +00:00
stefan@webrtc.org
45846977f9 Fixes a bug in the simulation framework where the time offset is accumulating as the packet trace is repeated, causing increasingly large gaps with no packets being transmitted.
R=solenberg@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5650 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-06 15:46:46 +00:00
henrik.lundin@webrtc.org
ed865b5d46 NetEq4: Changing the behavior of playout_timestamp_ update
The variable playout_timestamp_ was not updated to the latest decoded
timestamp while comfort noise was played. Instead, it was upadted using
dead reckoning, which caused it to drift away from the timestamps of the
incoming CNG packets. Now it is updated also during comfort noise
playout.

Since the change is only in NetEq4, this change also makes the test
PlaysOutAudioAndVideoInSync use both ACM1/NetEq3 and ACM2/NetEq4.

Re-enabling one NetEq unit test that is no longer failing thanks to this CL.

BUG=2932
R=stefan@webrtc.org, turaj@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5649 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-06 10:28:07 +00:00
sprang@webrtc.org
60ad5fdadf Potential deadlock in VideoSendStreamTest::ProducesStats
VideoSendStream::GetStats() should not be called by
RtpRtcpObserver::OnSendRtcp(), as at this stage that thread will still
hold internal send locks.

Use an event and signal the test thread to call GetStats() instead.

BUG=
R=mflodman@webrtc.org, pbos@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5648 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-06 10:03:36 +00:00
henrik.lundin@webrtc.org
998cb8fcd0 Use DISABLE_ instead of commenting out tests
BUG=2636
TBR=stefan@webrtc.org

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

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