diff --git a/test/fuzzers/utils/BUILD.gn b/test/fuzzers/utils/BUILD.gn index af70cc7875..6249156058 100644 --- a/test/fuzzers/utils/BUILD.gn +++ b/test/fuzzers/utils/BUILD.gn @@ -36,6 +36,7 @@ rtc_library("rtp_replayer") { "../../../test:rtp_test_utils", "../../../test:run_test", "../../../test:run_test_interface", + "../../../test:test_common", "../../../test:test_renderer", "../../../test:test_support", "../../../test:video_test_common", diff --git a/test/fuzzers/utils/rtp_replayer.cc b/test/fuzzers/utils/rtp_replayer.cc index 94a54586ac..b7d51e3988 100644 --- a/test/fuzzers/utils/rtp_replayer.cc +++ b/test/fuzzers/utils/rtp_replayer.cc @@ -24,6 +24,7 @@ #include "test/fake_decoder.h" #include "test/rtp_file_reader.h" #include "test/rtp_header_parser.h" +#include "test/run_loop.h" namespace webrtc { namespace test { @@ -43,6 +44,7 @@ void RtpReplayer::Replay( std::vector receive_stream_configs, const uint8_t* rtp_dump_data, size_t rtp_dump_size) { + RunLoop loop; rtc::ScopedBaseFakeClock fake_clock; // Work around: webrtc calls webrtc::Random(clock.TimeInMicroseconds())