Revert of Verify sender ssrc when receiving rtcp target bitrate (patchset #3 id:40001 of https://codereview.webrtc.org/3000373002/ )
Reason for revert:
Might be the root cause of an internal test failure.
Original issue's description:
> Verify sender ssrc when receiving rtcp target bitrate
>
> BUG=webrtc:8137
>
> Review-Url: https://codereview.webrtc.org/3000373002
> Cr-Commit-Position: refs/heads/master@{#19524}
> Committed: a7a4beb419
TBR=danilchap@webrtc.org,sprang@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:8137
Review-Url: https://codereview.webrtc.org/3005633002
Cr-Commit-Position: refs/heads/master@{#19529}
This commit is contained in:
@ -1225,15 +1225,6 @@ TEST_F(RtcpReceiverTest, ReceivesTargetBitrate) {
|
||||
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 @@ TEST_F(RtcpReceiverTest, HandlesIncorrectTargetBitrate) {
|
||||
|
||||
rtcp::ExtendedReports xr;
|
||||
xr.SetTargetBitrate(bitrate);
|
||||
xr.SetSenderSsrc(kSenderSsrc);
|
||||
|
||||
EXPECT_CALL(bitrate_allocation_observer_,
|
||||
OnBitrateAllocationUpdated(expected_allocation));
|
||||
|
||||
Reference in New Issue
Block a user