
This CL makes the output audio file optional to more quickly run neteq_rtpplay when no audio output is needed. The CL also includes necessary adaptations because of pre-existing dependencies (e.g., the output audio file name is used to create the plotting script file names). The command line arguments are retro-compatible - i.e., same behavior when specifying the output audio file and the new flag --output_files_base_name is not used. This CL also includes a test script with which the retro-compatibility has been verified. Bug: webrtc:10337 Change-Id: Ie3f301b3b2ed0682fb74426d9cf452396f2b112b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/126224 Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Reviewed-by: Ivo Creusen <ivoc@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27067}
18 lines
740 B
Markdown
18 lines
740 B
Markdown
# 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`.
|