RTP packets payload and G.711

I want to write an RTP (Real-time Protocol) player in C++. The application reads in audio (RTP) packets generated by Cisco Voip phones. It then creates an audio (*.au or *.wav) file, and dump audio stream into this file.

I know the format of RTP packet header but don't understand much about RTP payload and how audio stream is encoded (in G.711 format) in RTP packets payload.

Can someone help or show me where to look for more information about RTP packet payload ?
LVL 1
kevinnguyenAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
_corey_Connect With a Mentor Commented:
Well, there is the RFC of course.  http://www.ietf.org/rfc/rfc1889.txt?number=1889 ["RTP: A Transport Protocol for Real-Time Applications"]

Which shows in the RFC packet starting on around page 10 consisting of the header and then the payload data following it.  It also says that the packet type should have a list of predefined values in a helper specification which I cannot fine the RFC of just yet on the same website.

corey
0
All Courses

From novice to tech pro — start learning today.