Introduce SimulatedNetworkReceiverInterface.
Introduce SimulatedNetworkReceiverInterface and switch DirectTransport on this interface. Also switch part of related users on DefaultNetworkSimulationConfig. This two changes united into single CL to prevent work duplication. Most changes were done because of stop including fake_network_pipe.h into direct_transport.h, so splitting this into 2 CLs will require first fix all imports of fake_network_pipe.h and then replace them on new API imports again. Bug: webrtc:9630 Change-Id: I87d4a6ff1bab72d04a9871a40441f4fbe028f4e6 Reviewed-on: https://webrtc-review.googlesource.com/94762 Commit-Queue: Patrik Höglund <phoglund@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Reviewed-by: Sebastian Jansson <srte@webrtc.org> Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24336}
This commit is contained in:
@ -730,14 +730,14 @@ test::PacketTransport* BaseTest::CreateSendTransport(
|
||||
Call* sender_call) {
|
||||
return new PacketTransport(
|
||||
task_queue, sender_call, this, test::PacketTransport::kSender,
|
||||
CallTest::payload_type_map_, FakeNetworkPipe::Config());
|
||||
CallTest::payload_type_map_, DefaultNetworkSimulationConfig());
|
||||
}
|
||||
|
||||
test::PacketTransport* BaseTest::CreateReceiveTransport(
|
||||
SingleThreadedTaskQueueForTesting* task_queue) {
|
||||
return new PacketTransport(
|
||||
task_queue, nullptr, this, test::PacketTransport::kReceiver,
|
||||
CallTest::payload_type_map_, FakeNetworkPipe::Config());
|
||||
CallTest::payload_type_map_, DefaultNetworkSimulationConfig());
|
||||
}
|
||||
|
||||
size_t BaseTest::GetNumVideoStreams() const {
|
||||
|
||||
Reference in New Issue
Block a user