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

Issue 1696693002: Fix race on VCM protection callback. (Closed)

Created:
4 years, 10 months ago by pbos-webrtc
Modified:
4 years, 10 months ago
Reviewers:
stefan-webrtc
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, andresp, the sun, perkj_webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix race on VCM protection callback. Removes protection-callback removal and makes ViEChannel outlive ViEEncoder to not have races between BitrateAllocator and VideoSendStream destruction. BUG= R=stefan@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/579e832a51e690f7064bb971ca0f22560e179dad

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -15 lines) Patch
M webrtc/video/video_send_stream.h View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 3 chunks +9 lines, -13 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
pbos-webrtc
PTAL, I think some of my refactoring caused this race. vcm_->RegisterProtectionCallback is not thread-safe and ...
4 years, 10 months ago (2016-02-12 13:09:22 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1696693002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1696693002/1
4 years, 10 months ago (2016-02-12 13:56:42 UTC) #3
stefan-webrtc
lgtm
4 years, 10 months ago (2016-02-12 15:29:38 UTC) #4
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/579e832a51e690f7064bb971ca0f22560e179dad Cr-Commit-Position: refs/heads/master@{#11604}
4 years, 10 months ago (2016-02-12 15:30:15 UTC) #6
pbos-webrtc
4 years, 10 months ago (2016-02-12 15:30:17 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
579e832a51e690f7064bb971ca0f22560e179dad (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698