SlideShare a Scribd company logo
1 of 16
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

What's hot

Dc ch10 : circuit switching and packet switching
Dc ch10 : circuit switching and packet switchingDc ch10 : circuit switching and packet switching
Dc ch10 : circuit switching and packet switchingSyaiful Ahdan
 
Asynchronous Transfer Mode (ATM)
Asynchronous Transfer Mode (ATM)Asynchronous Transfer Mode (ATM)
Asynchronous Transfer Mode (ATM)Agreeta Sharma
 
Transport layer services
Transport layer servicesTransport layer services
Transport layer servicesMelvin Cabatuan
 
Multiplexing and switching(TDM ,FDM, Data gram, circuit switching)
Multiplexing and switching(TDM ,FDM, Data gram, circuit switching)Multiplexing and switching(TDM ,FDM, Data gram, circuit switching)
Multiplexing and switching(TDM ,FDM, Data gram, circuit switching)Adil Mehmoood
 
Small scale fading
Small scale fading Small scale fading
Small scale fading Hardik_Tank
 
Pdh and sdh1
Pdh and sdh1Pdh and sdh1
Pdh and sdh1Khant Oo
 
TCP congestion control
TCP congestion controlTCP congestion control
TCP congestion controlShubham Jain
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSDr. SELVAGANESAN S
 
Time Division Multiplexing
Time Division MultiplexingTime Division Multiplexing
Time Division MultiplexingSpandit Lenka
 
TCP - Transmission Control Protocol
TCP - Transmission Control ProtocolTCP - Transmission Control Protocol
TCP - Transmission Control ProtocolPeter R. Egli
 
Introduction to WebRTC
Introduction to WebRTCIntroduction to WebRTC
Introduction to WebRTCArt Matsak
 

What's hot (20)

Congestion control in TCP
Congestion control in TCPCongestion control in TCP
Congestion control in TCP
 
Dc ch10 : circuit switching and packet switching
Dc ch10 : circuit switching and packet switchingDc ch10 : circuit switching and packet switching
Dc ch10 : circuit switching and packet switching
 
Frame relay
Frame relayFrame relay
Frame relay
 
go back n protocol
go back n protocolgo back n protocol
go back n protocol
 
Tcp and udp
Tcp and udpTcp and udp
Tcp and udp
 
LTE Air Interface
LTE Air InterfaceLTE Air Interface
LTE Air Interface
 
X.25
X.25X.25
X.25
 
Frame Relay
Frame RelayFrame Relay
Frame Relay
 
Asynchronous Transfer Mode (ATM)
Asynchronous Transfer Mode (ATM)Asynchronous Transfer Mode (ATM)
Asynchronous Transfer Mode (ATM)
 
Transport layer services
Transport layer servicesTransport layer services
Transport layer services
 
Multiplexing and switching(TDM ,FDM, Data gram, circuit switching)
Multiplexing and switching(TDM ,FDM, Data gram, circuit switching)Multiplexing and switching(TDM ,FDM, Data gram, circuit switching)
Multiplexing and switching(TDM ,FDM, Data gram, circuit switching)
 
Small scale fading
Small scale fading Small scale fading
Small scale fading
 
Pdh and sdh1
Pdh and sdh1Pdh and sdh1
Pdh and sdh1
 
TCP congestion control
TCP congestion controlTCP congestion control
TCP congestion control
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
 
Time Division Multiplexing
Time Division MultiplexingTime Division Multiplexing
Time Division Multiplexing
 
Delay , Loss & Throughput
Delay , Loss & ThroughputDelay , Loss & Throughput
Delay , Loss & Throughput
 
Call flows
Call flowsCall flows
Call flows
 
TCP - Transmission Control Protocol
TCP - Transmission Control ProtocolTCP - Transmission Control Protocol
TCP - Transmission Control Protocol
 
Introduction to WebRTC
Introduction to WebRTCIntroduction to WebRTC
Introduction to WebRTC
 

