Advertisement

08.18.2008 at 11:37AM PDT, ID: 23657264 | Points: 200
[x]
Attachment Details

How do i generate and send RTP packets using .wav(or any other audio) file?

Asked by kunalvjti in Linux Programming, Windows Programming

I want to generate RTP packets from a .wav file . I am using "dd -dump data" to convert this .wav file into a .txt file which will be the payload for my RTP packet. But how do i set the 12 bytes of RTP header when i use a DATAGRAM socket to send the data.Can you explain me in a little detail. I later want wireshark to detect these packets as RTP, do i have set the protocol number for RTP (e.g 17 for UDP) in the ip header to make this happen ? What default values of the RTP header will i have to set (CSRC field,seq no., timestamp, flags)?

 Start Free Trial
[+][-]08.25.2008 at 11:19AM PDT, ID: 22307753

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-43 / EE_QW_2_20070628