Commit Graph

303 Commits

Author SHA1 Message Date
buildbot@webrtc.org
504fc89f36 (Auto)update libjingle 65394435-> 65417850
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5961 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-23 03:23:19 +00:00
tkchin@webrtc.org
19b1be159e Provide GetStats method in RTCPeerConnection
BUG=3144
R=fischman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5960 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-22 21:05:38 +00:00
tkchin@webrtc.org
ec3d8ecdcc Fix typo by renaming RTCSessionDescriptonDelegate -> RTCSessionsDescriptionDelegate
R=fischman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5946 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-21 18:47:24 +00:00
mallinath@webrtc.org
54fd70046d Remove ASSERT in TransportChannelProxy::SetImplementation, when
proxy already set to same transport channel impl.

Since session can call SetImplementation multiple times with or without BUNDLE, there are cases when SetImplementation is called with same impl (OnRemoteCandidates/PushdownTransportDescription/SetupMux). Also variables in
cricket::TransportProxy like |connecting_| and |negotiated_| are accessed
both between worker thread and signaling threads (which calls for bigger change
on how session interacts with Transport and TransportChannelProxy). I have a created a separate bug to address later issue.

Also if single thread used as worker and signaling thread, we can end up
calling SetLocalDescription and OnRemoteCandidates in same call sequence, which
will end up calling SetImplementation twice.

R=wu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5944 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-19 01:03:33 +00:00
buildbot@webrtc.org
8e5ec52e76 (Auto)update libjingle 65152644-> 65219629
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5941 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-19 00:00:31 +00:00
fischman@webrtc.org
29540b1879 Revert "PeerConnectionFactory: delay deletion of owned threads."
This reverts r5933 because it broke
http://build.chromium.org/p/client.webrtc/builders/Win64%20Release/builds/1598

BUG=3100

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5935 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-17 22:54:30 +00:00
buildbot@webrtc.org
1a87f529a2 (Auto)update libjingle 65151416-> 65151642
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5934 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-17 22:41:30 +00:00
fischman@webrtc.org
cea024d672 PeerConnectionFactory: delay deletion of owned threads.
Since PeerConnection holds a ref to its creating PeerConnectionFactory, it's
possible for ~PeerConnectionFactory() to be run on its signaling thread.
Deleting a thread from within that thread is sad times, so don't do it.

It would be nicer to avoid having PeerConnection hold a ref to the factory,
and instead require the user to keep the factory alive.  Unfortunately that
changes the contract on PeerConnection{,Factory} and it's unclear how to vet
existing callers for safety.

BUG=3100
R=juberti@webrtc.org, noahric@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5933 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-17 22:36:00 +00:00
henrike@webrtc.org
aeb0c28193 Update PRESUBMIT.py's list of "DO_NOT_SUBMIT_FILES".
BUG=N/A
R=wu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5931 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-17 14:15:43 +00:00
buildbot@webrtc.org
0b3c6c3191 (Auto)update libjingle 65086785-> 65104022
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5925 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-17 10:03:57 +00:00
buildbot@webrtc.org
39b868bad3 (Auto)update libjingle 65055925-> 65086785
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5921 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-17 00:04:39 +00:00
jiayl@webrtc.org
8f88f20af2 Expand the test max wait time from 1000ms to 2000ms.
The createOffer/createAnswer methods sometimes times out due to slow identity generation under memcheck.

BUG=2838
R=wu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5920 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-16 17:14:21 +00:00
wu@webrtc.org
36eda7cf0e Workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=996329, where the m line from firefox have a space at the end.
For example:
"m=application 38233 DTLS/SCTP 5000 "

BUG=3212
TEST=manually try to use DataChannel between FF 28 and Chrome with rtccopy.com
R=jiayl@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5915 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-15 20:37:30 +00:00
buildbot@webrtc.org
1fd5b45a0e (Auto)update libjingle 64956819-> 64982143
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5910 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-15 17:39:43 +00:00
kjellander@webrtc.org
190b72a350 Make libjingle Android example build without sourcing envsetup.sh
See https://webrtc-codereview.appspot.com/11799004
for full details (separate to avoid webrtc+talk changes in same CL).

BUG=chromium:346198
TEST=Local builds using:
. build/android/envsetup.sh
unset ANDROID_SDK_ROOT
webrtc/build/gyp_webrtc
ninja -C out/Debug
ninja -C out/Release
+ trybots passing: git try --bot=android,android_rel,android_clang

R=fischman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5908 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-15 08:35:49 +00:00
mallinath@webrtc.org
ad4440a64e In shared socket mode, use udp port as default receiver even if
stun server address is not set.

