[OpenSER-Users] Playing RTP Session

Stefan Sayer stefan.sayer at iptego.com
Tue Jun 24 21:00:06 CEST 2008



o Chaitanya V.N.S [06/24/08 16:29]:
> Hi,
> 
>     I got no replay for that. I have even put that question in rtpproxy 
> form but no response.
> 
> I have appended the header (PCMA or PCMU) to that file using a java 
> program and tried to play that file . It is playing but  the audio 
> quality is very bad.

 > [...]

 > If you find any other solution please let me know.

if the .rtp file is the raw payload you can convert it using sox
sox -t raw -1 -U a.rtp -t wav -s a.wav
but you might strip the RTP headers (usually first 12 bytes) from every 
packet first (don't know whether rtpproxy does that).

hth
Stefan





More information about the Users mailing list