diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /third_party/libwebrtc/pc/peer_connection_data_channel_unittest.cc | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/libwebrtc/pc/peer_connection_data_channel_unittest.cc')
-rw-r--r-- | third_party/libwebrtc/pc/peer_connection_data_channel_unittest.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/third_party/libwebrtc/pc/peer_connection_data_channel_unittest.cc b/third_party/libwebrtc/pc/peer_connection_data_channel_unittest.cc index 3bb2088866..8682cfa9fb 100644 --- a/third_party/libwebrtc/pc/peer_connection_data_channel_unittest.cc +++ b/third_party/libwebrtc/pc/peer_connection_data_channel_unittest.cc @@ -15,7 +15,6 @@ #include <vector> #include "absl/types/optional.h" -#include "api/call/call_factory_interface.h" #include "api/jsep.h" #include "api/media_types.h" #include "api/peer_connection_interface.h" @@ -24,8 +23,6 @@ #include "api/task_queue/default_task_queue_factory.h" #include "api/task_queue/task_queue_factory.h" #include "api/transport/sctp_transport_factory_interface.h" -#include "media/base/fake_media_engine.h" -#include "media/base/media_engine.h" #include "p2p/base/p2p_constants.h" #include "p2p/base/port_allocator.h" #include "pc/media_session.h" @@ -35,6 +32,7 @@ #include "pc/sctp_transport.h" #include "pc/sdp_utils.h" #include "pc/session_description.h" +#include "pc/test/enable_fake_media.h" #include "pc/test/mock_peer_connection_observers.h" #include "rtc_base/checks.h" #include "rtc_base/logging.h" @@ -64,8 +62,7 @@ PeerConnectionFactoryDependencies CreatePeerConnectionFactoryDependencies() { deps.worker_thread = rtc::Thread::Current(); deps.signaling_thread = rtc::Thread::Current(); deps.task_queue_factory = CreateDefaultTaskQueueFactory(); - deps.media_engine = std::make_unique<cricket::FakeMediaEngine>(); - deps.call_factory = CreateCallFactory(); + EnableFakeMedia(deps); deps.sctp_factory = std::make_unique<FakeSctpTransportFactory>(); return deps; } |