Temporarily remove SSRC DCHECK in RTPSender::SendToNetwork.

Removing the DCHECK due to (sometimes) failing voe_auto_test.
Long-term, this DCHECK should be readded. Before that can happen,
the SSRC in the RTPSender should be made immutable.

TESTED=No failures when running third_party/gtest-parallel/gtest-parallel --repeat=5000 --gtest_filter="VolumeTest.ManualInputMutingMutesMicrophone" out/Debug/voe_auto_test.
BUG=webrtc:6887

Review-Url: https://codereview.webrtc.org/2610873002
Cr-Commit-Position: refs/heads/master@{#15962}
This commit is contained in:
brandtr
2017-01-09 05:11:09 -08:00
committed by Commit bot
parent 29fe6f338f
commit 075c6d7f7e

View File

@ -882,7 +882,10 @@ bool RTPSender::SendToNetwork(std::unique_ptr<RtpPacketToSend> packet,
// To support retransmissions, we store the media packet as sent in the
// packet history (even if send failed).
if (storage == kAllowRetransmission) {
RTC_DCHECK_EQ(ssrc, SSRC());
// TODO(brandtr): Uncomment the DCHECK line below when |ssrc_| cannot
// change after the first packet has been sent. For more details, see
// https://bugs.chromium.org/p/webrtc/issues/detail?id=6887.
// RTC_DCHECK_EQ(ssrc, SSRC());
packet_history_.PutRtpPacket(std::move(packet), storage, true);
}