Revert of Revert "Revert of Update the BWE when the network route changes. (patchset #5 id:180001 of https://… (patchset #5 id:120001 of https://codereview.webrtc.org/2041593002/ )
Reason for revert: ReadyToSendMedia did not consider the new presumed_writable state. Original issue's description: > Revert "Revert of Update the BWE when the network route changes. (patchset #5 id:180001 of https://codereview.webrtc.org/2000063003/ )" > > This reverts commit 72d41aa6da94dacb8a8464d1abd4ca7d1afffc65. > > New change made: > Do not reset the BWE when the new network route is not ready to send media. > > BUG= > R=pthatcher@webrtc.org, stefan@webrtc.org > > Committed: https://crrev.com/5b5d2cdad7018993272525a723ef34f7da5c45f2 > Cr-Commit-Position: refs/heads/master@{#13280} TBR=pthatcher@webrtc.org,stefan@webrtc.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG= Review-Url: https://codereview.webrtc.org/2098703004 Cr-Commit-Position: refs/heads/master@{#13281}
This commit is contained in:
@ -937,7 +937,7 @@ class ChannelTest : public testing::Test, public sigslot::has_slots<> {
|
||||
});
|
||||
WaitForThreads();
|
||||
EXPECT_EQ(1, media_channel1->num_network_route_changes());
|
||||
rtc::NetworkRoute expected_network_route(true, kLocalNetId, kRemoteNetId,
|
||||
rtc::NetworkRoute expected_network_route(kLocalNetId, kRemoteNetId,
|
||||
kLastPacketId);
|
||||
EXPECT_EQ(expected_network_route, media_channel1->last_network_route());
|
||||
EXPECT_EQ(kLastPacketId,
|
||||
|
||||
Reference in New Issue
Block a user