Allows injection of network controller factory into peer connection factory.
Bug: webrtc:9155 Change-Id: I0a17024042f154297aba20f5d2dc766feb27f3f7 Reviewed-on: https://webrtc-review.googlesource.com/73123 Commit-Queue: Sebastian Jansson <srte@webrtc.org> Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org> Reviewed-by: Stefan Holmer <stefan@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23313}
This commit is contained in:

committed by
Commit Bot

parent
78b0a60223
commit
dfce03af6e
@ -178,7 +178,8 @@ void CallTest::CreateCalls(const Call::Config& sender_config,
|
||||
void CallTest::CreateSenderCall(const Call::Config& config) {
|
||||
std::unique_ptr<RtpTransportControllerSend> controller_send =
|
||||
rtc::MakeUnique<RtpTransportControllerSend>(
|
||||
Clock::GetRealTimeClock(), config.event_log, config.bitrate_config);
|
||||
Clock::GetRealTimeClock(), config.event_log,
|
||||
config.network_controller_factory, config.bitrate_config);
|
||||
sender_call_transport_controller_ = controller_send.get();
|
||||
sender_call_.reset(Call::Create(config, std::move(controller_send)));
|
||||
}
|
||||
|
Reference in New Issue
Block a user