RTP packets payload and G.711

Posted on 2005-04-26
Last Modified: 2008-03-10
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 ?
Question by:kevinnguyen
    1 Comment
    LVL 8

    Accepted Solution

    Well, there is the RFC of course. ["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.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
    This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
    The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
    The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now