diff options
Diffstat (limited to 'api/test/create_time_controller.cc')
-rw-r--r-- | api/test/create_time_controller.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/api/test/create_time_controller.cc b/api/test/create_time_controller.cc index a2c0cb713f..f7faeaab42 100644 --- a/api/test/create_time_controller.cc +++ b/api/test/create_time_controller.cc @@ -13,6 +13,8 @@ #include <memory> #include "call/call.h" +#include "call/rtp_transport_config.h" +#include "call/rtp_transport_controller_send_factory_interface.h" #include "test/time_controller/external_time_controller.h" #include "test/time_controller/simulated_time_controller.h" @@ -40,8 +42,13 @@ std::unique_ptr<CallFactoryInterface> CreateTimeControllerBasedCallFactory( time_controller_->CreateProcessThread("CallModules"), [this]() { module_thread_ = nullptr; }); } + + RtpTransportConfig transportConfig = config.ExtractTransportConfig(); + return Call::Create(config, time_controller_->GetClock(), module_thread_, - time_controller_->CreateProcessThread("Pacer")); + config.rtp_transport_controller_send_factory->Create( + transportConfig, time_controller_->GetClock(), + time_controller_->CreateProcessThread("Pacer"))); } private: |