webrtc/modules/audio_coding/neteq/tools
Jakob Ivarsson a9f10c8189 Make fake decode from file produce 10 ms comfort noise frames.
This is to more accurately simulate Opus CNG.

Bug: None
Change-Id: I3244d88e1f7410190551b6fa24cdd08599b5771e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/262661
Reviewed-by: Minyue Li <minyue@webrtc.org>
Commit-Queue: Jakob Ivarsson‎ <jakobi@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36913}
2022-05-17 13:11:34 +00:00
..
audio_checksum.h Adopt absl::string_view in rtc_base/string_encode.* 2022-04-04 12:30:56 +00:00
audio_loop.cc
audio_loop.h Remove top-level const from parameters in function declarations. 2022-01-26 11:05:25 +00:00
audio_sink.cc
audio_sink.h Remove RTC_DISALLOW_COPY_AND_ASSIGN from modules/ 2022-01-24 11:50:20 +00:00
constant_pcm_packet_source.cc Use backticks not vertical bars to denote variables in comments for /modules/audio_coding 2021-08-02 10:45:40 +00:00
constant_pcm_packet_source.h Remove RTC_DISALLOW_COPY_AND_ASSIGN from modules/ 2022-01-24 11:50:20 +00:00
DEPS
encode_neteq_input.cc
encode_neteq_input.h
fake_decode_from_file.cc Make fake decode from file produce 10 ms comfort noise frames. 2022-05-17 13:11:34 +00:00
fake_decode_from_file.h Use backticks not vertical bars to denote variables in comments for /modules/audio_coding 2021-08-02 10:45:40 +00:00
initial_packet_inserter_neteq_input.cc Added support for skipping get_audio events, adding dummy packets and setting a field trial string. 2019-10-07 12:26:44 +00:00
initial_packet_inserter_neteq_input.h Added support for skipping get_audio events, adding dummy packets and setting a field trial string. 2019-10-07 12:26:44 +00:00
input_audio_file.cc Use backticks not vertical bars to denote variables in comments for /modules/audio_coding 2021-08-02 10:45:40 +00:00
input_audio_file.h Remove top-level const from parameters in function declarations. 2022-01-26 11:05:25 +00:00
input_audio_file_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
neteq_delay_analyzer.cc Include module_common_types.h only where needed 2019-09-24 08:22:38 +00:00
neteq_delay_analyzer.h Use backticks not vertical bars to denote variables in comments for /modules/audio_coding 2021-08-02 10:45:40 +00:00
neteq_event_log_input.cc
neteq_event_log_input.h
neteq_input.cc Concatenate string literals at compile time. 2020-01-14 14:47:48 +00:00
neteq_input.h Use backticks not vertical bars to denote variables in comments for /modules/audio_coding 2021-08-02 10:45:40 +00:00
neteq_packet_source_input.cc
neteq_packet_source_input.h
neteq_performance_test.cc Use backticks not vertical bars to denote variables in comments for /modules/audio_coding 2021-08-02 10:45:40 +00:00
neteq_performance_test.h Use backticks not vertical bars to denote variables in comments for /modules/audio_coding 2021-08-02 10:45:40 +00:00
neteq_quality_test.cc Use backticks not vertical bars to denote variables in comments for /modules/audio_coding 2021-08-02 10:45:40 +00:00
neteq_quality_test.h Use backticks not vertical bars to denote variables in comments for /modules/audio_coding 2021-08-02 10:45:40 +00:00
neteq_replacement_input.cc
neteq_replacement_input.h
neteq_rtpplay.cc Use backticks not vertical bars to denote variables in comments for /modules/audio_coding 2021-08-02 10:45:40 +00:00
neteq_rtpplay_test.sh
neteq_stats_getter.cc Delete unused NetEq stats currentPacketLossRate, currentDiscardRate and addedSamples 2020-09-21 12:19:16 +00:00
neteq_stats_getter.h
neteq_stats_plotter.cc Add generated comfort noise counter. 2022-04-20 14:25:03 +00:00
neteq_stats_plotter.h Remove NetEq extra delay option. 2021-11-09 17:25:46 +00:00
neteq_test.cc Remove NetEq extra delay option. 2021-11-09 17:25:46 +00:00
neteq_test.h Remove NetEq extra delay option. 2021-11-09 17:25:46 +00:00
neteq_test_factory.cc Replace more instances of rtc::RefCountedObject with make_ref_counted. 2021-04-27 17:01:59 +00:00
neteq_test_factory.h Use backticks not vertical bars to denote variables in comments for /modules/audio_coding 2021-08-02 10:45:40 +00:00
output_audio_file.h Remove RTC_DISALLOW_COPY_AND_ASSIGN from modules/ 2022-01-24 11:50:20 +00:00
output_wav_file.h Remove RTC_DISALLOW_COPY_AND_ASSIGN from modules/ 2022-01-24 11:50:20 +00:00
packet.cc Avoid using legacy rtp parser in neteq test::Packet 2021-06-17 08:38:14 +00:00
packet.h Remove RTC_DISALLOW_COPY_AND_ASSIGN from modules/ 2022-01-24 11:50:20 +00:00
packet_source.cc
packet_source.h Remove RTC_DISALLOW_COPY_AND_ASSIGN from modules/ 2022-01-24 11:50:20 +00:00
packet_unittest.cc Use backticks not vertical bars to denote variables in comments for /modules/audio_coding 2021-08-02 10:45:40 +00:00
README.md
resample_input_audio_file.cc
resample_input_audio_file.h Remove RTC_DISALLOW_COPY_AND_ASSIGN from modules/ 2022-01-24 11:50:20 +00:00
rtc_event_log_source.cc Fix for NetEq simulations containing large gaps and multiple SSRCs. 2020-08-19 09:11:10 +00:00
rtc_event_log_source.h Remove RTC_DISALLOW_COPY_AND_ASSIGN from modules/ 2022-01-24 11:50:20 +00:00
rtp_analyze.cc Remove all #include <assert.h>/<cassert> and usage in Obj-C code. 2021-07-22 14:00:26 +00:00
rtp_encode.cc Prepare to rename RTC_NOTREACHED to RTC_DCHECK_NOTREACHED 2021-11-15 21:44:59 +00:00
rtp_file_source.cc Remove all #include <assert.h>/<cassert> and usage in Obj-C code. 2021-07-22 14:00:26 +00:00
rtp_file_source.h Remove RTC_DISALLOW_COPY_AND_ASSIGN from modules/ 2022-01-24 11:50:20 +00:00
rtp_generator.cc Use backticks not vertical bars to denote variables in comments for /modules/audio_coding 2021-08-02 10:45:40 +00:00
rtp_generator.h Remove RTC_DISALLOW_COPY_AND_ASSIGN from modules/ 2022-01-24 11:50:20 +00:00
rtp_jitter.cc Format almost everything. 2019-07-08 13:45:15 +00:00
rtpcat.cc

NetEQ RTP Play tool

Testing of the command line arguments

The command line tool neteq_rtpplay can be tested by running neteq_rtpplay_test.sh, which is not use on try bots, but it can be used before submitting any CLs that may break the behavior of the command line arguments of neteq_rtpplay.

Run neteq_rtpplay_test.sh as follows from the src/ folder:

src$ ./modules/audio_coding/neteq/tools/neteq_rtpplay_test.sh  \
  out/Default/neteq_rtpplay  \
  resources/audio_coding/neteq_opus.rtp  \
  resources/short_mixed_mono_48.pcm

You can replace the RTP and PCM files with any other compatible files. If you get an error using the files indicated above, try running gclient sync.

Requirements: awk and md5sum.