Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Issue 310013002: Fix the race when the WebRtcAudioDeviceImpl goes away before capturers stop (Closed)

Created:
6 years, 6 months ago by no longer working on chromium
Modified:
6 years, 6 months ago
CC:
chromium-reviews, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Visibility:
Public.

Description

Fix the race when the WebRtcAudioDeviceImpl goes away before capturers stop. This is needed with some recent refactoring to separate media stream from peerconnection. And it will crash if the peerconnection goes away before media stream is stopped. NOTRY=true BUG=379856 TEST=cluster-fuzz bot, and local build with ASAN. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276600

Patch Set 1 : #

Patch Set 2 : fixed the indentation. #

Total comments: 4

Patch Set 3 : addressed the comments. #

Patch Set 4 : fixed the bots #

Patch Set 5 : fixed unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -45 lines) Patch
M content/renderer/media/webrtc/peer_connection_dependency_factory.cc View 1 2 3 4 1 chunk +5 lines, -3 lines 0 comments Download
M content/renderer/media/webrtc/webrtc_local_audio_track_adapter.cc View 1 2 3 1 chunk +10 lines, -1 line 0 comments Download
M content/renderer/media/webrtc_audio_device_impl.cc View 1 2 3 4 1 chunk +10 lines, -1 line 0 comments Download
M content/renderer/media/webrtc_local_audio_track_unittest.cc View 1 2 3 4 10 chunks +8 lines, -40 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
no longer working on chromium
Henrik, please review. Thanks, SX
6 years, 6 months ago (2014-06-03 10:58:07 UTC) #1
henrika (OOO until Aug 14)
LGTM https://codereview.chromium.org/310013002/diff/40001/content/renderer/media/webrtc/peer_connection_dependency_factory.cc File content/renderer/media/webrtc/peer_connection_dependency_factory.cc (right): https://codereview.chromium.org/310013002/diff/40001/content/renderer/media/webrtc/peer_connection_dependency_factory.cc#newcode450 content/renderer/media/webrtc/peer_connection_dependency_factory.cc:450: // TODO(xians): Remove the following line of code ...
6 years, 6 months ago (2014-06-03 11:00:15 UTC) #2
no longer working on chromium
landing soon. Thanks. https://codereview.chromium.org/310013002/diff/40001/content/renderer/media/webrtc/peer_connection_dependency_factory.cc File content/renderer/media/webrtc/peer_connection_dependency_factory.cc (right): https://codereview.chromium.org/310013002/diff/40001/content/renderer/media/webrtc/peer_connection_dependency_factory.cc#newcode450 content/renderer/media/webrtc/peer_connection_dependency_factory.cc:450: // TODO(xians): Remove the following line ...
6 years, 6 months ago (2014-06-03 11:31:14 UTC) #3
no longer working on chromium
The CQ bit was checked by xians@chromium.org
6 years, 6 months ago (2014-06-03 11:31:17 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/310013002/60001
6 years, 6 months ago (2014-06-03 11:31:56 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-06-03 13:31:18 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-03 14:23:25 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel/builds/37774)
6 years, 6 months ago (2014-06-03 14:23:26 UTC) #8
no longer working on chromium
The CQ bit was checked by xians@chromium.org
6 years, 6 months ago (2014-06-04 12:24:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/310013002/80001
6 years, 6 months ago (2014-06-04 12:27:10 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-06-04 15:54:58 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-04 17:06:45 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel/builds/38285)
6 years, 6 months ago (2014-06-04 17:06:45 UTC) #13
no longer working on chromium
The CQ bit was checked by xians@chromium.org
6 years, 6 months ago (2014-06-11 18:07:04 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/310013002/100001
6 years, 6 months ago (2014-06-11 18:10:02 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-11 20:38:52 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-11 20:43:55 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/37949)
6 years, 6 months ago (2014-06-11 20:43:56 UTC) #18
no longer working on chromium
The CQ bit was checked by xians@chromium.org
6 years, 6 months ago (2014-06-12 07:17:41 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/310013002/100001
6 years, 6 months ago (2014-06-12 07:22:01 UTC) #20
no longer working on chromium
The CQ bit was unchecked by xians@chromium.org
6 years, 6 months ago (2014-06-12 09:09:25 UTC) #21
no longer working on chromium
The CQ bit was checked by xians@chromium.org
6 years, 6 months ago (2014-06-12 09:09:39 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/310013002/100001
6 years, 6 months ago (2014-06-12 09:13:12 UTC) #23
commit-bot: I haz the power
6 years, 6 months ago (2014-06-12 09:28:31 UTC) #24
Message was sent while issue was closed.
Change committed as 276600

Powered by Google App Engine
This is Rietveld 408576698