9b30348cfc
FrameGenerator class for future fake capture device.
...
BUG=
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1511004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4093 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-23 12:37:11 +00:00
771cdcbb09
Control new VideoEngine tests with gflags.
...
BUG=1703
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1497005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4092 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-23 12:20:16 +00:00
191c596912
Adds print out of incoming resolution.
...
BUG=N/A
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1532004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4091 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-23 11:57:25 +00:00
e46c8d3875
API to control target delay in NetEq jitter buffer. NetEq maintains the given delay unless channel conditions require a higher delay.
...
TEST=unit-test, manual, trybots.
R=henrik.lundin@webrtc.org , henrika@webrtc.org , mflodman@webrtc.org , mikhal@webrtc.org , stefan@webrtc.org , tina.legrand@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1384005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4087 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-22 20:39:43 +00:00
561990fd73
- Changed RemoteBitrateEstimator::IncomingPacket() to include a const WebRtcRTPHeader& and remove ssrc, rtp_timestamp.
...
- Changed RemoteBitrateObserver::OnReceivedBitrateChanged() to use a const & instead of non-const *, to avoid unnecessary copying.
- Refactored RemoteBitrateEstimatorTest so it can be instantiated for both single and multi stream BWE (first using a parameterized test, but then as a standard test fixture and a few helper functions).
- Refactored some tests in RemoteBitrateEstimatorTest into a common function CapacityDropTestHelper().
BUG=
R=andresp@webrtc.org , mflodman@webrtc.org , stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1521004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4086 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-22 19:04:19 +00:00
d2541e81c6
Remove <iostream> usage from loopback.cc
...
BUG=
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1522004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4077 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-21 11:09:36 +00:00
375deb4e19
Suffix VcmCapturer's privates with underscore_
...
BUG=
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1506005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4076 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-21 09:32:22 +00:00
69bb348084
Log error in ViESender::SendRTCPPacket
...
Log the packet length and the error of SendRTCPPacket.
R=mikhal@webrtc.org , wu@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1512005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4074 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-20 22:39:39 +00:00
cb9cff0c71
Add functions to ViE API to enable/disable the absolute send time header extension.
...
BUG=
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1487004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4065 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-20 12:00:23 +00:00
8d6eb56085
Avoid NPE crash on Android platforms that don't support getting preview framerate.
...
- catch Camera.setParameters() signaling errors through RuntimeException (!)
- make video_demo_apk rebuild when .java sources change
BUG=1778
R=wu@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1493004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4059 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-17 17:33:31 +00:00
21632124dd
Include gflags properly and X11 include order in VideoEngine.
...
BUG=
TBR=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1500004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4057 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-17 14:25:02 +00:00
f5d4cb1958
Include files from webrtc/.. paths in video_engine/
...
BUG=1662
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1492004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4056 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-17 13:44:48 +00:00
e874a8f24b
Enable WebRTC demo application on x86 Android
...
Steps to build the demo application for x86 Android:
source build/android/envsetup.sh --target-arch=x86
gclient runhooks
ninja -C out/Debug
cd webrtc/video_engine/test/android
ndk-build APP_ABI=x86
ant debug
R=fischman@webrtc.org , leozwang@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1478004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4053 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-17 05:41:07 +00:00
b3e5acfb66
Cleanup traces in WebRTC
...
Remove some unused traces and add a trace counter for encoded video size.
R=holmer@google.com , mflodman@webrtc.org , stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1476004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4050 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-16 21:13:02 +00:00
29d5839233
New VideoEngine API implementation on top of old one, first steps.
...
BUG=1668
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1360004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4044 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-16 12:08:03 +00:00
4dee30927a
Remove SetOverUseDetectorOptions and cleaned ViESharedData.
...
R=pbos@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1486004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4042 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-16 11:13:18 +00:00
29b2219914
Adding a factory to remote bitrate estimator and allow it to be set via config.
...
Additionally:
- clean api to set remote bitrate estimator mode.
- clean api to set over use detector options.
R=mflodman@webrtc.org , stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1448006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4027 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-14 12:10:58 +00:00
c9cb4fffac
Fix typo in log statement. witdh should be width.
...
BUG=none
TESTED=try bots
Review URL: https://webrtc-codereview.appspot.com/1466004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4016 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-14 05:02:08 +00:00
7bfb3a3227
Add more tracing for key frames.
...
R=mallinath@webrtc.org , stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1428004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4015 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-13 22:59:00 +00:00
941fcc5841
Increased the limit for KViEMaxCaptureDevices from 10 to 256. See issue 1343.
...
TBR=juberti@google.com
Review URL: https://webrtc-codereview.appspot.com/1463005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4014 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-13 20:28:23 +00:00
52b3905ec8
Updated WebRTC version to 3.31
...
TBR=wu@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1462004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4011 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-13 17:00:56 +00:00
c53480fbcf
Disabled flaky codec test (RunsCodecTestWithoutErrors)
...
BUG=1734
TBR=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1460004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4009 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-13 15:10:02 +00:00
7707d060bb
Wiring down config from video engine until video coding and remote bitrate estimator modules instantiation.
...
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1450008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4007 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-13 10:50:50 +00:00
7ee822805d
Remove TEXT(x) for BUILDINFO macros.
...
BUG=
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1453004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4005 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-13 09:29:03 +00:00
d6ed000585
This is the first step to convert building the Android WebRTC demo to a proper GYP target, android ndk toolchains is being used to build the jni cpp files instead of using ndk-build.
...
R=fischman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1444005
Patch from Jeremy Mao <yujie.mao@intel.com >.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3999 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-10 16:34:01 +00:00
6a36f0e46f
Since the layout of the Android WebRTC demo application is fixed, if we start the demo application in portrait postion, the activity will be destroyed and then created again, force the demo application to start in landscape position to avoid activity re-creation.
...
BUG=webrtc:1741
TEST=Build and run the Android WebRTC demo application
R=fischman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1439006
Patch from Jeremy Mao <yujie.mao@intel.com >.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3994 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-09 17:40:33 +00:00
e525309004
WebRTCDemo Android doesn't hangle activity recreation correctly.
...
Also optimize Statsview a little bit.
BUG=1740
TEST=Manual test with WebRTCDemo Android
R=fischman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1439005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3993 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-09 08:52:50 +00:00
ebdfa8dcba
Add fischman into OWNERS of WebRTCDemo Android.
...
BUG=
TBR=fischman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1450005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3991 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-09 07:30:38 +00:00
d72262dc01
Fix compile errors in ViE with latest clang.
...
Rolling to the latest Chromium picks up a new clang, which catches a fresh error:
error: 'reinterpret_cast' to class 'webrtc::VideoEngineImpl *' from its base at non-zero offset 'webrtc::VideoEngine *' behaves differently from 'static_cast' [-Werror,-Wreinterpret-base-class]
VideoEngineImpl* vie_impl = reinterpret_cast<VideoEngineImpl*>(video_engine);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../webrtc/video_engine/vie_codec_impl.cc:36:31: note: use 'static_cast' to adjust the pointer correctly while downcasting
VideoEngineImpl* vie_impl = reinterpret_cast<VideoEngineImpl*>(video_engine);
^~~~~~~~~~~~~~~~
static_cast
This was triggered by André's change here:
https://code.google.com/p/webrtc/source/detail?r=3986
which made VideoEngineImpl a derived class of VideoEngine (good).
Picked up one other error as well:
error: implicit conversion from 'long' to 'int' changes value from 9223372036854775807 to -1 [-Werror,-Wconstant-conversion]
AutoTestSleep(std::numeric_limits<long>::max());
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This fixes the errors and is required before stable can be rolled in Chromium.
TBR=mflodman,andresp
Review URL: https://webrtc-codereview.appspot.com/1450004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3989 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-09 02:12:07 +00:00
44272739c2
Clean creation of VideoEngine:
...
- clean a static variable just used to debug and not so necessary IMO.
- clean a really ugly reinterpret cast
- clean a extern "C" code and loading of dlls which is no longer in use.
Review URL: https://webrtc-codereview.appspot.com/1385006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3986 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-08 19:20:23 +00:00
ef14488d03
Trigger a PLI if the duration of non-decodable frames exceeds a threshold.
...
BUG=1663
R=mikhal@webrtc.org , ronghuawu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/1359004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3975 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-07 19:16:33 +00:00
3004c79c6a
Fix clang errors in non-GYP_DEFINES=clang=1 build
...
BUG=1623
R=stefan@webrtc.org , tina.legrand@webrtc.org , tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1368004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3968 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-07 12:36:21 +00:00
df3da84ec8
Updated WebRTC version number to 3.30
...
R=tnakamura@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1404005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3958 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-03 23:11:37 +00:00
2580bc4c30
Get rid of some unnecessary copying when sending REMBs.
...
BUG=
Review URL: https://webrtc-codereview.appspot.com/1325005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3947 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-03 09:22:14 +00:00
42636e82d0
Removing bad code resulting in flaky test.
...
BUG=1723
R=niklas.enbom@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1390004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3941 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-02 21:02:04 +00:00
52b4e8871a
Adding trace and changing pacing constants
...
BUG=1721,1722
R=mikhal@webrtc.org , niklas.enbom@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1380005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3940 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-02 19:02:17 +00:00
0d95e06a2f
Bugfix custom call stop.
...
BUG=1717
R=niklas.enbom@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1388004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3938 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-02 18:25:03 +00:00
3c48f31e5b
WebRTCDemo Android app to route audio to headphone when it's plugged in.
...
BUG=1654
TEST=WebRTCDemo app
Review URL: https://webrtc-codereview.appspot.com/1348004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3932 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-02 03:18:00 +00:00
342353780d
Consolidate common_audio into a single target.
...
In principle should reduce gyp processing time, but the difference was not measurable. In any case, it's a good simplification that aligns with having a single common_video target.
R=bjornv@webrtc.org , kma@webrtc.org , tina.legrand@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1375004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3928 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-04-30 23:43:26 +00:00
d35964a1ce
Fixing AV sync.
...
Increased 2 const to allow for a bigger difference in AV sync.
BUG=1711
Re-wrote the ComputeDelays to be readable and remove the possibilities of returning values lower than base_target_delay_ms
R=mflodman@webrtc.org , mikhal@webrtc.org , niklas.enbom@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1367004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3922 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-04-30 16:06:10 +00:00
dd807ac474
Adding buffered mode to loopback test
...
Review URL: https://webrtc-codereview.appspot.com/1371004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3920 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-04-30 15:19:47 +00:00
47128ab5ab
Removing vie file related code from vie_custom_call
...
Follow up on https://code.google.com/p/webrtc/source/detail?r=3900
Review URL: https://webrtc-codereview.appspot.com/1361004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3911 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-04-26 20:09:54 +00:00
4e545b33b3
Fixed remaining nits from Stefan
...
Review URL: https://webrtc-codereview.appspot.com/1323007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3910 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-04-26 15:23:34 +00:00
91563e42da
Fix the encoder pause logic.
...
BUG=1691
Review URL: https://webrtc-codereview.appspot.com/1352004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3904 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-04-25 22:20:08 +00:00
b84f13f185
Disabling avi file interface
...
Review URL: https://webrtc-codereview.appspot.com/1351004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3900 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-04-25 18:07:32 +00:00
8ca8a71de2
Revert "Add a default RTT to CallStats and use different values for buffered/real-time mode."
...
This reverts commit aae26db1da5803482b094357c546b8454ab1c26d.
BUG=1613
TBR=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1327008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3890 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-04-23 16:48:32 +00:00
ccd4b2aec8
Add a default RTT to CallStats and use different values for buffered/real-time mode.
...
BUG=1613
Review URL: https://webrtc-codereview.appspot.com/1326007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3888 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-04-23 15:58:23 +00:00
63117339dc
Updated the sync module with a slow moving filter
...
Review URL: https://webrtc-codereview.appspot.com/1326008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3884 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-04-22 18:57:14 +00:00
7c9e992d05
Removed unused variable.
...
Review URL: https://webrtc-codereview.appspot.com/1320013
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3881 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-04-22 13:05:41 +00:00
aeff4f3003
Fixing Coverity issues.
...
BUG=C14457, C10611
Review URL: https://webrtc-codereview.appspot.com/1320012
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3880 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-04-22 12:41:57 +00:00