From d8bbc7858622b6d9c278469aab701ca0b609cddf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:35:49 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- third_party/libwebrtc/pc/peer_connection_interface_unittest.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'third_party/libwebrtc/pc/peer_connection_interface_unittest.cc') diff --git a/third_party/libwebrtc/pc/peer_connection_interface_unittest.cc b/third_party/libwebrtc/pc/peer_connection_interface_unittest.cc index 5ee9881b84..61794bb0f9 100644 --- a/third_party/libwebrtc/pc/peer_connection_interface_unittest.cc +++ b/third_party/libwebrtc/pc/peer_connection_interface_unittest.cc @@ -641,8 +641,7 @@ class PeerConnectionFactoryForTest : public PeerConnectionFactory { // level, and using a real one could make tests flaky when run in parallel. dependencies.adm = FakeAudioCaptureModule::Create(); EnableMediaWithDefaults(dependencies); - dependencies.event_log_factory = std::make_unique( - dependencies.task_queue_factory.get()); + dependencies.event_log_factory = std::make_unique(); return rtc::make_ref_counted( std::move(dependencies)); @@ -2815,7 +2814,7 @@ TEST_F(PeerConnectionInterfaceTestPlanB, // This tests that a default MediaStream is not created if a remote session // description is updated to not have any MediaStreams. // Don't run under Unified Plan since this behavior is Plan B specific. -TEST_F(PeerConnectionInterfaceTestPlanB, VerifyDefaultStreamIsNotCreated) { +TEST_F(PeerConnectionInterfaceTestPlanB, VerifyDefaultStreamIsNotRecreated) { RTCConfiguration config; CreatePeerConnection(config); CreateAndSetRemoteOffer(GetSdpStringWithStream1()); @@ -2823,7 +2822,7 @@ TEST_F(PeerConnectionInterfaceTestPlanB, VerifyDefaultStreamIsNotCreated) { EXPECT_TRUE( CompareStreamCollections(observer_.remote_streams(), reference.get())); - CreateAndSetRemoteOffer(kSdpStringWithoutStreams); + CreateAndSetRemoteOffer(kSdpStringWithMsidWithoutStreams); EXPECT_EQ(0u, observer_.remote_streams()->count()); } -- cgit v1.2.3