webrtc/talk/p2p/base
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
..
asyncstuntcpsocket_unittest.cc Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
asyncstuntcpsocket.cc Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
asyncstuntcpsocket.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
basicpacketsocketfactory.cc Update libjingle to 50654631. 2013-08-10 07:18:04 +00:00
basicpacketsocketfactory.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
candidate.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
common.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
constants.cc Update libjingle to 50654631. 2013-08-10 07:18:04 +00:00
constants.h Update libjingle to 50654631. 2013-08-10 07:18:04 +00:00
dtlstransport.h Update libjingle to 50654631. 2013-08-10 07:18:04 +00:00
dtlstransportchannel_unittest.cc Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
dtlstransportchannel.cc Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
dtlstransportchannel.h Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
fakesession.h Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
p2ptransport.cc Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
p2ptransport.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
p2ptransportchannel_unittest.cc Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
p2ptransportchannel.cc Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
p2ptransportchannel.h Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
packetsocketfactory.h Update libjingle to 50654631. 2013-08-10 07:18:04 +00:00
parsing.cc Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
parsing.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
port_unittest.cc Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
port.cc Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
port.h Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
portallocator.cc Update talk folder to revision=49952949 2013-07-26 19:17:59 +00:00
portallocator.h Update libjingle to 50654631. 2013-08-10 07:18:04 +00:00
portallocatorsessionproxy_unittest.cc Update talk folder to revision=49713299. 2013-07-22 21:07:49 +00:00
portallocatorsessionproxy.cc Update talk folder to revision=49713299. 2013-07-22 21:07:49 +00:00
portallocatorsessionproxy.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
portinterface.h Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
portproxy.cc Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
portproxy.h Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
pseudotcp_unittest.cc Update talk folder to revision=49952949 2013-07-26 19:17:59 +00:00
pseudotcp.cc Update talk folder to revision=49713299. 2013-07-22 21:07:49 +00:00
pseudotcp.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
rawtransport.cc Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
rawtransport.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
rawtransportchannel.cc Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
rawtransportchannel.h Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
relayport_unittest.cc Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
relayport.cc Update talk folder to revision=49713299. 2013-07-22 21:07:49 +00:00
relayport.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
relayserver_main.cc Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
relayserver_unittest.cc Update libjingle to 50191337. 2013-08-01 00:00:07 +00:00
relayserver.cc Update talk folder to revision=49952949 2013-07-26 19:17:59 +00:00
relayserver.h Update talk folder to revision=49952949 2013-07-26 19:17:59 +00:00
session_unittest.cc Update libjingle to 50191337. 2013-08-01 00:00:07 +00:00
session.cc Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
session.h Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
sessionclient.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
sessiondescription.cc Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
sessiondescription.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
sessionid.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
sessionmanager.cc Update libjingle to 50654631. 2013-08-10 07:18:04 +00:00
sessionmanager.h * Update libjingle to 50389769. 2013-08-05 20:36:57 +00:00
sessionmessages.cc Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
sessionmessages.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
stun_unittest.cc Update talk folder to revision=49713299. 2013-07-22 21:07:49 +00:00
stun.cc Update talk folder to revision=49713299. 2013-07-22 21:07:49 +00:00
stun.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
stunport_unittest.cc Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
stunport.cc Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
stunport.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
stunrequest_unittest.cc Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
stunrequest.cc Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
stunrequest.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
stunserver_main.cc Update libjingle to 50191337. 2013-08-01 00:00:07 +00:00
stunserver_unittest.cc Update talk folder to revision=49713299. 2013-07-22 21:07:49 +00:00
stunserver.cc Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
stunserver.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
tcpport.cc PeerConnection shutdown-time fixes 2013-08-12 23:26:21 +00:00
tcpport.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
testrelayserver.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
teststunserver.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
testturnserver.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
transport_unittest.cc Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
transport.cc Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
transport.h Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
transportchannel.cc Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
transportchannel.h Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
transportchannelimpl.h Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
transportchannelproxy.cc Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
transportchannelproxy.h Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
transportdescription.h Update libjingle to 50733053. 2013-08-12 21:18:15 +00:00
transportdescriptionfactory_unittest.cc Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
transportdescriptionfactory.cc Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
transportdescriptionfactory.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
transportinfo.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
turnport_unittest.cc Update libjingle to 50654631. 2013-08-10 07:18:04 +00:00
turnport.cc Update libjingle to 50654631. 2013-08-10 07:18:04 +00:00
turnport.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
turnserver_main.cc Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
turnserver.cc Update libjingle to 50654631. 2013-08-10 07:18:04 +00:00
turnserver.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00
udpport.h Adds trunk/talk folder of revision 359 from libjingles google code to 2013-07-10 00:45:36 +00:00