This can happen in a loopback scenarios where clients do not need
to provide any server information.

R=fischman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5906 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-15 01:10:58 +00:00
buildbot@webrtc.org
505f400f27 (Auto)update libjingle 64909599-> 64919255
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5905 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-14 20:33:47 +00:00
fischman@webrtc.org
e98598d3f0 Make everyone an OWNER for .gyp/.gypi add/delete purposes, talk/ edition.
This CL brought to you by:
$ for d in $(for f in $(git ls-files '*gyp' '*gypi'); do dirname $f;
done|sort|uniq|grep -v '^\.$'); do echo -e "\n# These are for the common case of
adding or renaming files. If you're doing\n# structural changes, please get a
review from a reviewer in this file.\nper-file *.gyp=*\nper-file *.gypi=*" >>
$d/OWNERS; done
$ for d in $(for f in $(git ls-files '*gyp' '*gypi'); do dirname $f;
done|sort|uniq|grep -v '^\.$'); do git add $d/OWNERS; done

(and then removed the non-talk/ impact)

R=niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5904 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-14 20:31:16 +00:00
buildbot@webrtc.org
1da6047132 (Auto)update libjingle 64813990-> 64909599
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5900 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-14 18:15:15 +00:00
fischman@webrtc.org
cf0b46c762 iosdeviceinfo.cc: remove unnecessary file
The do-nothing implementation in this file is already present in
mobiledevicemanager.cc (shared with Android) so this isn't adding value, and
causes duplicate-symbol errors under some compilers.

BUG=3201
R=henrike@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5899 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-14 18:12:32 +00:00
buildbot@webrtc.org
f875f15afb (Auto)update libjingle 64709629-> 64813990
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5897 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-14 16:06:21 +00:00
wu@webrtc.org
b884eb6118 (Auto)update libjingle 64630087-> 64709629
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5884 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-10 16:59:16 +00:00
henrike@webrtc.org
8dce41b3c6 Remove erronuous commit message from auto sync.
BUG=N/A
TBR=kjellander@webrtc.org

http://webrtc-codereview.appspot.com/11639004/



git-svn-id: http://webrtc.googlecode.com/svn/trunk@5883 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-10 14:39:38 +00:00
buildbot@webrtc.org
15192f909e (Auto)update libjingle 64594651-> 64630087
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5878 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-10 06:34:32 +00:00
henrike@webrtc.org
8f89497949 Remove erronuous commit message.
BUG=N/A
TBR=kjellander@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5875 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-09 14:43:43 +00:00
buildbot@webrtc.org
61c1b8ea32 (Auto)update libjingle 64585415-> 64594651
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5870 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-09 06:06:38 +00:00
henrike@webrtc.org
f824fde36f (Auto)update libjingle 64326665-> 64585415
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5864 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-08 22:13:01 +00:00
henrike@webrtc.org
74a7c482b9 Removes unused thread causing compiler warnings.
BUG=N/A
R=mallinath@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5859 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-07 20:49:34 +00:00
wu@webrtc.org
4e393070be Compare the answer's media type against offer to make sure they are match. Otherwise we should return failure.
BUG=2687
R=mallinath@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5858 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-07 17:04:35 +00:00
henrike@webrtc.org
09b0c10eed Talk: fixes warning: local variable is initialized but not referenced due to only using the variable in question for asserts.
BUG=N/A
R=mallinath@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5848 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-04 22:33:34 +00:00
fischman@webrtc.org
d1fe6b728e AppRTCDemo(android): fix a couple of SDP-related regressions.
- r5834 made it so that empty fields are a fatal SDP parsing error, exposing
  opportunities for improvement in the preferISAC; changed split/join to use
  \r\n instead of \n and now omitting the trailing space on the m=audio line
  that triggered the new failure.
- DTLS requires a different role for each endpoint so conflicts with loopback
  calling.  apprtc.py suppresses DTLS for that reason in loopback calls, so the
  android demo app now only enables DTLS by default if it is not suppressed by a
  constraint (matching Chrome).

BUG=3164,3165,2507
R=mallinath@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5847 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-04 21:40:46 +00:00
henrike@webrtc.org
f5bebd40f3 (Auto)update libjingle 64247466-> 64326665
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5845 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-04 18:39:07 +00:00
wu@webrtc.org
148149138d (Auto)update libjingle 64147530-> 64247466
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5835 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-02 23:25:15 +00:00
wu@webrtc.org
5e760e7b94 Check the return value of the FromString call and return failure when then value is invalid. I.e. uses
bool FromString(const std::string& s, T* t)
instead of
T FromString(const std::string& str)

