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

Issue 221863003: Notify the track before source provider goes away. (Closed)

Created:
6 years, 8 months ago by no longer working on chromium
Modified:
6 years, 8 months ago
Reviewers:
perkj_chrome
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
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Notify the track before source provider goes away. And also I am forced to do some clean up on the existing code to avoid adding the source provider inside the WebRtcLocalAudioTrack. NOTRY=true BUG=358960 TEST=content_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261401

Patch Set 1 #

Total comments: 8

Patch Set 2 : fixed the comments. #

Total comments: 2

Messages

Total messages: 12 (0 generated)
no longer working on chromium
Per, could you please review this CL? This patch fixes a crash where the source ...
6 years, 8 months ago (2014-04-02 14:08:21 UTC) #1
perkj_chrome
nice cleanup. I am just wondering why the track clean up the sinks? Should the ...
6 years, 8 months ago (2014-04-03 07:45:43 UTC) #2
no longer working on chromium
Per, PTAL. Thanks, SX https://codereview.chromium.org/221863003/diff/1/content/renderer/media/webrtc_local_audio_source_provider.cc File content/renderer/media/webrtc_local_audio_source_provider.cc (right): https://codereview.chromium.org/221863003/diff/1/content/renderer/media/webrtc_local_audio_source_provider.cc#newcode85 content/renderer/media/webrtc_local_audio_source_provider.cc:85: track_stopped_ = true; On 2014/04/03 ...
6 years, 8 months ago (2014-04-03 09:18:56 UTC) #3
perkj_chrome
lgtm https://codereview.chromium.org/221863003/diff/1/content/renderer/media/webrtc_local_audio_source_provider_unittest.cc File content/renderer/media/webrtc_local_audio_source_provider_unittest.cc (right): https://codereview.chromium.org/221863003/diff/1/content/renderer/media/webrtc_local_audio_source_provider_unittest.cc#newcode121 content/renderer/media/webrtc_local_audio_source_provider_unittest.cc:121: WebRtcLocalAudioTrack* native_track = static_cast<WebRtcLocalAudioTrack*>( On 2014/04/03 09:18:57, xians1 ...
6 years, 8 months ago (2014-04-03 09:42:05 UTC) #4
no longer working on chromium
thanks. https://codereview.chromium.org/221863003/diff/1/content/renderer/media/webrtc_local_audio_source_provider_unittest.cc File content/renderer/media/webrtc_local_audio_source_provider_unittest.cc (right): https://codereview.chromium.org/221863003/diff/1/content/renderer/media/webrtc_local_audio_source_provider_unittest.cc#newcode121 content/renderer/media/webrtc_local_audio_source_provider_unittest.cc:121: WebRtcLocalAudioTrack* native_track = static_cast<WebRtcLocalAudioTrack*>( On 2014/04/03 09:42:06, perkj ...
6 years, 8 months ago (2014-04-03 09:48:19 UTC) #5
no longer working on chromium
The CQ bit was checked by xians@chromium.org
6 years, 8 months ago (2014-04-03 09:48:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/221863003/10001
6 years, 8 months ago (2014-04-03 09:48:46 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 14:59:13 UTC) #8
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 8 months ago (2014-04-03 14:59:13 UTC) #9
no longer working on chromium
The CQ bit was checked by xians@chromium.org
6 years, 8 months ago (2014-04-03 15:04:57 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/221863003/10001
6 years, 8 months ago (2014-04-03 15:05:38 UTC) #11
commit-bot: I haz the power
6 years, 8 months ago (2014-04-03 15:08:21 UTC) #12
Message was sent while issue was closed.
Change committed as 261401

Powered by Google App Engine
This is Rietveld 408576698