webrtc/talk/app/webrtc
Alex Glaznev c4905fb72a Fix race condition in Android camera JNI code.
AndroidVideoCapturerJni dtor is called on signaling thread
and may destroy JNI global refs while processing late camera
frame arrival in ReturnBuffer_w() in worker thread.

Fix this by waiting for all function invoked on worker thread
to complete in camera JNI dtor.

R=wzh@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#9037}
2015-04-20 23:54:25 +00:00
..
androidtests Supporting formats of non-multiple of 16 widths on Android. 2015-04-17 15:31:45 +00:00
java Fix race condition in Android camera JNI code. 2015-04-20 23:54:25 +00:00
javatests Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
objc Remove frame copy in RTCOpenGLVideoRenderer. 2015-04-20 21:33:05 +00:00
objctests Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
test rtc::Buffer improvements 2015-04-20 12:03:00 +00:00
androidvideocapturer.cc Supporting formats of non-multiple of 16 widths on Android. 2015-04-17 15:31:45 +00:00
androidvideocapturer.h Zero copy AndroidVideeCapturer. 2015-04-02 10:31:00 +00:00
audiotrack.cc Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
audiotrack.h Roll chromium_revision e144d30..6fdb142 (318658:318841) + remove OVERRIDE macro 2015-03-04 13:04:54 +00:00
audiotrackrenderer.cc Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
audiotrackrenderer.h Roll chromium_revision e144d30..6fdb142 (318658:318841) + remove OVERRIDE macro 2015-03-04 13:04:54 +00:00
datachannel_unittest.cc rtc::Buffer: Rename length to size, for conformance with the STL 2015-03-24 09:20:19 +00:00
datachannel.cc rtc::Buffer: Rename length to size, for conformance with the STL 2015-03-24 09:20:19 +00:00
datachannel.h Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
datachannelinterface.h rtc::Buffer: Rename length to size, for conformance with the STL 2015-03-24 09:20:19 +00:00
dtlsidentityservice.cc Create a in-memory DTLS identity store that keeps a free identity generated in the background. 2015-03-04 22:18:18 +00:00
dtlsidentityservice.h Create a in-memory DTLS identity store that keeps a free identity generated in the background. 2015-03-04 22:18:18 +00:00
dtlsidentitystore_unittest.cc Fix an issue in DtlsIdentityStore when the store is destroyed before the worker thread task returns. 2015-03-13 21:26:44 +00:00
dtlsidentitystore.cc Fix the sigslot type of DtlsIdentityStore::WorkerTask. 2015-04-08 19:34:54 +00:00
dtlsidentitystore.h Fix the sigslot type of DtlsIdentityStore::WorkerTask. 2015-04-08 19:34:54 +00:00
dtmfsender_unittest.cc Roll chromium_revision e144d30..6fdb142 (318658:318841) + remove OVERRIDE macro 2015-03-04 13:04:54 +00:00
dtmfsender.cc Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
dtmfsender.h Roll chromium_revision e144d30..6fdb142 (318658:318841) + remove OVERRIDE macro 2015-03-04 13:04:54 +00:00
dtmfsenderinterface.h Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
fakeportallocatorfactory.h Makes libjingle_peerconnection_android_unittest run on networkless devices. 2015-02-12 09:24:25 +00:00
jsep.h Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
jsepicecandidate.cc Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
jsepicecandidate.h Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
jsepsessiondescription_unittest.cc Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
jsepsessiondescription.cc Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
jsepsessiondescription.h Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
localaudiosource_unittest.cc Add WebRTC Media Constraint to force using Delay Agnostic AEC on Android 2015-03-25 21:46:10 +00:00
localaudiosource.cc Add WebRTC Media Constraint to force using Delay Agnostic AEC on Android 2015-03-25 21:46:10 +00:00
localaudiosource.h Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
mediaconstraintsinterface.cc Add WebRTC Media Constraint to force using Delay Agnostic AEC on Android 2015-03-25 21:46:10 +00:00
mediaconstraintsinterface.h Add WebRTC Media Constraint to force using Delay Agnostic AEC on Android 2015-03-25 21:46:10 +00:00
mediastream_unittest.cc Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
mediastream.cc Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
mediastream.h Roll chromium_revision e144d30..6fdb142 (318658:318841) + remove OVERRIDE macro 2015-03-04 13:04:54 +00:00
mediastreamhandler_unittest.cc Add VideoSource::Stop and Restart methods. 2015-02-17 13:54:42 +00:00
mediastreamhandler.cc Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
mediastreamhandler.h Roll chromium_revision e144d30..6fdb142 (318658:318841) + remove OVERRIDE macro 2015-03-04 13:04:54 +00:00
mediastreaminterface.h Add concept of whether video renderer supports rotation. 2015-03-12 21:38:19 +00:00
mediastreamprovider.h Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
mediastreamproxy.h Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
mediastreamsignaling_unittest.cc Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
mediastreamsignaling.cc Fix uninitialized variable. If FindConstraint() returns false, we check |value| in two places and at that point, it can hold an uninitialized value. Caught by Linux Memcheck builder. 2015-03-05 08:42:13 +00:00
mediastreamsignaling.h Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
mediastreamtrack.h Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
mediastreamtrackproxy.h Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
notifier.h Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
OWNERS Add tkchin@ to OWNERS. 2014-07-01 18:38:28 +00:00
peerconnection_unittest.cc Create a in-memory DTLS identity store that keeps a free identity generated in the background. 2015-03-04 22:18:18 +00:00
peerconnection.cc Update bundle behavior to match BundlePolicy spec in http://rtcweb-wg.github.io/jsep/. 2015-03-24 16:30:02 +00:00
peerconnection.h Roll chromium_revision e144d30..6fdb142 (318658:318841) + remove OVERRIDE macro 2015-03-04 13:04:54 +00:00
peerconnectionendtoend_unittest.cc Limit disabling of PeerConnectionEndToEndTest.Call to Windows 2015-03-23 19:48:19 +00:00
peerconnectionfactory_unittest.cc Fix an issue in DtlsIdentityStore when the store is destroyed before the worker thread task returns. 2015-03-13 21:26:44 +00:00
peerconnectionfactory.cc Fix an issue in DtlsIdentityStore when the store is destroyed before the worker thread task returns. 2015-03-13 21:26:44 +00:00
peerconnectionfactory.h Create a in-memory DTLS identity store that keeps a free identity generated in the background. 2015-03-04 22:18:18 +00:00
peerconnectionfactoryproxy.h Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
peerconnectioninterface_unittest.cc Create a in-memory DTLS identity store that keeps a free identity generated in the background. 2015-03-04 22:18:18 +00:00
peerconnectioninterface.h Create a in-memory DTLS identity store that keeps a free identity generated in the background. 2015-03-04 22:18:18 +00:00
peerconnectionproxy.h Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
portallocatorfactory.cc Makes libjingle_peerconnection_android_unittest run on networkless devices. 2015-02-12 09:24:25 +00:00
portallocatorfactory.h Makes libjingle_peerconnection_android_unittest run on networkless devices. 2015-02-12 09:24:25 +00:00
proxy_unittest.cc Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
proxy.h Roll chromium_revision e144d30..6fdb142 (318658:318841) + remove OVERRIDE macro 2015-03-04 13:04:54 +00:00
remoteaudiosource.cc Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
remoteaudiosource.h Roll chromium_revision e144d30..6fdb142 (318658:318841) + remove OVERRIDE macro 2015-03-04 13:04:54 +00:00
remotevideocapturer_unittest.cc Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
remotevideocapturer.cc Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
remotevideocapturer.h Roll chromium_revision e144d30..6fdb142 (318658:318841) + remove OVERRIDE macro 2015-03-04 13:04:54 +00:00
sctputils_unittest.cc (Auto)update libjingle 73222930-> 73226398 2014-08-13 17:26:08 +00:00
sctputils.cc rtc::Buffer improvements 2015-04-20 12:03:00 +00:00
sctputils.h (Auto)update libjingle 72097588-> 72159069 2014-07-29 17:36:52 +00:00
statscollector_unittest.cc Move from BaseSession::GetStats to WebRtcSession::GetTransportStats 2015-03-16 19:32:23 +00:00
statscollector.cc Remove unused non-standard capture stats. 2015-03-27 09:01:11 +00:00
statscollector.h Use a variant for storing stats values in StatsCollector code. 2015-03-12 16:36:15 +00:00
statstypes.cc Remove unused non-standard capture stats. 2015-03-27 09:01:11 +00:00
statstypes.h Remove unused non-standard capture stats. 2015-03-27 09:01:11 +00:00
streamcollection.h Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
umametrics.h Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
videosource_unittest.cc Add VideoSource::Stop and Restart methods. 2015-02-17 13:54:42 +00:00
videosource.cc Roll chromium_revision e144d30..6fdb142 (318658:318841) + remove OVERRIDE macro 2015-03-04 13:04:54 +00:00
videosource.h Add VideoSource::Stop and Restart methods. 2015-02-17 13:54:42 +00:00
videosourceinterface.h Revert "Add default implementation to VideoSourceInterface." 2015-03-02 11:33:41 +00:00
videosourceproxy.h Add VideoSource::Stop and Restart methods. 2015-02-17 13:54:42 +00:00
videotrack_unittest.cc Add concept of whether video renderer supports rotation. 2015-03-12 21:38:19 +00:00
videotrack.cc Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
videotrack.h Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
videotrackrenderers.cc Add concept of whether video renderer supports rotation. 2015-03-12 21:38:19 +00:00
videotrackrenderers.h Add concept of whether video renderer supports rotation. 2015-03-12 21:38:19 +00:00
webrtcsdp_unittest.cc Swap decl-terms from juberti@ review. 2015-02-24 20:21:13 +00:00
webrtcsdp.cc Adding "usedtx" as Opus codec parameter. 2015-03-27 04:06:35 +00:00
webrtcsdp.h Update libjingle license statements at top of talk files for consistency 2015-01-20 21:36:13 +00:00
webrtcsession_unittest.cc Update bundle behavior to match BundlePolicy spec in http://rtcweb-wg.github.io/jsep/. 2015-03-24 16:30:02 +00:00
webrtcsession.cc Update bundle behavior to match BundlePolicy spec in http://rtcweb-wg.github.io/jsep/. 2015-03-24 16:30:02 +00:00
webrtcsession.h Remove a dependency of BaseChannel on WebRtcSession by having WebRtcSession push down new media descriptions to BaseChannel rather than having BaseChannel listen to the description changes from WebRtcSession. 2015-03-16 21:16:23 +00:00
webrtcsessiondescriptionfactory.cc Create a in-memory DTLS identity store that keeps a free identity generated in the background. 2015-03-04 22:18:18 +00:00
webrtcsessiondescriptionfactory.h Create a in-memory DTLS identity store that keeps a free identity generated in the background. 2015-03-04 22:18:18 +00:00