资 源 简 介
Combining some existing tools to easily save voice to RTP dump file and playback voice from RTP dump file.
Firstly, download mediastreamer2 library from the below link and build:
http://www.linphone.org/eng/documentation/dev/mediastreamer2.html
on "tests" sub-directory, there will have mediastream.exe.
Secondly, download RTP Tools from the below link:
http://www.cs.columbia.edu/irt/software/rtptools/
Use the below batch file:
* rtpdump_gen.bat - Will save your voice to the RTP dump file:
```
@ECHO OFF
START "mediastream_test" /MIN mediastream.exe --local 2000 --remote 127.0.0.1:3000 --payload 110
START "rtpdump_test" /MIN rtpdump.exe -F dump -o ./my.rtpdump 127.0.0.1/3000
ECHO "Press Any Key to Finish the Voice Dump"
PAUSE
TASKKILL /F /FI "WINDOWTITLE eq mediastream_test"
TASKKILL /F /FI "WINDOWTITLE eq rtpdump_test"
EXIT
```
rtpdump_playback.bat - Will playback your vo