Viewers also liked

RTP -- Real-time Transport Protocol
RTP -- Real-time Transport ProtocolRTP -- Real-time Transport Protocol
RTP -- Real-time Transport ProtocolAdrià López
 
Análisis de los protocolos de tiempo real RTP, RTCP y RTSP
Análisis de los protocolos de tiempo real RTP, RTCP y RTSPAnálisis de los protocolos de tiempo real RTP, RTCP y RTSP
Análisis de los protocolos de tiempo real RTP, RTCP y RTSPmanuelfloresv
 
Parallax Theme in PowerPoint
Parallax Theme in PowerPointParallax Theme in PowerPoint
Parallax Theme in PowerPointIndezine.com
 
What is VoIP and How it works?
What is VoIP and How it works?What is VoIP and How it works?
What is VoIP and How it works?broadconnect
 
Voip introduction
Voip introductionVoip introduction
Voip introductiondaksh bhatt
 
VOIP Presentation
VOIP Presentation VOIP Presentation
VOIP Presentation tofael1
 
Voip powerpoint
Voip powerpointVoip powerpoint
Voip powerpointGW1992
 
Voice over IP (VoIP)
Voice over IP (VoIP)Voice over IP (VoIP)
Voice over IP (VoIP)Peter R. Egli
 
Voice Over IP (VoIP)
Voice Over IP (VoIP)Voice Over IP (VoIP)
Voice Over IP (VoIP)habib_786
 

Viewers also liked (12)

RTP -- Real-time Transport Protocol
RTP -- Real-time Transport ProtocolRTP -- Real-time Transport Protocol
RTP -- Real-time Transport Protocol
 
Rtp
RtpRtp
Rtp
 
Análisis de los protocolos de tiempo real RTP, RTCP y RTSP
Análisis de los protocolos de tiempo real RTP, RTCP y RTSPAnálisis de los protocolos de tiempo real RTP, RTCP y RTSP
Análisis de los protocolos de tiempo real RTP, RTCP y RTSP
 
Real-Time Streaming Protocol
Real-Time Streaming Protocol Real-Time Streaming Protocol
Real-Time Streaming Protocol
 
Parallax Theme in PowerPoint
Parallax Theme in PowerPointParallax Theme in PowerPoint
Parallax Theme in PowerPoint
 
Introduction to VoIP
Introduction to VoIPIntroduction to VoIP
Introduction to VoIP
 
What is VoIP and How it works?
What is VoIP and How it works?What is VoIP and How it works?
What is VoIP and How it works?
 
Voip introduction
Voip introductionVoip introduction
Voip introduction
 
VOIP Presentation
VOIP Presentation VOIP Presentation
VOIP Presentation
 
Voip powerpoint
Voip powerpointVoip powerpoint
Voip powerpoint
 
Voice over IP (VoIP)
Voice over IP (VoIP)Voice over IP (VoIP)
Voice over IP (VoIP)
 
Voice Over IP (VoIP)
Voice Over IP (VoIP)Voice Over IP (VoIP)
Voice Over IP (VoIP)
 

Similar to Real-time Transport Protocol (RTP) Overview and Use Scenarios

lect20-Layer5.ppt
lect20-Layer5.pptlect20-Layer5.ppt
lect20-Layer5.pptNone973611
 
ETE405-lec7.ppt
ETE405-lec7.pptETE405-lec7.ppt
ETE405-lec7.pptmashiur
 
Audio/Video Conferencing over Publish/Subscribe Messaging Systems
Audio/Video Conferencing over Publish/Subscribe Messaging SystemsAudio/Video Conferencing over Publish/Subscribe Messaging Systems
Audio/Video Conferencing over Publish/Subscribe Messaging SystemsVideoguy
 
ETE405-lec7.pptx
ETE405-lec7.pptxETE405-lec7.pptx
ETE405-lec7.pptxmashiur
 
