SlideShare a Scribd company logo
Real-time Transport Protocol
(RTP)
                                  Emil Diaz

              VoIP Security COMS 4995 – 03
                  Dept. of Computer Science
                        Henning Schulzrinne
                         Columbia University
                                  Fall 2008
Overview
            Protocol   goals & background
            Real-time   Transport Protocol (RTP)
            RTP   Control Protocol (RTCP)

            Use   Scenarios


12/04/12                  Real-time Transport Protocol   2
Real-Time Transport Protocol
              End-to-end delivery services for applications
               transmitting real-time data, such as audio and video
                  Payload type identification
                  Sequence numbering
                  Time stamping
                  Delivery monitoring
              Goals
                  lightweight
                  flexible
                  scalable

12/04/12                           Real-time Transport Protocol   3
Origin of Protocol
              Developed by the Audio-Video Transport Working
               Group of the IETF:
                  H. Schulzrinne (Columbia University)
                  S. Casner (Packet Design)
                  R. Frederick (Blue Coat Systems Inc.)
                  V. Jacobson (Packet Design)

              First published as RFC 1889 in the year 1996

              Superseded by RFC 3550 in the year 2003

12/04/12                          Real-time Transport Protocol   4
Protocol Structure
          Application layer protocol
          Typically used on top of IP and UDP
          Applications that use RTP are:
              Less sensitive to packet loss
              Very sensitive to packet delays

          UDP provides key services:
              Multiplexing
              Checksum

12/04/12                          Real-time Transport Protocol   5
RTP Does NOT
              Define media data formats or encodings
                  Need media specific profiles

              Handle connection setups or tear-downs
                  Need other protocols like SIP or H.323

              Handle resource reservation
                  Need other protocols like RSVP

              Guarantee timely delivery or Quality of Service
                  However, it does provide necessary data to application to
                   order packets and adjust signal quality
12/04/12                           Real-time Transport Protocol                6
RTP Sample Packet




           http://www.codeproject.com/KB/IP/Video_Voice_Conferencing.aspx

12/04/12          Real-time Transport Protocol                         7
RTCP Sample Packet
    5 main types:
     Sender Report (SR)

     Receiver Report (RR)

     Source Description (SDES)

     Bye Message (BYE)

     Application-defined (APP)


 http://developer.apple.com/documentation/QuickTime/QTSS/Concepts/chapter_2_section_13.html

12/04/12                           Real-time Transport Protocol                          8
Use Scenarios


12/04/12       Real-time Transport Protocol   9
Simple Multicast Audio Conference

           1.   Call connection established
           2.   Audio sampled at 20ms durations
           3.   Each data chunk is packaged with an RTP header
           4.   RTP packet is wrapped around UDP packet
           5.   Sent through network
           6.   Receiver receives and parses RTP header
           7.   Based on payload type, application reconstructs
                audio stream in 20ms chunks

12/04/12                       Real-time Transport Protocol       10
Audio and Video Conference
              Audio and Video has separate RTP/RTCP sessions
                  Receiver can choose media type to use
                  Encodings can change independently
                  Network resource allocations per media basis




12/04/12                           Real-time Transport Protocol   11
Mixers and Translators
              Accommodate participant network resources
                  Mixer – Low Bandwidth
                  Mixer – Combining media streams
                  Translator – Forward RTP packets to private networks




12/04/12                           Real-time Transport Protocol           12
Quality & Data Distribution Feedback
              Packet loss, congestion, jitter, delivery times
                  Directly useful for control of adaptive encodings
                  Identify if problems are local or global
                  Short-term and long-term statistical analysis
              Self-adjusting network
                  Each participant eventually knows about the other members
                  Source description dynamically identifies who is sending
                  Active senders get more bandwidth
                  Session bandwidth kept constant by adjusting transmission
                   rate based on the number of participants

12/04/12                            Real-time Transport Protocol               13
Source Description Information
              CNAME – Conical name (joe@example.com)
              NAME – Display Name (Joe Smith)
              EMAIL – Email (different than CNAME)
              PHONE – International phone number
              LOC – Location information (City, Building, Room?)
              TOOL – Application (VideoView 2.0)



12/04/12                      Real-time Transport Protocol      14
References
              RFC 3550 - http://tools.ietf.org/html/rfc1889
              RFC 3551 - http://tools.ietf.org/html/rfc3551
              RTP News - http://www.cs.columbia.edu/~hgs/rtp/
              Wikepedia:
                  RTP - http://en.wikipedia.org/wiki/Real-time_Transport_Protocol
                  RTCP - http://en.wikipedia.org/wiki/RTCP




