stefan@webrtc.org
d855c1a4e8
Reverts r807 and fixes the real issue in the VCM.
...
This fixes an issue in the VCM where we don't wait for a packet to arrive
if the jitter buffer is empty. This also fixes an issue where an old
packet can trigger a packet event signal for a future frame.
BUG=
TEST=
Review URL: http://webrtc-codereview.appspot.com/248001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@814 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-25 11:52:48 +00:00
henrika@webrtc.org
bdb55c806f
This CL is an attempt to remove a crash we can see when closing down VoiceEgine.
...
It can happen that the capture thread tries to access an invalid object after StopPlayout has been called.
I have also extended the usage of the new ScopedCOMInitializer to all threads. See this step as code cleanup.
Review URL: http://webrtc-codereview.appspot.com/239014
git-svn-id: http://webrtc.googlecode.com/svn/trunk@813 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-25 11:03:28 +00:00
henrika@webrtc.org
a6c23357c0
Solves crash in ADM API unit test for Core Audio on Windows
...
Review URL: http://webrtc-codereview.appspot.com/244009
git-svn-id: http://webrtc.googlecode.com/svn/trunk@812 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-25 08:31:33 +00:00
henrika@webrtc.org
5423bc2d0b
Adds correct absolute paths to all input files in ADM functional unit tests.
...
Files are now read and played out correctly.
Review URL: http://webrtc-codereview.appspot.com/246006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@811 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-25 08:24:20 +00:00
kma@webrtc.org
ca325ececd
Corrected a linux build error introduced in issue 246005.
...
Review URL: http://webrtc-codereview.appspot.com/246008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@809 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-25 02:36:09 +00:00
wjia@webrtc.org
f0cd394a2e
Put fwrite calls under corresponding macros since they shouldn't show up in release build.
...
This also make chromeos build happy.
BUG=none
TEST=compile
Review URL: http://webrtc-codereview.appspot.com/247006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@808 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-25 00:40:43 +00:00
mikhal@webrtc.org
f31826e17b
adding a wait on the decode thread when no frames are available
...
Review URL: http://webrtc-codereview.appspot.com/246009
git-svn-id: http://webrtc.googlecode.com/svn/trunk@807 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-25 00:20:54 +00:00
mikhal@webrtc.org
a412924c0e
VP8:Setting number of cores based on image size
...
Review URL: http://webrtc-codereview.appspot.com/242010
git-svn-id: http://webrtc.googlecode.com/svn/trunk@806 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-25 00:02:43 +00:00
kma@webrtc.org
913644b92d
For commiting changes in CL 277002, due to file structure changes introduced during
...
the review of the code.
Review URL: http://webrtc-codereview.appspot.com/246005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@805 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-24 21:36:33 +00:00
andrew@webrtc.org
537096a5c1
Remove unnecessary objective-c compiler flags.
...
Review URL: http://webrtc-codereview.appspot.com/239011
git-svn-id: http://webrtc.googlecode.com/svn/trunk@802 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-24 15:07:08 +00:00
henrika@webrtc.org
bf478faebb
Ensures that ADM unit tests builds on all platforms.
...
Review URL: http://webrtc-codereview.appspot.com/240009
git-svn-id: http://webrtc.googlecode.com/svn/trunk@800 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-24 10:31:02 +00:00
stefan@webrtc.org
5eb64f06be
Fix BitrateSent() API when having a default RTP module.
...
BUG=
TEST=
Review URL: http://webrtc-codereview.appspot.com/242004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@796 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-21 13:42:50 +00:00
stefan@webrtc.org
158f496030
Fixes a rate control bug in the VP8 wrapper.
...
Changes how we signal frame rate and frame durations to the encoder. Rather
than changing the time base, we now only modify the frame durations, while
keeping the timebase constant. The frame duration is currently calculated
from the average input frame rate. Ideally, the frame duration should
be calculated as the timestamp diff, which is the real duration of a
frame, but the encoder doesn't seem to like too varying durations.
BUG=
TEST=
Review URL: http://webrtc-codereview.appspot.com/247001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@795 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-21 13:15:16 +00:00
stefan@webrtc.org
ead87b5051
Fix potential issue where frame buffers might be freed while being decoded.
...
BUG=
TEST=
Review URL: http://webrtc-codereview.appspot.com/243004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@791 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-21 06:46:37 +00:00
stefan@webrtc.org
2b0f094c8f
Avoid reallocating the decodedImage for every decoded frame.
...
Also made sure the right size is allocated.
BUG=
TEST=
Review URL: http://webrtc-codereview.appspot.com/240004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@790 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-21 06:39:03 +00:00
mikhal@webrtc.org
ee3dfa6f43
Review URL: http://webrtc-codereview.appspot.com/241007
...
git-svn-id: http://webrtc.googlecode.com/svn/trunk@789 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-21 00:46:09 +00:00
mikhal@webrtc.org
1af915d8ae
video_coding: vp8: Updating error propagation threshold
...
Review URL: http://webrtc-codereview.appspot.com/246002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@788 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-20 18:19:18 +00:00
kma@webrtc.org
d75889e2eb
Change of Android makefiles to build latest video coding code.
...
Review URL: http://webrtc-codereview.appspot.com/239008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@786 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-20 16:28:56 +00:00
henrika@webrtc.org
cedbb036d1
[Issue 101] Solves memory leak on Windows
...
git-svn-id: http://webrtc.googlecode.com/svn/trunk@784 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-20 12:11:45 +00:00
stefan@webrtc.org
c4d1983b7b
Changes in rtp_format_vp8_unittest to match the changes in CL 774.
...
BUG=
TEST=
Review URL: http://webrtc-codereview.appspot.com/241006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@782 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-20 08:19:34 +00:00
kjellander@webrtc.org
81f25f9ff8
Fixing build errors on Windows platform. Minor changes...
...
Review URL: http://webrtc-codereview.appspot.com/241004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@779 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-19 20:06:56 +00:00
wu@webrtc.org
f3f2f6abdb
* Add include_internal_video_capture and include_internal_video_render to include/exclude the internal VCM and VRM.
...
* Split the WEBRTC_VIDEO_EXTERNAL_CAPTURE_AND_RENDER into WEBRTC_INCLUDE_INTERNAL_VIDEO_CAPTURE and WEBRTC_INCLUDE_INTERNAL_VIDEO_RENDER.
* Add DummyDeviceInfo for the case when WEBRTC_INCLUDE_INTERNAL_VIDEO_CAPTURE is not defined.
Review URL: http://webrtc-codereview.appspot.com/224005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@778 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-19 18:42:17 +00:00
henrike@webrtc.org
509c9c5d09
operator + is evaluated before ?:
...
Parenthesis ensures the intended behavior.
Review URL: http://webrtc-codereview.appspot.com/239003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@777 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-19 18:31:01 +00:00
henrike@webrtc.org
4df8c9a2ed
Review URL: http://webrtc-codereview.appspot.com/243001
...
git-svn-id: http://webrtc.googlecode.com/svn/trunk@776 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-19 18:30:25 +00:00
stefan@webrtc.org
ffd28f95c5
Request key frames to battle error propagation.
...
The VP8 decoder wrapper will request key frames 30 frames after seeing
a packet loss, if it hasn't received a state refresh (only possible
through key frames in this version).
For this to be possible the jitter buffer has been made aware of
picture ids to be able to detect frame losses. Legacy JB code to
handle streams without marker bits was also removed since it
conflicts with streams with FEC.
BUG=
TEST=
Review URL: http://webrtc-codereview.appspot.com/239002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@774 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-19 15:55:39 +00:00
mikhal@webrtc.org
d0752c370d
video_coding: Update to hybrid mode: Set FEC values for zero below a threshold.
...
Review URL: http://webrtc-codereview.appspot.com/245001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@773 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-19 15:48:30 +00:00
bjornv@webrtc.org
4c636764b7
Updated the AEC delay logging to output values in ms. PB output updated.
...
Review URL: http://webrtc-codereview.appspot.com/223003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@770 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-19 08:47:40 +00:00
mflodman@webrtc.org
ce8813da4e
Using id instead of name when setting Mac/QTKit capture device.
...
Review URL: http://webrtc-codereview.appspot.com/241002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@768 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-19 06:45:16 +00:00
andrew@webrtc.org
4d5d5c1267
Reorganize the audio_processing source.
...
- Remove main and source directories.
- Change .gyp, .gypi and Android.mk files correspondingly. No other
source changes.
Review URL: http://webrtc-codereview.appspot.com/241001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@767 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-19 01:40:33 +00:00
wu@webrtc.org
8fd93d4d96
Move DeliverCapturedFrame from private to protected.
...
Review URL: http://webrtc-codereview.appspot.com/246001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@765 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-19 00:16:36 +00:00
stefan@webrtc.org
5b15cfc6dd
Fix BWE unit test build issue
...
git-svn-id: http://webrtc.googlecode.com/svn/trunk@762 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-18 07:22:33 +00:00
kjellander@webrtc.org
61f07c3184
I have made a small fix so it will execute properly from the default working directory location (trunk), finding its resource files.
...
The ApmTest.Process test is still failing and needs to be resolved.
BUG=
TEST=
Review URL: http://webrtc-codereview.appspot.com/194002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@761 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-18 06:54:58 +00:00
wu@webrtc.org
76aea651ff
When _audioConfigured, should not try to use the _video.
...
Review URL: http://webrtc-codereview.appspot.com/224004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@758 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-17 21:40:32 +00:00
wu@webrtc.org
f10ea31211
Add IncomingFrameI420 to ViEExternalCapture interface to take captured video frame buffer as 3 planes.
...
Review URL: http://webrtc-codereview.appspot.com/219004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@753 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-14 17:16:04 +00:00
marpan@webrtc.org
14aaaf116a
Some re-organization of the fec-uep code: updated protection modes, comments, and some variable/function re-naming.
...
Review URL: http://webrtc-codereview.appspot.com/231001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@752 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-14 16:28:02 +00:00
wu@webrtc.org
55c39f0940
Add mallinath@webrtc.org and wu@webrtc.org as the capture owner for US office.
...
Review URL: http://webrtc-codereview.appspot.com/230001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@751 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-14 15:34:19 +00:00
wu@webrtc.org
58691ebb97
Remove the DestroyDeviceInfo for mac video capture. (This is missed in r731.)
...
Review URL: http://webrtc-codereview.appspot.com/229001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@750 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-14 15:13:16 +00:00
stefan@webrtc.org
d0bdab0128
Adding API to get sent total bitrate, FEC bitrate and NACK bitrate.
...
Also adding tests for this in vie_auto_test.
BUG=
TEST=
Review URL: http://webrtc-codereview.appspot.com/199001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@749 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-14 14:24:54 +00:00
marpan@webrtc.org
5a3e20f678
Removed unused variables (build error) for test_fec.
...
Review URL: http://webrtc-codereview.appspot.com/223001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@738 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-13 16:59:24 +00:00
pwestin@webrtc.org
1da1ce0da5
First implementation of simulcast, adds VP8 simulcast to video engine.
...
Changed API to RTP module
Expanded Auto test with a test for simulcast
Made the video codec tests compile
Added the vp8_simulcast files to this cl
Added missing auto test file
Review URL: http://webrtc-codereview.appspot.com/188001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@736 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-13 15:19:55 +00:00
stefan@webrtc.org
4c059d87b3
Add metric for number of packets discarded by JB due to not being decodable
...
Also fixes a couple of bugs related to sequence number wrap found while
testing.
BUG=
TEST=
Review URL: http://webrtc-codereview.appspot.com/218001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@732 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-13 07:35:37 +00:00
wu@webrtc.org
77d7d5455e
Replace the DestroyDeviceInfo with a virtual destructor.
...
Review URL: http://webrtc-codereview.appspot.com/212005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@731 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-12 16:57:53 +00:00
wu@webrtc.org
ea89922b56
Add VideoCaptureFactory so that we don't need to expose VideoCaptureImpl.
...
BUG=
TEST=
Review URL: http://webrtc-codereview.appspot.com/213002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@727 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-11 17:13:51 +00:00
andrew@webrtc.org
199f4defd3
Rename all .cc files which include Objective-C headers to .mm.
...
This allows the Mac Make build to pass. We were hacking it in XCode with "-x objective-c++", but gyp/Make doesn't seem to accept that flag.
Also switch Objective-C #includes to #imports.
There is one file missing from this: vie_autotest_main.cc, because it's required on multiple platforms. I'm not immediately sure what the best approach is there, but the Objective-C headers should be somehow hidden.
Review URL: http://webrtc-codereview.appspot.com/153005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@726 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-11 15:43:35 +00:00
stefan@webrtc.org
791eec7424
Add API to get the number of packets discarded by the video jitter buffer due to being too late.
...
BUG=
TEST=
Review URL: http://webrtc-codereview.appspot.com/200001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@723 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-11 07:53:43 +00:00
stefan@webrtc.org
06887aebae
Fixes two bugs when decoding with packet losses.
...
Disable _missingFrame bit since we can't set it correctly with FEC.
No longer return more than one decoded frame per Decode() call.
This is a work-around for a bug where the frame info map was popped more often than items were added to the map.
BUG=
TEST=
Review URL: http://webrtc-codereview.appspot.com/215001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@722 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-10 14:17:46 +00:00
kjellander@webrtc.org
25e0b8e3a0
Python output flag and keyframe interval flags.
...
Refactored main method into using 6 helper methods for better overview.
Review URL: http://webrtc-codereview.appspot.com/207001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@710 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-07 07:52:00 +00:00
kjellander@webrtc.org
a31b254084
Python output flag and keyframe interval flags.
...
Refactored main method into using 6 helper methods for better overview.
Review URL: http://webrtc-codereview.appspot.com/207001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@709 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-07 06:50:22 +00:00
henrike@webrtc.org
bf54ef9bb7
Removed code under a non-existing define.
...
Review URL: http://webrtc-codereview.appspot.com/193006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@706 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-06 18:14:25 +00:00
andrew@webrtc.org
b2d4921f3b
Remove trailing whitespace in AudioDevice.
...
(That I introduced...)
Review URL: http://webrtc-codereview.appspot.com/198002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@703 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-06 16:34:36 +00:00