webrtc/modules/audio_coding/neteq/tools
Jakob Ivarsson 2bd878180a Add delayed packet outage event metric.
Can be used to calculate the average delayed packet outage duration and
number of packet loss events by subtracting from concealment events.

Only used in simulations currently.

Bug: None
Change-Id: I03740a2bcb781af09e28a4d13d9e41c0f84bc506
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/303600
Commit-Queue: Jakob Ivarsson‎ <jakobi@webrtc.org>
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39957}
2023-04-26 13:40:17 +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 Adopt absl::string_view in modules/audio_coding/ 2022-07-20 13:34:23 +00:00
audio_loop.h Adopt absl::string_view in modules/audio_coding/ 2022-07-20 13:34:23 +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 Revert "Unifying the handling of the events in NetEqInput." 2023-03-29 08:01:46 +00:00
encode_neteq_input.h Revert "Unifying the handling of the events in NetEqInput." 2023-03-29 08:01:46 +00:00
fake_decode_from_file.cc Refactor NetEq fake decode from file. 2023-04-13 14:48:41 +00:00
fake_decode_from_file.h Refactor NetEq fake decode from file. 2023-04-13 14:48:41 +00:00
initial_packet_inserter_neteq_input.cc Revert "Unifying the handling of the events in NetEqInput." 2023-03-29 08:01:46 +00:00
initial_packet_inserter_neteq_input.h Revert "Unifying the handling of the events in NetEqInput." 2023-03-29 08:01:46 +00:00
input_audio_file.cc Adopt absl::string_view in modules/audio_coding/ 2022-07-20 13:34:23 +00:00
input_audio_file.h Adopt absl::string_view in modules/audio_coding/ 2022-07-20 13:34:23 +00:00
input_audio_file_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
neteq_delay_analyzer.cc Revert "Unifying the handling of the events in NetEqInput." 2023-03-29 08:01:46 +00:00
neteq_delay_analyzer.h Adopt absl::string_view in modules/audio_coding/ 2022-07-20 13:34:23 +00:00
neteq_event_log_input.cc Refactor NetEq test event log input. 2023-04-05 23:22:36 +00:00
neteq_event_log_input.h Refactor NetEq test event log input. 2023-04-05 23:22:36 +00:00
neteq_input.cc Revert "Unifying the handling of the events in NetEqInput." 2023-03-29 08:01:46 +00:00
neteq_input.h Revert "Unifying the handling of the events in NetEqInput." 2023-03-29 08:01:46 +00:00
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 Make it easier to specify in/out files for neteq_quality_test. 2022-10-11 21:10:11 +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 Refactor NetEq fake decode from file. 2023-04-13 14:48:41 +00:00
neteq_replacement_input.h Revert "Unifying the handling of the events in NetEqInput." 2023-03-29 08:01:46 +00:00
neteq_rtp_dump_input.cc Refactor NetEq rtp dump input. 2023-04-11 14:32:35 +00:00
neteq_rtp_dump_input.h Refactor NetEq rtp dump input. 2023-04-11 14:32:35 +00:00
neteq_rtpplay.cc Adopt absl::string_view in modules/audio_coding/ 2022-07-20 13:34:23 +00:00
neteq_rtpplay_test.sh Reland "NetEQ RTP Play: Optionally write output audio file" 2019-03-13 15:33:29 +00:00
neteq_stats_getter.cc Delete unused NetEq stats currentPacketLossRate, currentDiscardRate and addedSamples 2020-09-21 12:19:16 +00:00
neteq_stats_getter.h Adding NetEq lifetime stats to event log visualizer. 2018-06-26 11:27:09 +00:00
neteq_stats_plotter.cc Add delayed packet outage event metric. 2023-04-26 13:40:17 +00:00
neteq_stats_plotter.h Adopt absl::string_view in modules/audio_coding/ 2022-07-20 13:34:23 +00:00
neteq_test.cc Remove NetEq simulation step size restriction. 2023-04-26 13:07:12 +00:00
neteq_test.h Fixes for the neteq_test clock. 2022-12-08 10:13:00 +00:00
neteq_test_factory.cc Refactor NetEq rtp dump input. 2023-04-11 14:32:35 +00:00
neteq_test_factory.h Adopt absl::string_view in modules/audio_coding/ 2022-07-20 13:34:23 +00:00
output_audio_file.h Adopt absl::string_view in modules/audio_coding/ 2022-07-20 13:34:23 +00:00
output_wav_file.h Adopt absl::string_view in modules/audio_coding/ 2022-07-20 13:34:23 +00:00
packet.cc Avoid using legacy rtp parser in neteq test::Packet 2021-06-17 08:38:14 +00:00
packet.h Format /modules 2023-04-20 02:02:45 +00:00
packet_source.cc RtcEventLogSource no longer uses deprecated parsing functions. 2018-10-11 16:13:17 +00:00
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 Reland "NetEQ RTP Play: Optionally write output audio file" 2019-03-13 15:33:29 +00:00
resample_input_audio_file.cc
resample_input_audio_file.h Adopt absl::string_view in modules/audio_coding/ 2022-07-20 13:34:23 +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 Break apart AudioCodingModule and AcmReceiver 2023-02-01 16:09:26 +00:00
rtp_file_source.cc Format /modules 2023-04-20 02:02:45 +00:00
rtp_file_source.h Adopt absl::string_view in modules/audio_coding/ 2022-07-20 13:34:23 +00:00
rtp_generator.cc Format /modules 2023-04-20 02:02:45 +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.