Commit Graph

381 Commits

Author SHA1 Message Date
mallinath@webrtc.org
8e755c1ad2 Connect SignalDestroyed in AllocationSequence after TURN ports are destroyed
when TURN ports are using shared socket with UDP port.

This is required as AllocationSequence maintains a map of turn ports. If the
ports are destroyed without the knowledge of AllocationSequence, sequence will
try to deliver packets to the destoyed ports.

R=jiayl@webrtc.org
BUG=https://code.google.com/p/chromium/issues/detail?id=368877

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6219 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-21 23:00:46 +00:00
buildbot@webrtc.org
f9f1bfbdae (Auto)update libjingle 67686255-> 67689476
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6216 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-21 17:02:15 +00:00
buildbot@webrtc.org
ce4201df52 (Auto)update libjingle 67643194-> 67686255
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6214 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-21 16:22:51 +00:00
henrike@webrtc.org
000658a138 Revert of 6211 as it was committed despite of PRESUBMIT.py warning. The commit breaks the sync bot.
BUG=N/A
TBR=mcasas@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6212 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-21 16:01:13 +00:00
mcasas@webrtc.org
3b7e282caa Disabling systematically failing
WebRtcVideoMediaChannelTest.SendVp8HdAndReceiveAdaptedVp8Vga

TBR= pbos@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6211 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-21 14:25:20 +00:00
buildbot@webrtc.org
49a6a27bf0 (Auto)update libjingle 67555838-> 67643194
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6206 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-21 00:24:54 +00:00
tkchin@webrtc.org
1732a591e7 Add a UIView for rendering a video track.
RTCEAGLVideoView provides functionality to render a supplied RTCVideoTrack using OpenGLES2.

R=fischman@webrtc.org
BUG=3188

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6192 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-19 23:26:01 +00:00
fischman@webrtc.org
40bc7779aa talk_base: remove lock inversion between MessageQueue and MessageQueueManager.
Removes the concept of a MessageQueue being "active" in favor of considering all
live MQ's to be active.
(previously a MQ was active starting from the first Post to it and stopped being
active in its dtor).

BUG=3230
R=sriniv@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6190 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-19 17:58:04 +00:00
wu@webrtc.org
cb711f77d2 Add interface to propagate audio capture timestamp to the renderer.
BUG=3111
R=andrew@webrtc.org, turaj@webrtc.org, xians@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6189 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-19 17:39:11 +00:00
pbos@webrtc.org
1e019d10b8 Fix delivery error-checking missed in r6151.
Gets rid of quite a bit of false-warning logging in WebRtcVideoEngine2.

BUG=3228
R=perkj@webrtc.org
TBR=pthatcher@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6183 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-16 11:38:45 +00:00
buildbot@webrtc.org
6bfd6196ff (Auto)update libjingle 67052073-> 67134648
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6174 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-15 16:15:59 +00:00
mallinath@webrtc.org
bb6201ae4b TCP remote socket address should have both server hostname and IP address.
Hostname is necessary when we are creating TLS based socket, for certificate
verification.

BUG=https://code.google.com/p/chromium/issues/detail?id=306285
R=jiayl@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6165 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-14 22:43:05 +00:00
fischman@webrtc.org
a150bc9bbf PeerConnection(android): allow initializing either (or neither) of {Voice,Video}Engine.
Enables applications that don't want to pay the init/startup cost or request
extra permissions (e.g. audio-only app, or DataChannel-only app).

BUG=3234

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6164 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-14 22:00:50 +00:00
buildbot@webrtc.org
ef5a752c29 (Auto)update libjingle 67043374-> 67044055
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6163 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-14 21:35:19 +00:00
buildbot@webrtc.org
3e924683d4 (Auto)update libjingle 67037200-> 67043374
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6162 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-14 21:29:04 +00:00
jiayl@webrtc.org
4f5801494d Drop the DataChannel message if it's received when the channel is not open.
It may happen when the JS has closed the channel on the signaling thread while messages are received on the worker thread and posted before the state change is pushed to the worker thread.

BUG=crbug/363005
R=mallinath@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6161 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-14 20:32:35 +00:00
buildbot@webrtc.org
372701a872 (Auto)update libjingle 67023528-> 67036361
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6160 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-14 20:27:59 +00:00
buildbot@webrtc.org
688ed699e0 (Auto)update libjingle 67017551-> 67023528
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6158 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-14 18:26:09 +00:00
fischman@webrtc.org
2c98af7935 PeerConnection(Java): auto-WrapCurrentThread() when creating PeerConnectionFactory.
Various pieces of talk/ assume that the current Thread is ThreadManager'd
without checking this, so unconditionally wrap the caller's thread in case it
was created by Java code unbeknownst to ThreadManager.

BUG=2947
R=wu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6154 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-14 17:33:32 +00:00
pbos@webrtc.org
4e545cc244 Update webrtcvideoengine2.cc to use DeliveryStatus.
talk/ changes corresponding to https://review.webrtc.org/12289005/.

BUG=3228
R=perkj@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6151 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-14 13:58:13 +00:00
andresp@webrtc.org
581e2172af Fix libjingle to provide a field_trial implementation.
This completes https://webrtc-codereview.appspot.com/14489004/ by updating libjingle rules.

BUG=crbug/367114
R=tommi@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6149 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-14 13:12:45 +00:00
buildbot@webrtc.org
cd846dd374 (Auto)update libjingle 66924241-> 66927231
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6134 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-13 22:58:27 +00:00
buildbot@webrtc.org
da510c5de6 (Auto)update libjingle 66923202-> 66924241
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6132 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-13 22:30:56 +00:00
fischman@webrtc.org
d8af5b51c0 Deallocate the result of mach_host_self() when done with it, fixing a
port leak.

