OpenVisualCloud / Media-Transport-Library

A real-time media transport(DPDK, AF_XDP, RDMA) stack for both raw and compressed video based on COTS hardware.
BSD 3-Clause "New" or "Revised" License
161 stars 51 forks source link

rx/audio: add dump support #809

Closed frankdjx closed 5 months ago

frankdjx commented 5 months ago

also fix pcap tx, test with: ./build/app/RxTxApp --config_file tests/script/audio_json/pcap_replay.json --rx_audio_dump_time_s 10

then convert the dumped pcm to wav ffmpeg -f s24be -ar 48000 -ac 2 -i st_audio_app0_48000_24_2.pcm output.wav