webrtc/talk
fischman@webrtc.org 32001ef124 PeerConnection shutdown-time fixes
- TCPPort::~TCPPort() was leaking incoming_ sockets; now they are deleted.
- PeerConnection::RemoveStream() now removes streams even if the
  PeerConnection::IsClosed().  Previously such streams would never get removed.
- Gave MediaStreamTrackInterface a virtual destructor to ensure deletes on base
  pointers are dispatched virtually.
- VideoTrack.dispose() delegates to super.dispose() (instead of leaking)
- PeerConnection.dispose() now removes streams before disposing of them.
- MediaStream.dispose() now removes tracks before disposing of them.
- VideoCapturer.dispose() only unowned VideoCapturers (mirroring C++ API)
- AppRTCDemo.disconnectAndExit() now correctly .dispose()s its
  VideoSource and PeerConnectionFactory.
- CHECK that Release()d objects are deleted when expected to (i.e. no ref-cycles
  or missing .dispose() calls) in the Java API.
- Create & Return webrtc::Traces at factory birth/death to be able to assert
  that _all_ threads started during the test are collected by the end.
- Name threads attached to the JVM more informatively for debugging.
- Removed a bunch of unnecessary scoped_refptr instances in
  peerconnection_jni.cc whose only job was messing with refcounts.

RISK=P2
TESTED=AppRTCDemo can be ended and restarted just fine instead of crashing on camera unavailability.  No more post-app-exit logcat lines.  PCTest.java now asserts that all threads are collected before exit.

BUG=2183
R=wu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4534 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-12 23:26:21 +00:00
..
app/webrtc PeerConnection shutdown-time fixes 2013-08-12 23:26:21 +00:00
base Update libjingle to 50654631. 2013-08-10 07:18:04 +00:00
build libjingle gyp: signal errors during gyp time to avoid cryptic failures during build time. 2013-08-12 18:06:29 +00:00
examples PeerConnection shutdown-time fixes 2013-08-12 23:26:21 +00:00
media Update libjingle to 50654631. 2013-08-10 07:18:04 +00:00
p2p PeerConnection shutdown-time fixes 2013-08-12 23:26:21 +00:00
session Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
site_scons Update talk folder to revision=49952949 2013-07-26 19:17:59 +00:00
sound Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
third_party/libudev Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
xmllite Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
xmpp * Update libjingle to 50389769. 2013-08-05 20:36:57 +00:00
COPYING Libjingle in webrtc needs updated AUTHORS, COPYING, LICENSE_THIRD_PARTY AND README. 2013-07-16 18:04:56 +00:00
libjingle_examples.gyp libjingle gyp: signal errors during gyp time to avoid cryptic failures during build time. 2013-08-12 18:06:29 +00:00
libjingle_tests.gyp Update libjingle to 50654631. 2013-08-10 07:18:04 +00:00
libjingle.gyp Update libjingle to 50654631. 2013-08-10 07:18:04 +00:00
libjingle.scons Update talk folder to revision=49470012. Same as 375 in libjingle's google code repository. 2013-07-17 14:42:53 +00:00
LICENSE_THIRD_PARTY Libjingle in webrtc needs updated AUTHORS, COPYING, LICENSE_THIRD_PARTY AND README. 2013-07-16 18:04:56 +00:00
main.scons Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
OWNERS Adds no parent to talk folder. 2013-07-30 15:51:54 +00:00
PRESUBMIT.py talk/PRESUBMIT: Accept copyright years going back to 2004. 2013-08-05 15:01:33 +00:00