DescriptionFix 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
Messages
Total messages: 6 (2 generated)
|