Mark DirectTransport subclasses ctors as deprecated and switch from them

Bug: webrtc:9630
Change-Id: I6e7bf898fd95ef76758458e759d9f9aa381f89e1
Reviewed-on: https://webrtc-review.googlesource.com/94843
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24345}
diff --git a/call/rampup_tests.cc b/call/rampup_tests.cc
index fcf32ad..21caf17 100644
--- a/call/rampup_tests.cc
+++ b/call/rampup_tests.cc
@@ -10,6 +10,8 @@
 
 #include "call/rampup_tests.h"
 
+#include "call/fake_network_pipe.h"
+#include "call/simulated_network.h"
 #include "rtc_base/checks.h"
 #include "rtc_base/logging.h"
 #include "rtc_base/platform_thread.h"
@@ -95,7 +97,10 @@
     Call* sender_call) {
   send_transport_ = new test::PacketTransport(
       task_queue, sender_call, this, test::PacketTransport::kSender,
-      test::CallTest::payload_type_map_, forward_transport_config_);
+      test::CallTest::payload_type_map_,
+      absl::make_unique<FakeNetworkPipe>(
+          Clock::GetRealTimeClock(),
+          absl::make_unique<SimulatedNetwork>(forward_transport_config_)));
   return send_transport_;
 }