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?

1 Answer 1


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]/.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .