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

Unified Diff: webrtc/modules/rtp_rtcp/source/rtcp_receiver_unittest.cc

Issue 3005633002: Revert of Verify sender ssrc when receiving rtcp target bitrate (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/rtp_rtcp/source/rtcp_receiver_unittest.cc
diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_receiver_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtcp_receiver_unittest.cc
index d42a74e6a10d41ddd9b6cb418e7c531c521d8488..3ad333c6b9575270141d65c9813777228ec4aba3 100644
--- a/webrtc/modules/rtp_rtcp/source/rtcp_receiver_unittest.cc
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_receiver_unittest.cc
@@ -1225,15 +1225,6 @@
rtcp::ExtendedReports xr;
xr.SetTargetBitrate(bitrate);
- // Wrong sender ssrc, target bitrate should be discarded.
- xr.SetSenderSsrc(kSenderSsrc + 1);
- EXPECT_CALL(bitrate_allocation_observer_,
- OnBitrateAllocationUpdated(expected_allocation))
- .Times(0);
- InjectRtcpPacket(xr);
-
- // Set correct ssrc, callback should be called once.
- xr.SetSenderSsrc(kSenderSsrc);
EXPECT_CALL(bitrate_allocation_observer_,
OnBitrateAllocationUpdated(expected_allocation));
InjectRtcpPacket(xr);
@@ -1250,7 +1241,6 @@
rtcp::ExtendedReports xr;
xr.SetTargetBitrate(bitrate);
- xr.SetSenderSsrc(kSenderSsrc);
EXPECT_CALL(bitrate_allocation_observer_,
OnBitrateAllocationUpdated(expected_allocation));
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698