12/04/12                            Real-time Transport Protocol                     15
Summary
              Services:
                  payload type identification
                  sequence numbering
                  time stamping
                  delivery monitoring
                  mixers & translators


              Goals :
                  lightweight
                  flexible
                  protocol-neutral
                  scalable
                  separate control/data
                  secure

12/04/12                                    Real-time Transport Protocol   16

More Related Content

PPT
RTP.ppt
PPTX
PPT
Sania rtp
PPTX
PPT
PPTX
Mpls technology
PDF
MPLS (Multiprotocol Label Switching)
PDF
MPLS L3 VPN Deployment
RTP.ppt
Sania rtp
Mpls technology
MPLS (Multiprotocol Label Switching)
MPLS L3 VPN Deployment

What's hot (20)

PPT
MPLS (Multi-Protocol Label Switching)
PDF
Lte attach-messaging
PPTX
NTP Server - How it works?
PPTX
IP Multicasting
PPTX
Dynamic routing
PPTX
RIP RTCP RTSP
PDF
ims registration call flow procedure volte sip
PDF
Introduction to DIAMETER
PDF
MPLS - Multiprotocol Label Switching
PPSX
PPTX
IPv6 header
PPT
RIP Routing Information Protocol Extreme Networks
PPTX
Bgp protocol
PDF
MPLS Presentation
PDF
Introduction to Segment Routing
PPTX
Ethernet VPN (EVPN) EVerything Provider Needs
PDF
DHCP (dynamic host configuration protocol)
PPT
Real-Time Streaming Protocol
PPTX
SIP over TLS
PPT
MPLS (Multi-Protocol Label Switching)
Lte attach-messaging
NTP Server - How it works?
IP Multicasting
Dynamic routing
RIP RTCP RTSP
ims registration call flow procedure volte sip
Introduction to DIAMETER
MPLS - Multiprotocol Label Switching
IPv6 header
RIP Routing Information Protocol Extreme Networks
Bgp protocol
MPLS Presentation
Introduction to Segment Routing
Ethernet VPN (EVPN) EVerything Provider Needs
DHCP (dynamic host configuration protocol)
Real-Time Streaming Protocol
SIP over TLS
Ad

Viewers also liked (11)

PPT
RTP -- Real-time Transport Protocol
PPTX
PDF
Análisis de los protocolos de tiempo real RTP, RTCP y RTSP
PPTX
Parallax Theme in PowerPoint
PPTX
Introduction to VoIP
PPTX
What is VoIP and How it works?
ODP
Voip introduction
PPTX
VOIP Presentation
PPTX
Voip powerpoint
PDF
Voice over IP (VoIP)
PPT
Voice Over IP (VoIP)
RTP -- Real-time Transport Protocol
Análisis de los protocolos de tiempo real RTP, RTCP y RTSP
Parallax Theme in PowerPoint
Introduction to VoIP
What is VoIP and How it works?
Voip introduction
VOIP Presentation
Voip powerpoint
Voice over IP (VoIP)
Voice Over IP (VoIP)
Ad

Similar to Rtp (20)

PPTX
Realtimetapan
PPTX
Real time transport protocol
PPT
RTP_RTCP.ppt
PPTX
Introduction-to-Real-Time-Transport-Protocols (2).pptx
DOCX
Assignment on data network
DOCX
Assignment on data network
PDF
Audio/Video Conferencing over Publish/Subscribe Messaging Systems
PPTX
Multimedia networks
PPT
Sip technology overview
PPTX
Significance of real time protocol in Voip .pptx
PPT
Chapter 29 - Mutimedia
PPT
Chapter 29
PPT
29 Multimedia
PPT
Streaming Media Protocols
PPT
lect20-Layer5.ppt
PPTX
Voice and video over ip
PDF
DT021_4_Notes 4_QOS_Rev_M.pdf
PDF
OMG Data-Distribution Service (DDS) Tutorial - 2009
Realtimetapan
Real time transport protocol
RTP_RTCP.ppt
Introduction-to-Real-Time-Transport-Protocols (2).pptx
Assignment on data network
Assignment on data network
Audio/Video Conferencing over Publish/Subscribe Messaging Systems
Multimedia networks
Sip technology overview
Significance of real time protocol in Voip .pptx
Chapter 29 - Mutimedia
Chapter 29
29 Multimedia
Streaming Media Protocols
lect20-Layer5.ppt
Voice and video over ip
DT021_4_Notes 4_QOS_Rev_M.pdf
OMG Data-Distribution Service (DDS) Tutorial - 2009