Basic of ip subnet and addressing
Basic of ip subnet and addressingBasic of ip subnet and addressing
Basic of ip subnet and addressingrahul_cuet
 
Introduction to OSI and QUIC
Introduction to OSI and QUICIntroduction to OSI and QUIC
Introduction to OSI and QUICFarzad Soltani
 
TCP RFC 793 TCPIP (Transmission Control ProtocolInternet Proto.pdf
TCP  RFC 793 TCPIP (Transmission Control ProtocolInternet Proto.pdfTCP  RFC 793 TCPIP (Transmission Control ProtocolInternet Proto.pdf
TCP RFC 793 TCPIP (Transmission Control ProtocolInternet Proto.pdfanjaniar7gallery
 
Sip technology overview
Sip technology overviewSip technology overview
Sip technology overviewOded Ben-Dori
 
Ch4 Protocols.pptx
Ch4 Protocols.pptxCh4 Protocols.pptx
Ch4 Protocols.pptxazmerawAnna1
 
Ch4 Protocols.pptx
Ch4 Protocols.pptxCh4 Protocols.pptx
Ch4 Protocols.pptxkebeAman
 
Wireshark
WiresharkWireshark
Wiresharkbtohara
 

Similar to Real-time Transport Protocol (RTP) Overview and Use Scenarios (20)

lect20-Layer5.ppt
lect20-Layer5.pptlect20-Layer5.ppt
lect20-Layer5.ppt
 
ETE405-lec7.ppt
ETE405-lec7.pptETE405-lec7.ppt
ETE405-lec7.ppt
 
Audio/Video Conferencing over Publish/Subscribe Messaging Systems
Audio/Video Conferencing over Publish/Subscribe Messaging SystemsAudio/Video Conferencing over Publish/Subscribe Messaging Systems
Audio/Video Conferencing over Publish/Subscribe Messaging Systems
 
ETE405-lec7.pptx
ETE405-lec7.pptxETE405-lec7.pptx
ETE405-lec7.pptx
 
Rtsp
RtspRtsp
Rtsp
 
Lecture 04
Lecture 04Lecture 04
Lecture 04
 
Demuxed 2020
Demuxed 2020Demuxed 2020
Demuxed 2020
 
Tcp/ip model
Tcp/ip  modelTcp/ip  model
Tcp/ip model
 
Basic of ip subnet and addressing
Basic of ip subnet and addressingBasic of ip subnet and addressing
Basic of ip subnet and addressing
 
Introduction to OSI and QUIC
Introduction to OSI and QUICIntroduction to OSI and QUIC
Introduction to OSI and QUIC
 
Ch05
Ch05Ch05
Ch05
 
TCP RFC 793 TCPIP (Transmission Control ProtocolInternet Proto.pdf
TCP  RFC 793 TCPIP (Transmission Control ProtocolInternet Proto.pdfTCP  RFC 793 TCPIP (Transmission Control ProtocolInternet Proto.pdf
TCP RFC 793 TCPIP (Transmission Control ProtocolInternet Proto.pdf
 
Sip technology overview
Sip technology overviewSip technology overview
Sip technology overview
 
DDS Over Low Bandwidth Data Links
DDS Over Low Bandwidth Data LinksDDS Over Low Bandwidth Data Links
DDS Over Low Bandwidth Data Links
 
Realtimetapan
RealtimetapanRealtimetapan
Realtimetapan
 
Ch4 Protocols.pptx
Ch4 Protocols.pptxCh4 Protocols.pptx
Ch4 Protocols.pptx
 
Assignment on data network
Assignment on data networkAssignment on data network
Assignment on data network
 
Assignment on data network
Assignment on data networkAssignment on data network
Assignment on data network
 
Ch4 Protocols.pptx
Ch4 Protocols.pptxCh4 Protocols.pptx
Ch4 Protocols.pptx
 
Wireshark
WiresharkWireshark
Wireshark
 

Real-time Transport Protocol (RTP) Overview and Use Scenarios

  • 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