Learn how to a build a cloud-first strategyRegister Now


Help on RTP

Posted on 2006-05-25
Medium Priority
Last Modified: 2008-03-03

Please send me some tutorial on RTP.

Question by:arijit_rebaca

Accepted Solution

red_nectar earned 150 total points
ID: 16775027

The RFC has got it all, but if just want the important stuff, check out http://www.protocols.com/pbook/h323.htm#RTP and white you are there, check http://www.protocols.com/pbook/h323.htm#RTCP as well.

As for a TUTORIAL, nothing beats setting up a couple of ip phones (like the free SJ Phone from http://www.sjlabs.com) and getting them to call each other while capturing the traffic using the free ethereal analyser (www.etehreal.com) which has some great utilities to help analyse traffic flows, jitter etc.

As for a two minute tutorial, here are some basic points:

* RTP packets can carry any kind of encoded voice or video.  As far as voice goes, it is usually 20ms voice per packet.  If this is encoded using G.729 the payload is 20 bytes.  Add to this 12 bytes of RTP header, then 8 bytes of UDP header, plus 20 bytes of IP header and you'll see that it takes about 24kb/s to carry a voice stream (plus layer 2 headers).  On the other hand, if the voice is encded using G.711 (just like the PSTN today), your voice stream will consist of the same header overhead, plus 160 bytes of data per 20ms, or 80kb/s (plus layer 2 headers)

* Each RTP packet carries a media descriptor, so I can tell whether the packet is carrying G.711, G.729 or other encoding.  The actual decision as to what encoding to use is negotaited during call setup by whatever siganllilng protocol being used (typically SIP or H.323).

* Also negitiated during call setup are the UDP port numbers that will be used during the conversation.  These can be any port number >1024, so it is impossible to detect RTP traffic at a firewall by port number alone.

*  RTP is connectionless, so it does not resend lost data.  However, since each packet has a sequence number that increaes by 1 for each packet, the receiving station can tell if any data was lost and compensate for the loss.

Let me know if you need more detail.


Author Comment

ID: 16832177

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

810 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