Enable using a custom NetEqFactory in simulations

Bug: webrtc:11005
Change-Id: I8a15f77953cbd3c29a75c7cfc77f926b138994b9
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/165580
Commit-Queue: Ivo Creusen <ivoc@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30286}
This commit is contained in:
Ivo Creusen
2020-01-16 17:17:09 +01:00
committed by Commit Bot
parent 658f1814da
commit 2a11b2451a
13 changed files with 44 additions and 19 deletions

View File

@ -138,7 +138,8 @@ void FuzzOneInputTest(const uint8_t* data, size_t size) {
RTC_CHECK(it != codecs.end());
RTC_CHECK(it->second == SdpAudioFormat("L16", 32000, 1));
NetEqTest test(config, CreateBuiltinAudioDecoderFactory(), codecs, nullptr,
NetEqTest test(config, CreateBuiltinAudioDecoderFactory(), codecs,
/*text_log=*/nullptr, /*neteq_factory=*/nullptr,
std::move(input), std::move(output), callbacks);
test.Run();
}