Correct the calculation of discard rate.
Bug: webrtc:7903 Change-Id: Ib5d6fd882a994dd542b616e5fe1c75710346dd31 Reviewed-on: https://chromium-review.googlesource.com/575057 Commit-Queue: Minyue Li <minyue@webrtc.org> Reviewed-by: Oskar Sundbom <ossu@webrtc.org> Cr-Commit-Position: refs/heads/master@{#19101}
This commit is contained in:
committed by
Commit Bot
parent
5ed09048f8
commit
12d30840d8
@ -350,7 +350,7 @@ TEST_F(NetEqImplTest, InsertPacket) {
|
||||
.WillOnce(Return(false)); // Called once after first packet is inserted.
|
||||
EXPECT_CALL(*mock_packet_buffer_, Flush())
|
||||
.Times(1);
|
||||
EXPECT_CALL(*mock_packet_buffer_, InsertPacketList(_, _, _, _))
|
||||
EXPECT_CALL(*mock_packet_buffer_, InsertPacketList(_, _, _, _, _))
|
||||
.Times(2)
|
||||
.WillRepeatedly(
|
||||
DoAll(SetArgPointee<2>(rtc::Optional<uint8_t>(kPayloadType)),
|
||||
|
||||
Reference in New Issue
Block a user