Delete unused method ModuleRtpRtcpImpl::SendCompoundRTCP
The corresponding method on RTCPSender is unchanged. Bug: None Change-Id: I5a36e5e9f1afe97084928bb2257b81014da04e18 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/138071 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28033}
This commit is contained in:
@ -386,27 +386,6 @@ TEST_F(RtpRtcpImplTest, RtcpPacketTypeCounter_Nack) {
|
||||
EXPECT_GT(sender_.RtcpReceived().first_packet_time_ms, -1);
|
||||
}
|
||||
|
||||
TEST_F(RtpRtcpImplTest, RtcpPacketTypeCounter_FirAndPli) {
|
||||
EXPECT_EQ(0U, sender_.RtcpReceived().fir_packets);
|
||||
EXPECT_EQ(0U, receiver_.RtcpSent().fir_packets);
|
||||
// Receive module sends a FIR.
|
||||
EXPECT_EQ(0, receiver_.impl_->SendRTCP(kRtcpFir));
|
||||
EXPECT_EQ(1U, receiver_.RtcpSent().fir_packets);
|
||||
// Send module receives the FIR.
|
||||
EXPECT_EQ(1U, sender_.RtcpReceived().fir_packets);
|
||||
|
||||
// Receive module sends a FIR and PLI.
|
||||
std::set<RTCPPacketType> packet_types;
|
||||
packet_types.insert(kRtcpFir);
|
||||
packet_types.insert(kRtcpPli);
|
||||
EXPECT_EQ(0, receiver_.impl_->SendCompoundRTCP(packet_types));
|
||||
EXPECT_EQ(2U, receiver_.RtcpSent().fir_packets);
|
||||
EXPECT_EQ(1U, receiver_.RtcpSent().pli_packets);
|
||||
// Send module receives the FIR and PLI.
|
||||
EXPECT_EQ(2U, sender_.RtcpReceived().fir_packets);
|
||||
EXPECT_EQ(1U, sender_.RtcpReceived().pli_packets);
|
||||
}
|
||||
|
||||
TEST_F(RtpRtcpImplTest, AddStreamDataCounters) {
|
||||
StreamDataCounters rtp;
|
||||
const int64_t kStartTimeMs = 1;
|
||||
|
||||
Reference in New Issue
Block a user