A tool to generate RTP data packets and save into pcap file. Can emulate network delays and losses.
I verified that `wav2rtp' correctly works only under linux/i386. There is prebuilt packages for "Debian Unstable" and "Ubuntu Hardy". Another distributions requires building from sources.
Download latest .deb
package from here and execute:
`sudo dpkg -i wav2rtp_0.9.1-1_i386.deb`
That is all, I think ...
Great Launchpad offers automatic `.deb' building for Ubuntu.
Simply add this line to your /etc/apt/sources.list
deb http://ppa.launchpad.net/roman-imankulov/ubuntu hardy main
Execute:
$ sudo apt-get update
$ sudo apt-get install wav2rtp
Latest stable version is 0.9.1
Latest version of wav2rtp is available from SVN repository. Type command below to obtain latest "trunk" version:
svn co https://wav2rtp.svn.sourceforge.net/svnroot/wav2rtp/trunk wav2rtp
Then move yourself into "wav2rtp" directory and prepare system for compilation:
aclocal
autoconf
automake --add-missing
There is also script init.sh
on the top-level directory, so you may run this script instead.
These utilities under Debian are available in packages: build-essential (meta-package), autoconf and automake.
Latest stable version is available at the SourceForge download page.
Make sure that all libraries which this application uses as dependencies are already installed. Currently wav2rtp use these libraries. Note that development packages (i.e. packages with ".h" headers) also have to be present on your system.
Under Debian (I'm using etch) it's easy to install all packages listed above just by typing:
sudo apt-get install libsndfile1-dev libgsm1-dev libspeex-dev libortp5-dev libpcap-dev
To build just type:
./configure && make
Executable file named wav2rtp should appears. Application have to be installed before you start to work. Type as root:
make install
Check the correctness of installation:
wav2rtp --help
Open your configuration files and read carefully comments inside it. There is two files:
/etc/wav2rtp/codecs.conf
and /etc/wav2rtp/output.conf
(they may appear also in the
/usr/local/etc
directory). For today these comments is the only way to get the help. Try to
override some of this options to emulate losses and/or delays in the channel.