Rtp

  • 1. Real-time Transport Protocol (RTP) Emil Diaz VoIP Security COMS 4995 – 03 Dept. of Computer Science Henning Schulzrinne Columbia University Fall 2008
  • 2. Overview  Protocol goals & background  Real-time Transport Protocol (RTP)  RTP Control Protocol (RTCP)  Use Scenarios 12/04/12 Real-time Transport Protocol 2
  • 3. Real-Time Transport Protocol  End-to-end delivery services for applications transmitting real-time data, such as audio and video  Payload type identification  Sequence numbering  Time stamping  Delivery monitoring  Goals  lightweight  flexible  scalable 12/04/12 Real-time Transport Protocol 3
  • 4. Origin of Protocol  Developed by the Audio-Video Transport Working Group of the IETF:  H. Schulzrinne (Columbia University)  S. Casner (Packet Design)  R. Frederick (Blue Coat Systems Inc.)  V. Jacobson (Packet Design)  First published as RFC 1889 in the year 1996  Superseded by RFC 3550 in the year 2003 12/04/12 Real-time Transport Protocol 4
  • 5. Protocol Structure  Application layer protocol  Typically used on top of IP and UDP  Applications that use RTP are:  Less sensitive to packet loss  Very sensitive to packet delays  UDP provides key services:  Multiplexing  Checksum 12/04/12 Real-time Transport Protocol 5
  • 6. RTP Does NOT  Define media data formats or encodings  Need media specific profiles  Handle connection setups or tear-downs  Need other protocols like SIP or H.323  Handle resource reservation  Need other protocols like RSVP  Guarantee timely delivery or Quality of Service  However, it does provide necessary data to application to order packets and adjust signal quality 12/04/12 Real-time Transport Protocol 6
  • 7. RTP Sample Packet http://www.codeproject.com/KB/IP/Video_Voice_Conferencing.aspx 12/04/12 Real-time Transport Protocol 7
  • 8. RTCP Sample Packet 5 main types:  Sender Report (SR)  Receiver Report (RR)  Source Description (SDES)  Bye Message (BYE)  Application-defined (APP) http://developer.apple.com/documentation/QuickTime/QTSS/Concepts/chapter_2_section_13.html 12/04/12 Real-time Transport Protocol 8
  • 9. Use Scenarios 12/04/12 Real-time Transport Protocol 9
  • 10. Simple Multicast Audio Conference 1. Call connection established 2. Audio sampled at 20ms durations 3. Each data chunk is packaged with an RTP header 4. RTP packet is wrapped around UDP packet 5. Sent through network 6. Receiver receives and parses RTP header 7. Based on payload type, application reconstructs audio stream in 20ms chunks 12/04/12 Real-time Transport Protocol 10
  • 11. Audio and Video Conference  Audio and Video has separate RTP/RTCP sessions  Receiver can choose media type to use  Encodings can change independently  Network resource allocations per media basis 12/04/12 Real-time Transport Protocol 11
  • 12. Mixers and Translators  Accommodate participant network resources  Mixer – Low Bandwidth  Mixer – Combining media streams  Translator – Forward RTP packets to private networks 12/04/12 Real-time Transport Protocol 12
  • 13. Quality & Data Distribution Feedback  Packet loss, congestion, jitter, delivery times  Directly useful for control of adaptive encodings  Identify if problems are local or global  Short-term and long-term statistical analysis  Self-adjusting network  Each participant eventually knows about the other members  Source description dynamically identifies who is sending  Active senders get more bandwidth  Session bandwidth kept constant by adjusting transmission rate based on the number of participants 12/04/12 Real-time Transport Protocol 13
  • 14. Source Description Information  CNAME – Conical name (joe@example.com)  NAME – Display Name (Joe Smith)  EMAIL – Email (different than CNAME)  PHONE – International phone number  LOC – Location information (City, Building, Room?)  TOOL – Application (VideoView 2.0) 12/04/12 Real-time Transport Protocol 14
  • 15. References  RFC 3550 - http://tools.ietf.org/html/rfc1889  RFC 3551 - http://tools.ietf.org/html/rfc3551  RTP News - http://www.cs.columbia.edu/~hgs/rtp/  Wikepedia:  RTP - http://en.wikipedia.org/wiki/Real-time_Transport_Protocol  RTCP - http://en.wikipedia.org/wiki/RTCP 12/04/12 Real-time Transport Protocol 15
  • 16. Summary  Services:  payload type identification  sequence numbering  time stamping  delivery monitoring  mixers & translators  Goals :  lightweight  flexible  protocol-neutral  scalable  separate control/data  secure 12/04/12 Real-time Transport Protocol 16