We are working in a test environment and need to monitor the audio quality of an rtp stream that is being captured using tshark.
Right now we are able to capture the audio and access the file through wireshark, but we would like to find a way to save the audio to a .wav file (or similar) via the command line.
Does anyone know of a tool that can do this?
There is a small tool called pcaputil - it is part of the pjsip project. It should be able to decode pcap files with RTP (G.711, G.722, speex and other codecs are supported) into wav files.
Compile pjsip and find pcaputil inside
pjsip-apps/bin/samples/[architecture]/
.