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

Issue 2720603002: Remove |running_| state from NackModule to avoid running a tight loop. (Closed)

Created:
3 years, 9 months ago by tommi
Modified:
3 years, 9 months ago
Reviewers:
philipel
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

Remove |running_| state from NackModule to avoid running a tight loop. Also reducing locking in NackModule (and by extension RtpStreamReceiver) BUG=webrtc:7246 Review-Url: https://codereview.webrtc.org/2720603002 Cr-Commit-Position: refs/heads/master@{#16856} Committed: https://chromium.googlesource.com/external/webrtc/+/f284b7ff5f265016203f9c4c3f21b22cedd7593e

Patch Set 1 #

Total comments: 2

Patch Set 2 : earlier check in FrameContinuous #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -28 lines) Patch
M webrtc/modules/video_coding/nack_module.h View 2 chunks +6 lines, -3 lines 0 comments Download
M webrtc/modules/video_coding/nack_module.cc View 4 chunks +10 lines, -16 lines 0 comments Download
M webrtc/video/rtp_stream_receiver.cc View 1 5 chunks +16 lines, -9 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
tommi
3 years, 9 months ago (2017-02-26 21:06:05 UTC) #4
philipel
Hmmm... The reason we use a unique_ptr<NackModule> was due to it being part of the ...
3 years, 9 months ago (2017-02-27 09:12:45 UTC) #7
philipel
lgtm after some offline discussion, one comment though. https://codereview.webrtc.org/2720603002/diff/1/webrtc/video/rtp_stream_receiver.cc File webrtc/video/rtp_stream_receiver.cc (right): https://codereview.webrtc.org/2720603002/diff/1/webrtc/video/rtp_stream_receiver.cc#newcode540 webrtc/video/rtp_stream_receiver.cc:540: void ...
3 years, 9 months ago (2017-02-27 09:31:22 UTC) #8
tommi
earlier check in FrameContinuous
3 years, 9 months ago (2017-02-27 09:35:08 UTC) #9
tommi
https://codereview.webrtc.org/2720603002/diff/1/webrtc/video/rtp_stream_receiver.cc File webrtc/video/rtp_stream_receiver.cc (right): https://codereview.webrtc.org/2720603002/diff/1/webrtc/video/rtp_stream_receiver.cc#newcode540 webrtc/video/rtp_stream_receiver.cc:540: void RtpStreamReceiver::FrameContinuous(uint16_t picture_id) { On 2017/02/27 09:31:22, philipel wrote: ...
3 years, 9 months ago (2017-02-27 09:35:17 UTC) #10
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/2720603002/20001
3 years, 9 months ago (2017-02-27 09:35:38 UTC) #13
commit-bot: I haz the power
3 years, 9 months ago (2017-02-27 09:59:39 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/webrtc/+/f284b7ff5f265016203f9c4c3...

Powered by Google App Engine
This is Rietveld 408576698