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

Issue 2495483002: Replace SequencedTaskChecker in RTPSenderVideo (Closed)

Created:
4 years, 1 month ago by kthelgason
Modified:
4 years, 1 month ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhuangzesen_agora.io, danilchap, stefan-webrtc, mflodman, brandtr
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Replace SequencedTaskChecker in RTPSenderVideo This is not the right place for a SequencedTaskChecker, as we can not make any guarantees about the thread this method runs on. We were hitting this check on Android and iOS whenever the encoder would be reconfigured. Access to these ivars should be guarded by a lock. As a bonus, an unused method declaration was removed. BUG=webrtc:6686 Committed: https://crrev.com/917a4eeb60dd177c781cd1c024b2d72be73078ee Cr-Commit-Position: refs/heads/master@{#15019}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Add todo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -8 lines) Patch
M webrtc/modules/rtp_rtcp/source/rtp_sender_video.h View 2 chunks +1 line, -4 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc View 1 3 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
kthelgason
4 years, 1 month ago (2016-11-10 09:39:28 UTC) #2
magjed_webrtc
https://codereview.webrtc.org/2495483002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc File webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc (right): https://codereview.webrtc.org/2495483002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc#newcode267 webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc:267: rtc::CritScope cs(&crit_); Can you easily merge this crit scope ...
4 years, 1 month ago (2016-11-10 10:04:03 UTC) #3
danilchap
https://codereview.webrtc.org/2495483002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc File webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc (right): https://codereview.webrtc.org/2495483002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc#newcode267 webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc:267: rtc::CritScope cs(&crit_); On 2016/11/10 10:04:03, magjed_webrtc wrote: > Can ...
4 years, 1 month ago (2016-11-10 10:14:53 UTC) #4
danilchap
https://codereview.webrtc.org/2495483002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc File webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc (right): https://codereview.webrtc.org/2495483002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc#newcode267 webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc:267: rtc::CritScope cs(&crit_); On 2016/11/10 10:14:53, danilchap wrote: > On ...
4 years, 1 month ago (2016-11-10 10:17:32 UTC) #5
kthelgason
https://codereview.webrtc.org/2495483002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc File webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc (right): https://codereview.webrtc.org/2495483002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc#newcode267 webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc:267: rtc::CritScope cs(&crit_); On 2016/11/10 10:17:32, danilchap wrote: > On ...
4 years, 1 month ago (2016-11-10 10:38:26 UTC) #6
danilchap
lgtm if you want to postpone reducing number of locks later https://codereview.webrtc.org/2495483002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc File webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc (right): ...
4 years, 1 month ago (2016-11-10 10:56:44 UTC) #7
danilchap
not lgtm https://codereview.webrtc.org/2495483002/diff/20001/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc File webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc (right): https://codereview.webrtc.org/2495483002/diff/20001/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc#newcode281 webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc:281: if (video_header) { no, it is not ...
4 years, 1 month ago (2016-11-10 12:37:34 UTC) #13
kthelgason
On 2016/11/10 12:37:34, danilchap wrote: > not lgtm > > https://codereview.webrtc.org/2495483002/diff/20001/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc > File webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc (right): ...
4 years, 1 month ago (2016-11-10 12:40:25 UTC) #17
danilchap
lgtm
4 years, 1 month ago (2016-11-10 12:46:12 UTC) #18
magjed_webrtc
lgtm
4 years, 1 month ago (2016-11-10 13:09:16 UTC) #19
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/2495483002/40001
4 years, 1 month ago (2016-11-10 13:09:55 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 1 month ago (2016-11-10 14:22:20 UTC) #23
commit-bot: I haz the power
4 years, 1 month ago (2016-11-10 14:22:27 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/917a4eeb60dd177c781cd1c024b2d72be73078ee
Cr-Commit-Position: refs/heads/master@{#15019}

Powered by Google App Engine
This is Rietveld 408576698