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

Issue 1715703002: Fix sequence-number replay race for padding. (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), zhuangzesen_agora.io, 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 sequence-number replay race for padding. Prevents allocating sequence numbers for packets that go out on the network even though sending media is disabled. This race caused a replay of sequence numbers when GetRtpState() on a stopped stream would not return the last sequence number sent, since the pacer thread could request and send padding on a later sequence number before the modules are disconnected from the pacer. BUG=webrtc:5543 R=stefan@webrtc.org TEST=Repeating EndToEndTest.RestartingSendStreamPreservesRtpState 1000 times under TSan. Committed: https://crrev.com/fc968a283c91cd4395b0ee8f232d29d566cc1316 Cr-Commit-Position: refs/heads/master@{#11685}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -6 lines) Patch
M webrtc/modules/rtp_rtcp/source/rtp_sender.cc View 3 chunks +4 lines, -5 lines 1 comment Download
M webrtc/video/end_to_end_tests.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (2 generated)
pbos-webrtc
PTAL https://codereview.webrtc.org/1715703002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (left): https://codereview.webrtc.org/1715703002/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender.cc#oldcode1014 webrtc/modules/rtp_rtcp/source/rtp_sender.cc:1014: { This check is now done in TrySendRedundantPayloads ...
4 years, 10 months ago (2016-02-19 15:11:30 UTC) #1
stefan-webrtc
lgtm
4 years, 10 months ago (2016-02-19 15:12:55 UTC) #2
pbos-webrtc
Committed patchset #1 (id:1) manually as fc968a283c91cd4395b0ee8f232d29d566cc1316 (presubmit successful).
4 years, 10 months ago (2016-02-19 15:14:51 UTC) #4
commit-bot: I haz the power
4 years, 10 months ago (2016-02-19 15:14:53 UTC) #6
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/fc968a283c91cd4395b0ee8f232d29d566cc1316
Cr-Commit-Position: refs/heads/master@{#11685}

Powered by Google App Engine
This is Rietveld 408576698