diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:35:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:35:49 +0000 |
commit | d8bbc7858622b6d9c278469aab701ca0b609cddf (patch) | |
tree | eff41dc61d9f714852212739e6b3738b82a2af87 /third_party/libwebrtc/rtc_tools/network_tester/test_controller.h | |
parent | Releasing progress-linux version 125.0.3-1~progress7.99u1. (diff) | |
download | firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip |
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | third_party/libwebrtc/rtc_tools/network_tester/test_controller.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/third_party/libwebrtc/rtc_tools/network_tester/test_controller.h b/third_party/libwebrtc/rtc_tools/network_tester/test_controller.h index 3638c75af1..423eb08d0c 100644 --- a/third_party/libwebrtc/rtc_tools/network_tester/test_controller.h +++ b/third_party/libwebrtc/rtc_tools/network_tester/test_controller.h @@ -22,11 +22,11 @@ #include "api/sequence_checker.h" #include "p2p/base/basic_packet_socket_factory.h" #include "rtc_base/async_packet_socket.h" +#include "rtc_base/network/received_packet.h" #include "rtc_base/socket_address.h" #include "rtc_base/socket_server.h" #include "rtc_base/synchronization/mutex.h" #include "rtc_base/system/no_unique_address.h" -#include "rtc_base/third_party/sigslot/sigslot.h" #include "rtc_base/thread.h" #include "rtc_base/thread_annotations.h" #include "rtc_tools/network_tester/packet_logger.h" @@ -43,13 +43,13 @@ namespace webrtc { constexpr size_t kEthernetMtu = 1500; -class TestController : public sigslot::has_slots<> { +class TestController { public: TestController(int min_port, int max_port, const std::string& config_file_path, const std::string& log_file_path); - ~TestController() override; + ~TestController(); TestController(const TestController&) = delete; TestController& operator=(const TestController&) = delete; @@ -65,10 +65,7 @@ class TestController : public sigslot::has_slots<> { private: void OnReadPacket(rtc::AsyncPacketSocket* socket, - const char* data, - size_t len, - const rtc::SocketAddress& remote_addr, - const int64_t& packet_time_us); + const rtc::ReceivedPacket& received_packet); RTC_NO_UNIQUE_ADDRESS SequenceChecker test_controller_thread_checker_; std::unique_ptr<rtc::SocketServer> socket_server_; std::unique_ptr<rtc::Thread> packet_sender_thread_; |