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

Issue 2987933003: Eliminate RtpVideoStreamReceiver::receive_cs_ in favor of using a SequencedTaskChecker (Closed)

Created:
3 years, 4 months ago by eladalon
Modified:
3 years, 4 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Eliminate RtpVideoStreamReceiver::receive_cs_ in favor of using a SequencedTaskChecker RtpVideoStreamReceiver::receive_cs_ is not really necessary, since all of the functions where that lock is acquired, are arrived at from functions of BaseChannel which DCHECK being called from BaseChannel::worker_thread_. BUG=webrtc:8037 Review-Url: https://codereview.webrtc.org/2987933003 Cr-Commit-Position: refs/heads/master@{#19508} Committed: https://chromium.googlesource.com/external/webrtc/+/8b07305b048fb91840ae7f9a58c6df7115540015

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase and change to a sequence-checker #

Patch Set 3 : Rebased. #

Patch Set 4 : Rebased #

Patch Set 5 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -50 lines) Patch
M webrtc/video/rtp_video_stream_receiver.h View 1 2 3 3 chunks +8 lines, -10 lines 0 comments Download
M webrtc/video/rtp_video_stream_receiver.cc View 1 7 chunks +33 lines, -40 lines 0 comments Download

Messages

Total messages: 28 (13 generated)
eladalon
Fredrick, do you think it's worth the effort to dig into the failing tests and ...
3 years, 4 months ago (2017-07-26 18:43:17 UTC) #3
the sun
On 2017/07/26 18:43:17, eladalon wrote: > Fredrick, do you think it's worth the effort to ...
3 years, 4 months ago (2017-07-27 07:58:18 UTC) #4
eladalon
On 2017/07/27 07:58:18, the sun wrote: > On 2017/07/26 18:43:17, eladalon wrote: > > Fredrick, ...
3 years, 4 months ago (2017-07-27 09:13:29 UTC) #5
danilchap
for thread-related changes linux_tsan2 is a good tester. https://codereview.webrtc.org/2987933003/diff/1/webrtc/video/rtp_video_stream_receiver.cc File webrtc/video/rtp_video_stream_receiver.cc (right): https://codereview.webrtc.org/2987933003/diff/1/webrtc/video/rtp_video_stream_receiver.cc#newcode115 webrtc/video/rtp_video_stream_receiver.cc:115: has_received_frame_(false) ...
3 years, 4 months ago (2017-07-27 10:25:00 UTC) #6
eladalon
https://codereview.webrtc.org/2987933003/diff/1/webrtc/video/rtp_video_stream_receiver.cc File webrtc/video/rtp_video_stream_receiver.cc (right): https://codereview.webrtc.org/2987933003/diff/1/webrtc/video/rtp_video_stream_receiver.cc#newcode115 webrtc/video/rtp_video_stream_receiver.cc:115: has_received_frame_(false) { On 2017/07/27 10:24:59, danilchap wrote: > does ...
3 years, 4 months ago (2017-07-27 10:41:46 UTC) #7
eladalon
I've rebased this on top of a CL that resolves the issues that were failing ...
3 years, 4 months ago (2017-08-18 14:34:02 UTC) #11
danilchap
lgtm
3 years, 4 months ago (2017-08-23 10:56:09 UTC) #12
eladalon
Ping @stefan.
3 years, 4 months ago (2017-08-23 10:58:25 UTC) #13
stefan-webrtc
Nice! lgtm
3 years, 4 months ago (2017-08-24 14:52:41 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2987933003/60001
3 years, 4 months ago (2017-08-24 14:55:24 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: ios_api_framework on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios_api_framework/builds/10714)
3 years, 4 months ago (2017-08-24 15:01:34 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2987933003/100001
3 years, 4 months ago (2017-08-24 15:10:24 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: ios_api_framework on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios_api_framework/builds/10718)
3 years, 4 months ago (2017-08-24 15:23:54 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2987933003/100001
3 years, 4 months ago (2017-08-25 07:43:57 UTC) #25
commit-bot: I haz the power
3 years, 4 months ago (2017-08-25 07:49:17 UTC) #28
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://chromium.googlesource.com/external/webrtc/+/8b07305b048fb91840ae7f9a5...

Powered by Google App Engine
This is Rietveld 408576698