Before this change we will silently continue the parsing and take whatever default value returned by FromString.

TEST=new tests
BUG=2507
R=mallinath@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5834 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-02 23:19:09 +00:00
wu@webrtc.org
e387771b98 Remove webrtc_unittest.cc from talk presubmit script.
BUG=
R=mallinath@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5833 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-02 22:23:16 +00:00
wu@webrtc.org
05e7b44b83 (Auto)update libjingle 63948945-> 64147530
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5825 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-01 17:44:24 +00:00
fischman@webrtc.org
49c5ba32bb AppRTCDemo(iOS): now works in the iOS Simulator!
...which has no camera device emulation or pass-through, so no local video
view.

R=noahric@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5815 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-31 20:22:19 +00:00
fischman@webrtc.org
61e78fca6c AppRTCDemo(iOS): remote-video reliability fixes
Previously GAE Channel callbacks would be handled by JS string-encoding the
payload into a URL.  Unfortunately this is limited to the (undocumented,
silently problematic) maximum URL length UIWebView supports.  Replaced this
scheme by a notification from JS to ObjC and a getter from ObjC to JS (which
happens out-of-line to avoid worrying about UIWebView's re-entrancy, or lack
thereof).  Part of this change also moved from a combination of: JSON,
URL-escaping, and ad-hoc :-separated values to simply JSON.

Also incidentally:
- Removed outdated TODO about onRenegotiationNeeded, which is unneeded
- Move handling of PeerConnection callbacks to the main queue to avoid having
  to think about concurrency too hard.
- Replaced a bunch of NSOrderedSame with isEqualToString for clearer code and
  not having to worry about the fact that [nil compare:@"foo"]==NSOrderedSame
  is always true (yay ObjC!).
- Auto-scroll messages view.

BUG=3117
R=noahric@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5814 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-31 20:16:49 +00:00
fischman@webrtc.org
fe16488184 AppRTCDemo(android): specify DtlsSrtpKeyAgreement:true in CreatePeerConnection's constraints.
This is required to interop with Chrome now that SDES is disabled in Chrome (as of r5640).

BUG=2774
R=jiayl@chromium.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5809 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-28 19:58:03 +00:00
fischman@webrtc.org
4f2bd68744 Silence pointless LS_WARNING about port 0 for active-only candidates.
R=mallinath@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5808 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-28 18:13:34 +00:00
wu@webrtc.org
987f2c9aae (Auto)update libjingle 63913264-> 63948945
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5807 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-28 16:22:19 +00:00
wu@webrtc.org
f7d501d48a (Auto)update libjingle 63884381-> 63913264
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5805 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-27 23:48:25 +00:00
andrew@webrtc.org
a5586b50e5 Protect ENABLE_PROFILING to fix profiling=1.
Chromium defines ENABLE_PROFILING under the gyp flag profiling=1. This
corrects the resulting mulitple defintion error:
../../talk/base/profiler.h:61:9: error: 'ENABLE_PROFILING' macro redefined [-Werror]
#define ENABLE_PROFILING

and allows us to use profiling=1 in standalone builds.

TESTED=build passes with profiling=1
R=wu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5804 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-27 22:44:13 +00:00
wu@webrtc.org
cfe5e9c894 (Auto)update libjingle 63837929-> 63884381
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5800 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-27 17:03:58 +00:00
henrike@webrtc.org
b0ecc1c6fb (Auto)update libjingle 63777286-> 63837929
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5797 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-26 22:44:28 +00:00
fischman@webrtc.org
b25576a75b talk/: enable _DEBUG in Debug for all posix
Chromium's build/common.gypi defines _DEBUG for Debug builds _except_ on
(OS=="mac" OS=="ios").  But libjingle uses _DEBUG on all platforms so define it on all posix (chromium covers non-posix separately and fine).

BUG=webrtc:3101
R=juberti@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5795 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-26 21:53:47 +00:00
henrike@webrtc.org
1ca08f65e3 Fix after auto update in r5787. APPRTCVideoView.h/m was removed incorrectly.
BUG=3121
R=fischman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5793 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-26 16:42:14 +00:00
henrike@webrtc.org
5fb7428496 (Auto)update libjingle 63775799-> 63776369
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5789 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-26 02:00:10 +00:00
henrike@webrtc.org
a92fd74f40 (Auto)update libjingle 63773382-> 63775799
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5788 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-26 01:46:18 +00:00
henrike@webrtc.org
dce3feb0b0 (Auto)update libjingle 63738002-> 63773382
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5787 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-26 01:17:30 +00:00