The port rights obtained by mach_host_self() and mach_thread_self() need
to be deallocated with mach_port_deallocate(). They consume finite
system-wide resources. This is in contrast to mach_task_self(), which is
a macro that wraps an extern global variable, and must not be
deallocated.

http://crbug.com/105513 shows the sorts of problems that can occur when
these aren't properly deallocated.

R=fischman@webrtc.org, tkchin@webrtc.org

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

Patch from Mark Mentovai <mark@chromium.org>.

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6131 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-13 22:18:48 +00:00
buildbot@webrtc.org
c14f521b1b (Auto)update libjingle 66887616-> 66900106
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6130 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-13 18:52:57 +00:00
buildbot@webrtc.org
3e01e0b16c (Auto)update libjingle 66867790-> 66887616
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6128 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-13 17:54:10 +00:00
pbos@webrtc.org
b5a22b1464 Revert r6110 and r6109.
Effectively re-landing r6104 as well as r6108 which includes a fix to a
compile error that caused r6104 to be reverted in r6110.

BUG=
TBR=henrike@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6119 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-13 11:07:01 +00:00
buildbot@webrtc.org
eaf2bd916b (Auto)update libjingle 66813165-> 66836233
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6113 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-12 23:12:19 +00:00
mallinath@webrtc.org
d37bcfa882 Changed enums to less generic names.
IPv4/IPv6 will be sent when RegisterUMAObserver is called. This is done
as Initialize is not called through interface.

R=jiayl@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6112 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-12 23:10:18 +00:00
buildbot@webrtc.org
17911dca80 (Auto)update libjingle 66798415-> 66813165
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6110 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-12 18:42:49 +00:00
henrike@webrtc.org
0df2ea064f Rollback of r6108
BUG=N/A
R=mallinath@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6109 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-12 18:41:12 +00:00
pbos@webrtc.org
a7f70a487f Initialize bitrates in ValidateCodecFormat.
Attempt to un-break a Visual Studio build (unknown version) that
incorrectly reports that these are potentially uninitialized.

BUG=
R=henrike@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6108 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-12 18:20:40 +00:00
pbos@webrtc.org
d266a2020f Initial wiring of new webrtc API in libjingle.
BUG=1788
R=pthatcher@google.com, pthatcher@webrtc.org
TBR=juberti@webrtc.org, mflodman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6104 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-12 14:32:01 +00:00
mallinath@webrtc.org
0f2a22b3fa Removed sending metrics from PeerConnection about IPv4 and IPv6.
Reasons: 1: There is memcheck failure.
         2: DoInitialize is called before RegisterUMAObserver,
            which means this will be never triggered in real cases.

BUG=3326
R=jiayl@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6097 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-09 21:15:06 +00:00
buildbot@webrtc.org
8a54844333 (Auto)update libjingle 66624678-> 66643715
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6095 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-09 18:10:55 +00:00
buildbot@webrtc.org
1cd14a4502 (Auto)update libjingle 66556498-> 66624678
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6093 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-09 15:01:40 +00:00
buildbot@webrtc.org
ca27236272 (Auto)update libjingle 66541346-> 66556498
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6088 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-08 23:10:23 +00:00
buildbot@webrtc.org
1567b8cf8c (Auto)update libjingle 66540208-> 66541346
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6085 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-08 19:54:16 +00:00
buildbot@webrtc.org
073dfdd10a (Auto)update libjingle 66539128-> 66540208
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6084 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-08 19:36:21 +00:00
buildbot@webrtc.org
d1ae89fae1 (Auto)update libjingle 66524760-> 66539128
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6083 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-08 19:19:26 +00:00
buildbot@webrtc.org
ff6a3d920a (Auto)update libjingle 66523887-> 66524760
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6080 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-08 16:16:41 +00:00
jiayl@webrtc.org
f7026cd7c8 Check SCTP_EWOULDBLOCK instead of EWOULDBLOCK in SctpDataMediaChannel.
usrsctp.h redefines EWOULDBLOCK to WSAEWOULDBLOCK on Windows, but usrsctp_sendv still returns the BSD EWOULDBLOCK (i.e. SCTP_EWOURLBLOCK) when sending data fails due to congestion.
We will need to revert this change when usersctp is fixed.

BUG=2866
R=juberti@webrtc.org, wu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6079 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-08 16:02:23 +00:00
buildbot@webrtc.org
c5bb22395c (Auto)update libjingle 66424806-> 66523513
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6078 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-08 16:00:58 +00:00
buildbot@webrtc.org
2219037e5e (Auto)update libjingle 66406192-> 66424806
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6075 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-07 17:52:33 +00:00
buildbot@webrtc.org
dd4742a9ef (Auto)update libjingle 66388864-> 66406192
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6072 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-07 14:50:35 +00:00
buildbot@webrtc.org
ed97bb0eb4 (Auto)update libjingle 66340694-> 66388864
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6071 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-07 11:15:20 +00:00
buildbot@webrtc.org
f9277a9381 (Auto)update libjingle 66326258-> 66340694
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6069 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-07 00:29:05 +00:00
buildbot@webrtc.org
861d4b0de9 (Auto)update libjingle 66322380-> 66326258
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6067 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-06 22:11:02 +00:00
buildbot@webrtc.org
0581f0ba0a (Auto)update libjingle 66303009-> 66322380
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6065 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-06 21:36:31 +00:00
buildbot@webrtc.org
a18b4c96af (Auto)update libjingle 66301332-> 66303009
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6064 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-06 17:48:14 +00:00