Revert "Accept incoming pings before remote answer is set to reduce connection latency."
This reverts r7980. It was causing the ICE connected state to happen while still in the new state rather than going through the checking state, which was causing an ASSERT to fire, which was causing a crash. Review URL: https://webrtc-codereview.appspot.com/41429004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@8031 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -354,8 +354,7 @@ class WebRtcSessionTest : public testing::Test {
|
||||
SocketAddress(), SocketAddress(), SocketAddress()));
|
||||
allocator_->set_flags(cricket::PORTALLOCATOR_DISABLE_TCP |
|
||||
cricket::PORTALLOCATOR_DISABLE_RELAY |
|
||||
cricket::PORTALLOCATOR_ENABLE_BUNDLE |
|
||||
cricket::PORTALLOCATOR_ENABLE_SHARED_UFRAG);
|
||||
cricket::PORTALLOCATOR_ENABLE_BUNDLE);
|
||||
EXPECT_TRUE(channel_manager_->Init());
|
||||
desc_factory_->set_add_legacy_streams(false);
|
||||
allocator_->set_step_delay(cricket::kMinimumStepDelay);
|
||||
@@ -1213,8 +1212,7 @@ class WebRtcSessionTest : public testing::Test {
|
||||
allocator_->AddRelay(relay_server);
|
||||
allocator_->set_step_delay(cricket::kMinimumStepDelay);
|
||||
allocator_->set_flags(cricket::PORTALLOCATOR_DISABLE_TCP |
|
||||
cricket::PORTALLOCATOR_ENABLE_BUNDLE |
|
||||
cricket::PORTALLOCATOR_ENABLE_SHARED_UFRAG);
|
||||
cricket::PORTALLOCATOR_ENABLE_BUNDLE);
|
||||
}
|
||||
|
||||
cricket::FakeMediaEngine* media_engine_;
|
||||
|
||||
Reference in New Issue
Block a user