decurtis@webrtc.org
8af11042cb
Avoid reading past end of string in GetLine.
...
BUG=3881
R=pthatcher@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/39369004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8017 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-01-07 19:15:51 +00:00
pbos@webrtc.org
bab79951ca
Convert FileMediaEngineTest to use more expects.
...
Allows pinpointing more precisely where a failure occurs.
BUG=4144
R=pthatcher@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/40399004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8015 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-01-07 18:01:29 +00:00
kjellander@webrtc.org
07c83a1385
Disable WebRtcVideoMediaChannelSimulcastTest.SimulcastSend tests on Win (take 2)
...
In https://webrtc-codereview.appspot.com/35669004/ the wrong
define was used (OS_WIN only exists in Chromium code).
BUG=4135
R=pbos@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/33799004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8008 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-01-07 10:36:53 +00:00
tkchin@webrtc.org
4e5115ae73
RTCPeerConnectionFactory: Explicitly create new worker and signaling threads.
...
There should be no change in behavior, since this is what the default
constructor does.
BUG=
R=jiayl@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/39419004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8007 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-01-07 06:35:18 +00:00
glaznev@webrtc.org
f6a9714760
Remove peer connection and signaling calls from UI thread.
...
- Add separate looper threads for peer connection and websocket
signaling classes.
- To improve the connection speed start peer connection factory
initialization once EGL context is ready in parallel with the room
connection.
- Add asynchronious http request class and start using it in
webscoket signaling and room parameters extractor.
- Add helper looper based executor class.
- Port some of henrika changes from
https://webrtc-codereview.appspot.com/36629004/ to fix sensor
crashes on non L devices - will remove the change if CL will
be submitted soon.
R=jiayl@webrtc.org , wzh@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/41369004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8006 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-01-06 22:24:09 +00:00
kjellander@webrtc.org
d95435c17a
Disable WebRtcVideoMediaChannelSimulcastTest.SimulcastSend tests on Win
...
These tests have turned out to be flaky on Windows.
BUG=4135
TBR=pbos@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/35669004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8004 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-01-06 11:01:35 +00:00
kjellander@webrtc.org
cbe7ca8796
Roll chromium_revision 8e72e1d..271c6cc (307131:309333)
...
This enables OpenSSL by default for Windows, see
8e72e1d..271c6cc
/build/common.gypi
which required libjingle_tests.gyp to be updated since the
targets in third_party/nss/nss.gyp was moved into a condition in
https://codereview.chromium.org/694643002 .
New Android dependencies are required due to being introduced in
build/android/pylib/remote/device/remote_device_test_run.py
of 5c49978f09
This should also fix Android test execution that started failing after
https://codereview.chromium.org/815213002 was submitted, since
it's based on e2a338fac9
Relevant other changes:
* src/buildtools: 535aff2..23a4e2f
* src/third_party/android_tools: 4f723e2..8fe116f
* src/third_party/boringssl/src: 00505ec..306e520
* src/third_party/icu: 53ecf0f..51c1a4c
* src/third_party/libvpx: 9fbec81..d3f3dce
* src/tools/swarming_client: 1d4965c..119b084
Details: 8e72e1d..271c6cc
/DEPS
Clang version updated 218707:223108:
8e72e1d..271c6cc
/tools/clang/scripts/update.sh
Due to this, we had to disable deadlock detection for TSan
due to a bug in Clang (see webrtc:
BUG=4106
R=pbos@webrtc.org , pthatcher@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/36459004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8003 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-01-06 07:24:27 +00:00
tkchin@webrtc.org
3a63a3c35d
iOS AppRTC: First unit test.
...
Tests basic session ICE connection by stubbing out network components, which have been refactored to faciliate testing.
BUG=3994
R=jiayl@webrtc.org , kjellander@webrtc.org , phoglund@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/28349004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8002 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-01-06 07:21:34 +00:00
pbos@webrtc.org
c37e72e890
Make setting identical RTP extensions a no-op.
...
Setting extensions are responsible for a lot of stream tear-downs
causing substantial slowdowns in SetRemoteDescription.
BUG=1788,4077
R=pthatcher@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/40389004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7998 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-01-05 18:51:13 +00:00
wzh@webrtc.org
433006a6c2
Fixed style issues from lint and got rid of unused fields.
...
BUG=
R=jiayl@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/41379004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7995 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-01-05 17:39:43 +00:00
glaznev@webrtc.org
8390c2762e
Add two unit tests for Android AppRTCDemo.
...
First unit test will create peer connection client, run
for a few second, close it and verify that there were
no any errors and local video was rendered.
Second unit test will run peer connection in a loopback mode.
To run the test from command line install AppRTCDemoTest.apk
and execute the command:
adb shell am instrument -w org.appspot.apprtc.test/android.test.InstrumentationTestRunner
R=jiayl@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/33609004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7991 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-01-02 19:51:12 +00:00
pbos@webrtc.org
896888b7e4
Remove min bitrate from simulcast streams.
...
Bitrates are still set using SetBitrateConfig() either way, and this
code causes assertion failures in
VideoSendStream::ReconfigureVideoEncoder: Assertion
`streams[i].target_bitrate_bps >= streams[i].min_bitrate_bps' failed.
R=pthatcher@webrtc.org
BUG=1788
Review URL: https://webrtc-codereview.appspot.com/38529004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7990 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-01-02 15:40:56 +00:00
pbos@webrtc.org
9eacb8cc59
Make P2PTestConductor use VirtualSocketServer.
...
Permits running JsepPeerConnectionP2PTestClient in parallel.
TBR=juberti@webrtc.org
BUG=2598
TEST=third_party/gtest-parallel/gtest-parallel -w 128 -r 100 out/Debug/libjingle_peerconnection_unittest --gtest_filter=JsepPeerConnectionP2PTestClient.*
Review URL: https://webrtc-codereview.appspot.com/37459004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7988 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-01-02 09:03:19 +00:00
pbos@webrtc.org
c62749fb47
Parallelize MediaRecorder unittests.
...
Exchanging static filenames for temporary ones, permitting tests to be
run in parallel without conflicting parallel uses of the same filenames.
TBR=juberti@webrtc.org
BUG=2597
TEST=third_party/gtest-parallel/gtest-parallel -w 64 -r 100 out/Debug/libjingle_p2p_unittest
Review URL: https://webrtc-codereview.appspot.com/34589004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7987 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-01-02 09:01:20 +00:00
jiayl@webrtc.org
27f5317560
Use the prod GAE server in AppRTCDemo for iOS.
...
BUG=
R=glaznev@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/38519004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7985 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-31 00:26:20 +00:00
jiayl@webrtc.org
5eb71eb4f4
Fix style issues from lint.
...
BUG=
R=glaznev@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/34629004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7984 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-30 22:44:11 +00:00
glaznev@webrtc.org
b2bda67497
Removing old channel code from a few more places.
...
Plus adding peer connection close event.
R=jiayl@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/37509004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7982 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-30 18:15:43 +00:00
jiayl@webrtc.org
c5fd66dcdf
Accept incoming pings before remote answer is set to reduce connection latency.
...
BUG=4068
R=juberti@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/33509004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7980 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-29 19:23:37 +00:00
henrika@webrtc.org
b024da3122
Add support for audio device selection in AppRTCDemo.
...
Summary:
- Creates a list of available (possible to select) audio devices.
- Automatically selects (routes audio) the "best/default" audio device.
- If possible, starts a proximity sensor that will switch between headset earpiece and speaker phone based on how close the a person's ear the mobile device is held.
TBR=glaznev
BUG=4103,4109
Review URL: https://webrtc-codereview.appspot.com/31239004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7978 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-29 10:35:06 +00:00
pthatcher@webrtc.org
5ad4178137
Move the Jingle-specific network code into webrtc/libjingle.
...
R=pbos@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/29319004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7977 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-23 22:14:15 +00:00
sprang@webrtc.org
46d4d29a75
Add field trial for screenshare bitrates when using temporal layers.
...
BUG=
R=pbos@webrtc.org , pthatcher@webrtc.org , stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/31209004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7976 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-23 15:19:35 +00:00
braveyao@webrtc.org
086c8d5a02
Use a temporary buffer to scale a screencast in OnFrameCaptured
...
BUG=3903
R=sergeyu@chromium.org
Review URL: https://webrtc-codereview.appspot.com/23909005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7973 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-22 05:46:42 +00:00
pthatcher@webrtc.org
4c0544ab07
Move Jingle-specific files from talk/session/media to webrtc/libjingle/session/media. This is part of an ongoing effort to remove Jingle-specific files from the WebRTC repository.
...
Also, fix the includes and header guards of examples/call.
R=juberti@webrtc.org , pbos@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/34559004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7972 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-19 22:29:55 +00:00
tkchin@webrtc.org
7ce4a584aa
Add initWithCoder to RTCEAGLVideoView.
...
Allows for proper OpenGL initialization if view is created from
storyboard.
BUG=3896
R=jiayl@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/34549004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7970 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-19 20:47:35 +00:00
jiayl@webrtc.org
a6f7ba6848
Add a AppRTCDemo setting to change the GAE server.
...
BUG=4041
R=tkchin@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/36599004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7966 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-19 17:32:14 +00:00
stefan@webrtc.org
742386a136
Enable payload-based padding by default and remove the API.
...
BUG=1812
R=mflodman@webrtc.org , pbos@webrtc.org , perkj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/31319004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7964 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-19 15:33:17 +00:00
pthatcher@webrtc.org
5647877b2d
Breakup Transports and TransportParsers and move TransportParsers into webrtc/libjingle. This is part of an ongoing effort to move Jingle-specific code out of WebRTC and into its own repository.
...
R=juberti@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/33679004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7959 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-19 03:32:59 +00:00
pthatcher@webrtc.org
aacc23465b
Split up (Jingle)Session from BaseSession. This is part of an ongoing effort to move Jingle-specific code out of WebRTC and into its own repository.
...
(This is the 3rd try)
R=juberti@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/29309004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7956 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-18 20:31:29 +00:00
jiayl@webrtc.org
16a05dddb8
Clean up the Channel code in AppRTCDemo and use GAE prod server for new signaling mode.
...
BUG=
R=tkchin@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/31299004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7955 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-18 20:12:03 +00:00
pthatcher@webrtc.org
f5847d7746
Move session/tunnel to webrtc/libjingle. This is part of the ongoing effort to move Jingle-specific things out of WebRTC and into its own repository. I won't submit this until all other projects have moved off of compiling this as well.
...
R=juberti@webrtc.org , pbos@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/38369004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7953 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-18 17:09:11 +00:00
pbos@webrtc.org
ce4e9a3562
Refactor some receive-side stats.
...
Removes polling of CName as well as receive codec statistics in favor of
internal callbacks keeping a statistics struct up to date.
R=mflodman@webrtc.org , stefan@webrtc.org
BUG=1667
Review URL: https://webrtc-codereview.appspot.com/28259005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7950 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-18 13:50:16 +00:00
pbos@webrtc.org
a9cf079248
Rename external_hmac_ctx_t to ExternalHmacContext.
...
_t types are reserved by POSIX.
R=juberti@webrtc.org
BUG=162
Review URL: https://webrtc-codereview.appspot.com/33699004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7944 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-18 09:12:21 +00:00
pthatcher@webrtc.org
4cb3856a4d
Revert "Split up (Jingle)Session from BaseSession. This is part of an ongoing effort to move Jingle-specific code out of WebRTC and into its own repository."
...
This reverts r7939 because it broke Chromium and other depedent projects that rely on certain logic remaining in p2p/base/session.cc and not in webrtc/libjingle/session.cc.
BUG=
R=turaj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/36589004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7940 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-18 02:28:25 +00:00
pthatcher@webrtc.org
536f999e58
Split up (Jingle)Session from BaseSession. This is part of an ongoing effort to move Jingle-specific code out of WebRTC and into its own repository.
...
This is an un-revert of r7992 and r7993.
R=henrike@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/32869004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7939 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-18 01:22:02 +00:00
pthatcher@webrtc.org
bc03192560
Move jingle examples from talk/ into webrtc/libjingle. This is part of the effor to move Jingle out of WebRTC and into its own repository.
...
R=juberti@webrtc.org , pbos@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/32849004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7936 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-17 22:15:11 +00:00
tommi@webrtc.org
209df9bf77
Change MockStatsObserver to grab values inside of OnComplete.
...
This is done since StatsReportCopyable is going away and the list of
supported properties of the mock class is known.
StatsReports holds a list of pointers to objects that cannot be cached,
so this is a simple way to grab the values when they're available.
R=perkj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/32859004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7932 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-17 14:09:05 +00:00
pbos@webrtc.org
e728ee03ba
Remove or rename typedefs with _t prefixes.
...
_t prefixes are reserved for additional typenames in POSIX.
R=henrik.lundin@webrtc.org , hta@webrtc.org , stefan@webrtc.org
BUG=162
Review URL: https://webrtc-codereview.appspot.com/36559004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7931 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-17 13:43:55 +00:00
guoweis@webrtc.org
950c518251
Add adapter_type into Candidate object.
...
Expose adapter_type from Candidate such that we could add jmidata on top of this.
Created a new type of report just for Ice candidate. The candidate's id is used as part of report identifier. This code change only reports the best connection's local candidate's adapter type. There should be cleaning later to move other candidate's attributes to the new report.
This is migrated from issue 32599004
BUG=
R=juberti@webrtc.org
Committed: https://code.google.com/p/webrtc/source/detail?r=7885
Committed: https://code.google.com/p/webrtc/source/detail?r=7906
Review URL: https://webrtc-codereview.appspot.com/36379004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7925 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-16 23:01:31 +00:00
pthatcher@webrtc.org
f050791ba0
Revert "Split up (Jingle)Session from BaseSession. This is part of an ongoing effort to move Jingle-specific code out of WebRTC and into its own repository."
...
This reverts r7992.
It broke the Chromium build because the Chroumium build relies on the logic in webtc/libjingle/session.cc, but Chromium doesn't compile that file.
R=henrike@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/38389004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7923 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-16 22:28:03 +00:00
pthatcher@webrtc.org
4afb59903c
Split up (Jingle)Session from BaseSession. This is part of an ongoing effort to move Jingle-specific code out of WebRTC and into its own repository.
...
R=juberti@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/35529004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7922 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-16 21:37:37 +00:00
pthatcher@webrtc.org
e2b7585bc2
Move ViewRequest and MediaStreams to streamparams.h, and remove dependency on mediasessionclient.h and mediamessages.h. This is part of the effort to remove Jingle-specific code from WebRTC and into its own repository.
...
R=juberti@webrtc.org , pbos@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/36519004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7921 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-16 21:09:08 +00:00
guoweis@webrtc.org
55360ae402
Revert "Add adapter_type into Candidate object."
...
This reverts commit aaf02cc2d4
.
BUG=
TBR=juberti@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/35539004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7908 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-16 05:28:10 +00:00
guoweis@webrtc.org
aaf02cc2d4
Add adapter_type into Candidate object.
...
Expose adapter_type from Candidate such that we could add jmidata on top of this.
Created a new type of report just for Ice candidate. The candidate's id is used as part of report identifier. This code change only reports the best connection's local candidate's adapter type. There should be cleaning later to move other candidate's attributes to the new report.
This is migrated from issue 32599004
BUG=
R=juberti@webrtc.org
Committed: https://code.google.com/p/webrtc/source/detail?r=7885
Review URL: https://webrtc-codereview.appspot.com/36379004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7906 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-15 23:03:10 +00:00
pkasting@chromium.org
0b1534c52e
Use int64_t for milliseconds more often, primarily for TimeUntilNextProcess.
...
This fixes a variety of MSVC warnings about value truncations when implicitly
storing the 64-bit values we get back from e.g. TimeTicks in 32-bit objects, and
removes the need for a number of explicit casts.
This also moves a number of constants so they're declared right where they're used, which is easier to read and maintain, and makes some of them of integral type rather than using the "enum hack".
BUG=chromium:81439
TEST=none
R=tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/33649004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7905 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-15 22:09:40 +00:00
tommi@webrtc.org
e2e199b894
Clean up StatsObserver's OnComplete methods (address TODOs).
...
R=perkj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/29239004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7898 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-15 13:22:54 +00:00
buildbot@webrtc.org
032b802a8c
(Auto)update libjingle 82121498-> 82126219
...
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7896 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-15 09:48:07 +00:00
tommi@webrtc.org
dd0601fbcf
Remove unneeded ctor and add a more practical one
...
The default constructor isn't necessary, so I'm removing it.
I'm adding another one so that we can (later) make |type| const.
R=perkj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/36429004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7895 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-15 09:47:49 +00:00
tommi@webrtc.org
69bc5a300f
Add thread asserts to StatsCollector.
...
Also adding a "ForTest" postfix to a test-only method.
R=perkj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/34489004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7894 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-15 09:44:48 +00:00
pbos@webrtc.org
fb108b5a28
Revert r7885.
...
Breaks compile step of other code where network name of
cricket::Candidate is used.
TBR=guoweis@webrtc.org ,juberti@webrtc.org
BUG=
Review URL: https://webrtc-codereview.appspot.com/31229004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7892 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-15 08:04:50 +00:00
pbos@webrtc.org
18a3896bd2
Revert r7886:7887.
...
Broke build steps in other code that uses securetunnelsessionclient.cc
and others.
TBR=tommi@webrtc.org ,pthatcher@webrtc.org
BUG=
Review URL: https://webrtc-codereview.appspot.com/36439004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7890 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-15 07:03:04 +00:00
magjed@webrtc.org
e575e9c40f
Move WebRtcVideoRenderFrame from webrtcvideoengine2.cc to webrtcvideoframe.h
...
The purpose of this CL is to be able to reuse the class WebRtcVideoRenderFrame in webrtcvideoengine.cc.
R=pbos@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/32799004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7888 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-14 11:09:23 +00:00
pthatcher@webrtc.org
dee76f3b89
Move the obvious/easy Jingle-specific code into webrtc/libjingle.
...
R=tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/32669004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7886 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-12 21:04:42 +00:00
guoweis@webrtc.org
8c9d79a29d
Add adapter_type into Candidate object.
...
Expose adapter_type from Candidate such that we could add jmidata on top of this.
Created a new type of report just for Ice candidate. The candidate's id is used as part of report identifier. This code change only reports the best connection's local candidate's adapter type. There should be cleaning later to move other candidate's attributes to the new report.
This is migrated from issue 32599004
BUG=
R=juberti@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/36379004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7885 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-12 19:21:14 +00:00
tommi@webrtc.org
c57310b982
Switch kStatsValueName* constants to be enums instead of char*.
...
This is to guard against potentially assigning a value name to an incorrect value, non-static string or otherwise assume they can be treated as strings.
R=perkj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/26359004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7884 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-12 17:41:28 +00:00
pthatcher@webrtc.org
40b276ea7b
Cleanup little things found when refactoring.
...
R=juberti@google.com
Review URL: https://webrtc-codereview.appspot.com/33519004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7880 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-12 02:44:30 +00:00
pbos@webrtc.org
2b19f06312
Wire up RTT statistics to webrtc::Call.
...
R=mflodman@webrtc.org , stefan@webrtc.org
BUG=1667,1788
Review URL: https://webrtc-codereview.appspot.com/32249004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7876 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-11 13:26:09 +00:00
pbos@webrtc.org
13518951e3
Remove old_factory from WebRtcVideoEngine.
...
Minor pending cleanup.
R=pthatcher@webrtc.org
BUG=
Review URL: https://webrtc-codereview.appspot.com/28239004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7875 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-11 13:14:30 +00:00
perkj@webrtc.org
128fabaf7b
Revert "Revert 7826 "Change Android PeerConnectionUnittest to build usin...""
...
Original cl description:
Change Android PeerConnectionUnittest to build using Chrome macros.
The purpose is to be able to run the tests using Chromes buildbots. To run:
CHECKOUT_SOURCE_ROOT=`pwd` build/android/test_runner.py instrumentation --test-apk=libjingle_peerconnection_android_unittest
This also add a new build target to build java PeerConnection using Chromes build macros.
BUG=4031
R=kjellander@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/26349004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7874 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-11 12:25:57 +00:00
buildbot@webrtc.org
a85307737c
(Auto)update libjingle 81702493-> 81755413
...
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7860 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-10 09:01:18 +00:00
tommi@webrtc.org
aa2c342c10
Add back a constructor to fix FYI build.
...
TBR=perkj
Review URL: https://webrtc-codereview.appspot.com/24349005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7854 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-09 20:23:06 +00:00
tkchin@webrtc.org
87776a8935
iAppRTCDemo: WebSocket based signaling.
...
Updates the iOS code to use the new signaling model. Removes old Channel API
code. Note that this no longer logs messages to UI. UI update forthcoming.
BUG=
R=glaznev@webrtc.org , jiayl@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/35369004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7852 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-09 19:32:35 +00:00
pthatcher@webrtc.org
0babb4a4e6
Fix a comment.
...
R=juberti@webrtc.org , pbos@webrtc.org , sprang@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/28209004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7851 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-09 19:01:45 +00:00
tommi@webrtc.org
c9d155faeb
Move implementation of types in statstypes. to its cc file.
...
R=perkj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/34439004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7850 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-09 18:18:06 +00:00
henrika@webrtc.org
a954c07ee1
AppRTCDemo (Android): built-in AEC should be enabled if device supports it and in combination with Java-based audio layer
...
BUG=4034
R=andrew@webrtc.org , perkj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/32179004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7849 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-09 16:22:09 +00:00
tommi@webrtc.org
5c3ee4bce6
Add empty implementation file that will hold statstypes.h implementation.
...
The implementation for the types currently in statstypes.h is split between statstypes.h and statscollector.cc.
TBR=pbos@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/35419004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7844 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-09 10:47:01 +00:00
glaznev@webrtc.org
eef85387ec
Fix AppRTCDemo closing error for KK and JB Android devices.
...
- Do not allow connection output when sending http delete
request to ws server - this causes IOException for KK and JB devices.
- Avoid creating dialog box with error message when activity
has been already closed / paused -
this causes resource leak error message for KK devices.
- Plus some code clean up to support async http messages in
websocket channel wrapper and use Handler for running
peerconnection client funcitons on UI thread.
R=jiayl@webrtc.org , tkchin@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/31159004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7836 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-09 01:29:17 +00:00
andrew@webrtc.org
3b3c406908
Revert 7826 "Change Android PeerConnectionUnittest to build usin..."
...
Broke gclient runhooks on internal bots. e.g.
http://chromegw/i/internal.client.webrtc/builders/Linux64%20Debug/builds/3575
> Change Android PeerConnectionUnittest to build using Chrome macros.
> The purpose is to be able to run the tests using Chromes buildbots. To run:
> CHECKOUT_SOURCE_ROOT=`pwd` build/android/test_runner.py instrumentation --test-apk=libjingle_peerconnection_android_unittest
>
> This also add a new build target to build java PeerConnection using Chromes build macros.
>
> BUG=4031
> R=kjellander@webrtc.org
>
> Review URL: https://webrtc-codereview.appspot.com/28189004
TBR=perkj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/32709004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7829 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-08 17:21:50 +00:00
perkj@webrtc.org
ed7824b1c0
Change Android PeerConnectionUnittest to build using Chrome macros.
...
The purpose is to be able to run the tests using Chromes buildbots. To run:
CHECKOUT_SOURCE_ROOT=`pwd` build/android/test_runner.py instrumentation --test-apk=libjingle_peerconnection_android_unittest
This also add a new build target to build java PeerConnection using Chromes build macros.
BUG=4031
R=kjellander@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/28189004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7826 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-08 15:41:01 +00:00
glaznev@webrtc.org
e2a9261f3e
Improve AppRTCDemo connection speed by sending all
...
http POST requests asynchronously.
R=jiayl@webrtc.org , tkchin@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/33499004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7820 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-05 20:11:06 +00:00
kjellander@webrtc.org
bd8cc0b914
Add codereview.settings to the /talk subdirectory
...
With this, it will be possible to create CLs from
Git repos created using
https://chromium.googlesource.com/external/webrtc/trunk/talk
(which is what you get when working with the repo currently
put in Chrome's src/third_party/libjingle/source/talk).
TBR=niklas.enbom@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/25309004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7819 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-05 13:47:37 +00:00
kjellander@webrtc.org
599e299b9d
cricket::VideoFrame int64 to int64_t.
...
Needed for successful compile of ios arm64.
BUG=3898
R=pthatcher@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/30359004
Patch from Zeke Chin <tkchin@webrtc.org>.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7817 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-05 09:42:57 +00:00
bemasc@webrtc.org
9b5467e88d
Fix assertion failure when closing data channel, and add a unit test.
...
BUG=4066
R=jiayl@webrtc.org , juberti@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/31109004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7816 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-04 23:16:52 +00:00
glaznev@webrtc.org
4b407aa985
Update AppRTCDemo README with information on 3-dot-apprtc server
...
and new command line arguments.
R=jiayl@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/34379004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7815 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-04 22:42:59 +00:00
guoweis@webrtc.org
7169afd9d5
With IPv6 enabled, it's important to know whether IPv6 is really used or not. BestConnection is tracked for this purpose. Also added a test case to verify the end to end behavior.
...
BUG=411086
R=pthatcher@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/30919005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7814 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-04 17:59:29 +00:00
glaznev@webrtc.org
369746bcb8
Support new WebSocket signaling format.
...
- Support new GAE message format and new signaling
sequence, which allows connection to 3-dot-apprtc server.
- Add UI setting to switch between GAE / WebSockets signaling.
- Some clean ups to better support command line application
execution.
BUG=3937,3995,4041
R=jiayl@webrtc.org , tkchin@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/27319004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7813 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-04 17:28:52 +00:00
pbos@webrtc.org
0fb6ad2004
Check if cpu_monitor_ exists before Stop().
...
R=asapersson@webrtc.org
BUG=1788
Review URL: https://webrtc-codereview.appspot.com/25279004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7797 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-03 13:44:29 +00:00
asapersson@webrtc.org
d8aed6b321
Verify that cpu_monitor exists before calling Stop().
...
R=pbos@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/25259004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7795 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-03 12:37:47 +00:00
pthatcher@webrtc.org
eb0954248d
Don't reset sequence number for a stream on deactivate/reactivate.
...
BUG=chromium:431908
R=pbos@webrtc.org , sprang@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/28119004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7788 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-03 00:34:10 +00:00
glaznev@webrtc.org
d01955179a
Change minimum video encoder initialization resolution to
...
176x144 to ensure HW encoder can be initialized.
R=pthatcher@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/32269004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7787 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-02 23:41:18 +00:00
perkj@webrtc.org
beee9cec22
Change back so that Android ApprtcDemo only use one MediaStream containing both audio and video.
...
The reason is that the desktop apprtcdemo only handle one MediaStream and this doesn't play audio if it receive two streams.
TEST=Test that a call with audio and video can be setup between an Android device and a desktop client using apprtc.appspot.com.
BUG=4051,3786
R=henrika@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/31069004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7781 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-02 14:38:18 +00:00
pthatcher@webrtc.org
146e0fd30f
Fix the build by putting in a typecast to avoid a comparison between
...
signed and unsigned ints introduced in cl/81073932.
R=pbos@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/26279004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7776 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-01 20:07:52 +00:00
glaznev@webrtc.org
dea5173edf
Add start bitrate and vp8 hw acceleration option to
...
Android AppRTCDemo.
- Add an option to set VP8 encoder start bitrate
usig x-google-start-bitrate line in remote SDP.
- Allow to enabled/disable VP8 hw decoder and
encoder acceleration using appRTC settings.
BUG=4046
R=jiayl@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/32539004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7775 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-01 20:02:13 +00:00
buildbot@webrtc.org
32ec0dd032
(Auto)update libjingle 81063831-> 81073932
...
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7774 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-01 17:57:36 +00:00
pbos@webrtc.org
273a414b0e
Report encoded frame size in VideoSendStream.
...
Implements reporting transmitted frame size in WebRtcVideoEngine2.
R=mflodman@webrtc.org , stefan@webrtc.org
BUG=4033
Review URL: https://webrtc-codereview.appspot.com/33399004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7772 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-12-01 15:23:21 +00:00
tommi@webrtc.org
2c13f659c7
Add a platform specific typedef for SOCKET in the peerconnection_server example since it's not universally 'int'.
...
R=pbos@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/33439004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7763 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-28 10:37:31 +00:00
tkchin@webrtc.org
3e9ad26112
Refactor iOS AppRTC parsing code.
...
Moved parsing code to JSON categories for the relevant objects.
No longer prefer ISAC as audio codec.
BUG=
R=glaznev@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/31989005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7755 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-27 00:52:38 +00:00
sprang@webrtc.org
a71bb6033b
Revert 7750 "Don't reset sequence number for a stream on deactiv..."
...
> Don't reset sequence number for a stream on deactivate/reactivate.
>
> BUG=chromium:431908
> R=pbos@webrtc.org
>
> Review URL: https://webrtc-codereview.appspot.com/32199004
TBR=sprang@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/29099004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7752 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-26 19:33:15 +00:00
sprang@webrtc.org
31f7a0e710
Don't reset sequence number for a stream on deactivate/reactivate.
...
BUG=chromium:431908
R=pbos@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/32199004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7750 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-26 16:55:52 +00:00
perkj@webrtc.org
2faf7eea6f
Revert "Revert "This adds an Android apk for running tests on the Java layer of PeerConnection.""
...
This reverts commit 308e7ff613
.
Original cl description:
This adds an Android apk for running tests on the Java layer of PeerConnection.
The only testcase is currently the same test we run on Java standalone.
To run the test adb shell am instrument -w org.webrtc.test/android.test.InstrumentationTestRunner
BUG=4031
R=kjellander@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/32529004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7748 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-26 07:35:37 +00:00
glaznev@webrtc.org
58edb83fd4
Add video encoder fps and bitrate statistics to
...
Android AppRTCDemo UI.
BUG=4045
R=jiayl@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/25229004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7747 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-26 00:39:42 +00:00
pbos@webrtc.org
008731868a
Implement settable min/start/max bitrates in Call.
...
These parameters are set by the x-google-*-bitrate SDP parameters. This
is implemented on a Call level instead of per-stream like the currently
underlying VideoEngine implementation to allow this refactoring to not
reconfigure the VideoCodec at all but rather adjust bandwidth-estimator
parameters.
Also implements SetMaxSendBandwidth in WebRtcVideoEngine2 as it's a SDP
parameter and allowing it to be dynamically readjusted in Call.
R=mflodman@webrtc.org , stefan@webrtc.org
BUG=1788
Review URL: https://webrtc-codereview.appspot.com/26199004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7746 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-25 14:03:34 +00:00
glaznev@webrtc.org
dab5d92df6
Use mirror image for Android AppRTCDemo local preview.
...
Similar to Chrome apprtc using mirror image for camera
local preview provides better experience when device
is rotated.
R=jiayl@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/25209004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7741 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-24 17:31:01 +00:00
kjellander@webrtc.org
8562f23acb
OWNERS: Remove tomasl@ and mallinath@
...
mallinath@ has left the team and tomasl@ says he doesn't
know why he's owner in webrtc/test/channel_transport
R=henrika@webrtc.org , perkj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/30119004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7736 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-24 10:05:05 +00:00
kjellander@webrtc.org
308e7ff613
Revert "This adds an Android apk for running tests on the Java layer of PeerConnection."
...
This reverts r7732
Reason: Breaks compilation on Linux:
[813/818] LINK libjingle_media_unittest
FAILED: cd ../../talk; build/build_jar.sh /usr/lib/jvm/java-7-openjdk-amd64 ../out/Debug/libjingle_peerconnection_test.jar ../out/Debug/obj/talk/libjingle_peerconnection_test_jar.gen app/webrtc/javatests/src:../out/Debug/libjingle_peerconnection.jar:../third_party/junit/junit-4.11.jar app/webrtc/java/testcommon/src/org/webrtc/PeerConnectionTest.java app/webrtc/javatests/src/org/webrtc/PeerConnectionTestJava.java
build/build_jar.sh: Entering directory `/mnt/data/b/build/slave/linux64/build/src/talk'
app/webrtc/java/testcommon/src/org/webrtc/PeerConnectionTest.java:46:warning: [deprecation] Assert in junit.framework has been deprecated
import static junit.framework.Assert.*;
^
app/webrtc/javatests/src/org/webrtc/PeerConnectionTestJava.java:36:error: cannot find symbol
@Test
^
symbol: class Test
location: class PeerConnectionTestJava
app/webrtc/javatests/src/org/webrtc/PeerConnectionTestJava.java:43:error: cannot find symbol
@Test
^
symbol: class Test
location: class PeerConnectionTestJava
2 errors
1 warning
ninja: build stopped: subcommand failed.
TBR=perkj@webrtc.org
BUG=
Review URL: https://webrtc-codereview.appspot.com/32169004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7733 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-23 21:23:00 +00:00
perkj@webrtc.org
2751f2ab4c
This adds an Android apk for running tests on the Java layer of PeerConnection.
...
The only testcase is currently the same test we run on Java standalone.
To run the test adb shell am instrument -w org.webrtc.test/android.test.InstrumentationTestRunner
R=kjellander@webrtc.org , phoglund@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/26219004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7732 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-23 16:00:57 +00:00
thorcarpenter@google.com
88d14f483b
Remove expensive and unnecessary memory alloc for sending black frames on video
...
mute.
Remove old crusty is_black_ member var in webrtcvideoengine which was not adding value.
R=henrike@webrtc.org , tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/26229004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7731 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-22 01:04:26 +00:00
magjed@webrtc.org
bdcf38c894
cricket::VideoFrame: Refactor ConvertToRgbBuffer into base class
...
There is also an implementation in Chromium that can be removed if/when this lands:
content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc
R=fbarchard@google.com , pbos@webrtc.org , perkj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/32059004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7728 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-21 10:53:00 +00:00
pkasting@chromium.org
4591fbd09f
Use size_t more consistently for packet/payload lengths.
...
See design doc at https://docs.google.com/a/chromium.org/document/d/1I6nmE9D_BmCY-IoV6MDPY2V6WYpEI-dg2apWXTfZyUI/edit?usp=sharing for more information.
This CL was reviewed and approved in pieces in the following CLs:
https://webrtc-codereview.appspot.com/24209004/
https://webrtc-codereview.appspot.com/24229004/
https://webrtc-codereview.appspot.com/24259004/
https://webrtc-codereview.appspot.com/25109004/
https://webrtc-codereview.appspot.com/26099004/
https://webrtc-codereview.appspot.com/27069004/
https://webrtc-codereview.appspot.com/27969004/
https://webrtc-codereview.appspot.com/27989004/
https://webrtc-codereview.appspot.com/29009004/
https://webrtc-codereview.appspot.com/30929004/
https://webrtc-codereview.appspot.com/30939004/
https://webrtc-codereview.appspot.com/31999004/
Committing as TBR to the original reviewers.
BUG=chromium:81439
TEST=none
TBR=pthatcher,henrik.lundin,tina.legrand,stefan,tkchin,glaznev,kjellander,perkj,mflodman,henrika,asapersson,niklas.enbom
Review URL: https://webrtc-codereview.appspot.com/23129004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7726 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-20 22:28:14 +00:00
glaznev@webrtc.org
edc6e57a92
Support loopback mode and command line execution
...
for Android AppRTCDemo when using WebSocket signaling.
- Add loopback support for new signaling. In loopback mode
only room connection is established, WebSocket connection is
not opened and all candidate/sdp messages are automatically
routed back.
- Fix command line support both for channek and new signaling.
Exit from application when room connection is closed and add
an option to run application for certain time period and exit.
- Plus some fixes for WebSocket signaling - support
POST (not used for now) and DELETE request to WebSocket server
and making sure that all available TURN server are used by
peer connection client.
BUG=3995,3937
R=jiayl@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/24339004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7725 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-20 21:16:12 +00:00
magjed@webrtc.org
f58b455cf7
cricket::VideoAdapter: Drop frames before spending time converting/scaling, not after.
...
In VideoCapturer::OnFrameCaptured, we currently convert cricket::CapturedFrame to cricket::VideoFrame and then send that to VideoAdapter::AdaptFrame. AdaptFrame may then decide to drop the frame. It would be faster to drop the frame before converting to cricket::VideoFrame.
This CL refactors VideoAdapter with a new function AdaptFrameResolution that takes captured resolution as input and output adapted resolution, or 0x0 if the frame should be dropped. Using that function, frames can be dropped before any conversion takes place.
R=fbarchard@google.com , perkj@webrtc.org , tommi@webrtc.org
Committed: https://code.google.com/p/webrtc/source/detail?r=7702
Committed: https://code.google.com/p/webrtc/source/detail?r=7707
Review URL: https://webrtc-codereview.appspot.com/29949004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7721 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-19 18:09:14 +00:00