SlideShare a Scribd company logo
Real-Time Transport Protocol (RTP) Tung Dao Manh Future Internet Class, 2007.04.15 1
Agenda Introduction Motivation RTP outline Fundamental design philosophies of RTP Application-level framing The end-to-end principle Flexibility Standard elements of RTP RTP Specification RTP Profile RTP Payload Format RTP Packet Format Potential further development of RTP Related Protocol RTCP Conclusion 2
Introduction Requirements for delivery of media stream Examples of real-time applications: Videoconferencing VoIP, IP telephone system Game online… Real-time data: interactive audio and video Receivers: playing out immediately and synchronously,  rather than playing back Requirements for transport protocols: Predictable variation in network transit time Reliable delivery of all packets Motivation 8
Introduction Requirements drive the choice of transport protocols TCP/IP It favors reliability over timeliness, but these applications require timely delivery. Retransmissions can lead to high delay and cause delay jitter Does not support multicast Congestion control mechanism not suitable for audio-video (AV) media UDP/IP A UDP/IP-based should be suitable, provided that the variation in transit time of the network can be characterized and loss rates are acceptable. But it is: No defined technique for synchronizing Streams from different servers may collide A feedback channel must be defined for quality control Motivation 8
Introduction The standard real-time transport protocol was developed by the Audio-Video Transport Working Group of the IETF and first published in 1996 as RFC 1889 – A solution to these described problems. Motivation 8
Introduction Real-time data transport at glance 8 Encoded frames are produced They are assigned a timestamp and a  sequence number Then, they are load into RTP packet and ready for transmission The sender also generates periodic  status reports in the form of RTCP  packets to participants The participants also send quality  feedback to the sender. Collect packets from network, and insert them into a per-sender input queue. Packets then are passed to a channel-  coding routine for loss correct. Next, they are put into a playout-buffer, and any variation in interpacket timing  caused by the network has been  smoothed. They are then grouped to form complete frames that are decoded to play out.
Introduction RTP: Defines a standardized packet format for delivering audio and video over the internet. Internet standard for real-time data Interactive and streamed audio and video Designed for multi-user multimedia conferencing Provides end-to-end transport functions for real-time applications Delay-oriented rather than loss-oriented (such as TCP) RTP Outline 8
RTP Application-Level Framing A transport protocol should accept data in application-meaningful units (ADUs) A transport protocol should expose the details of the data delivery as much as possible The end-to-end principle The system can pass responsibility for the correct delivery of data along that with data, meaning it relies on the lower protocols. Intelligence is at the endpoints, not within the network (smart, network-aware endpoints and a dumb network) Achieving flexibility  Provides a unifying framework for real-time audio/video transport, satisfying most application directly. 8 Fundamental design philosophies of RTP
RTP RTP specifications RTP profiles RTP payload formats Optional elements 8 Standard elements of RTP Framework
Introduction A session consists of an RTP/RTCP pair of channels, containing two closely linked parts: Data + Control. RTP to transport real-time data RTCP: RTP control protocol QoS monitoring and feedback Session control Protocol architecture: usually works over UDP/IP RTP Outline 8 Media Application RTP IP RTCP UDP
Introduction RTP Outline 8
Introduction RTP Issues:  The protocol itself does not provide mechanisms to ensure timely delivery Relies on lower-layer protocols prevent out-of-order delivery of packets give any Quality of Service (QoS) Guarantee. RTP Timestamp (TS) and Sequence Number (SN) TS is used to order packets in correct timing order SN detect packet loss RTP Outline 8
RTP Multicasting Payload type identification Time stamping Enable timing recovery Sequencing Loss detection Delivery monitoring 8 RTP Features
RTP Version (V): Padding (P) Extension (X) CSRC Count (CC) Marker (M) 8 RTP Packet Format 0  1  2  3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | V=2 | P | X |  CC   | M |  PT   |  sequence number   | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |  timestamp   | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |  synchronization source (SSRC) identifier   | +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ |  contributing source (CSRC) identifiers   | |  (0~15 items)....   |  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |  Header extension (optional)   |  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |  Payload (real time data)   |  |  | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Payload Type (PT) Sequence Number Timestamp Synchronization Source (SSRC) Contributing Source (CSRC) Padding size (8 bits) Padding (size X 8 bits)
RTP 8 RTP header Version (V, 2 bits):  indicate the version of the protocol (Current version is 2) Padding (P, 1 bit):  if set, last byte of payload is padding size Extension (X, 1 bit):  if set, variable-size header extension exists CSRC Count (CC, 4 bit):  number of SCRC identifiers Marker (M, 1 bit):   defined in profile, mark significant event Payload type (7 bits):  audio/video encoding scheme Sequence number:  random initial value, increase by one for each RTP packet; for  loss detection and sequence restoration SSRC:  identify source; chosen randomly and locally; collision needs to be resolved CSRC list:  identifiers of contributing sources, inserted by mixer
RTP 8 RTP header: SSRC and CSRC All packets from a given synchronizing source (with a given SSRC identifier) will use the same timing and sequence number space to allow receivers to recreate the packet sequence A mixer receives RTP packets from multiple sources, combines packets, makes timing adjustments, and forwards new RTP packets with a new timing sequence All packets in the new sequence will have mixer SSRC as their synchronization source The mixer inserts in each RTP packet header a CSRC list of the sources that contributed to this combined stream
RTP 8 RTP header: Timestamp Reflects sampling instance of the first byte in payload Clock frequency depends on data type; specified in profile Random initial value Example: CBR audio, clock increment by 1 for each sample Consecutive RTP packets may have same timestamp (logically generate at same instant): video packets that belong to the same frame Timestamps of consecutive RTP packets may not increase monotonically if the data is not transmitted in the order in which it was sampled: MPEG interpolated video frames
RTP 8 RTP header: Payload types Some examples (RFC 1890) 90000 AV MP2T (MPEG- II transport stream) 33 90000 V MPV (MPEG-I and MPEG II) 32 90000 V JPEG 26 8000 A PCMA (A-law G.711) 8 8000 A PCMU (mu-law G.711) 0 Clock rate Audio/Video  (A/V) Encoding name Payload type
RTP RTP implementation is expected to be integrated into the application rather than as a separate module. The use of RTP for a particular application requires other documents Profile specification documents defines sets of payload type codes, and their mapping to payload formats Payload format specification documents define how to carry a specific encoding Example: MPEG2 video or ADPCM audio RFC 1890: payload types; RFC 2250: MPEG RTP-based networking application 8
RTP 8 RTP-based networking application RTP is part of the application and lies above the UDP socket Application RTP Socket UDP IP Data Link Physical
RTP 8 RTP-based networking application RTP can be viewed as a sub-layer of the transport layer Application RTP UDP IP Data Link Physical Transport
RTCP 8 Introduction – RTP Control Protocol Scenario Receivers send reports Report contains number of packets lost at receiver, inter-arrival jitter, etc. This allows senders to adjust date rate Jitter is an early indicator of congestion Senders also send reports
RTCP 8 Introduction - Goals The control protocol, RTCP, provides for periodic reporting of reception quality, participant identification and other source description information, notification on changes in session membership, and the information needed synchronize media streams. RTCP QoS feedback Canonical Name Identify and keep track of participant Minimal session  control information
RTCP 8 Packet Types Bye: End of session APP: Application specifics SDES: Source Description RR: Receive report SR: Sender report RTCP packet types
RTCP 8 Compound RTCP Packet
RTCP 8 Compound RTCP Packet
RTCP 8 Sender report (SR) SSRC: identifies source of data Sender information blocks: NTP timestamp: absolute time identifying when report was sent RTP timestamp: time when packet is sent according to the clock used to send RTP data packet timestamps; used for synchronization Sender’s packet count: Total number of packets sent since the start of session Sender’s octet count: Total number of bytes sent since the start of session Multiple receiver report blocks, one for each source from which this host receives packets
RTCP 8 Receiver report (RR) SSRC: identifies source whose data this block is about (who’s being reported on) Loss fraction: fraction of packets lost since last report was sent Cumulative number of packets lost: long-term loss since the beginning of reception Highest sequence number received: compare losses, disconnect Interarrival jitter: smoothed interpacket distortion LSR: The NTP timestamp of the last sender report received from the source DLSR: Delay between receiving the last SR from this source and sending this RR
RTCP 8 Round-trip delay estimation
RTCP 8 Intermedia synchronization
RTCP 8 SDES Packet Type Source description (SDES): provide participant identification and supplementary details, such as location, emai address, etc.  The standard items are: CNAME, NAME, EMAIL, PHONE, LOC, TOOL, NOTE, and PRIV. Constant for a user, unique among all users Providing binding across multiple medias sent by a user Example: user@postech.ac.kr
RTCP 8 Analyzing sender and receiver reports Sender may modify its transmissions based on the feedback Receivers can determine whether problems are local, regional or global Network managers may use profile-independent monitors that receive only the RTCP packets and not the corresponding RTP data packets to evaluate the performance od their networks for multicast distribution.
RTP/RTCP 8 Other issues Collision detection and resolution Two sources use the same SSRC Loop detection Security Header compression – RFC 2508
RTP/RTCP 8 Applications using RTP SIP, RTP ,Proprietary P2P protocol video, voicemail, phone in, phone  out, multiparty calling, conference  recording, text messaging, NAT  traversal, video mail  SightSpeed  SIP (using TLS) and  RTP (media)   Video, file transfer, PC to phone,  phone to PC  Yahoo! Messenger  SIP, RTP Video, voice, chat, text messaging, PC to Phone  Windows Live  Messenger  SIP, STUN,  RTP Address Book Integration, Daylite  CRM Integration, Call Recording,  IM, Conferencing, Mulitple  Providers, Simple Setup, Call  transfer, 5 lines  iSoftPhone  SIP,  RTP Video, file transfer, PC to phone,  phone to PC  AOL instance  messenger Protocols Capability Program
RTP/RTCP 8 Questions 감사합니다   &  Question?

More Related Content

PDF
Overview of SCTP (Stream Control Transmission Protocol)
PPTX
PPTX
PPTX
PPT
Chapter 2 : Application Layer
PPT
Public Switched Telephone Network (PSTN)
PPTX
TCP/IP
Overview of SCTP (Stream Control Transmission Protocol)
Chapter 2 : Application Layer
Public Switched Telephone Network (PSTN)
TCP/IP

What's hot (20)

PPTX
RIP RTCP RTSP
PPT
Sania rtp
PPTX
Transport Layer in Computer Networks (TCP / UDP / SCTP)
PPT
Real-Time Streaming Protocol
PPT
SSL & TLS Architecture short
PPT
PPTX
Routing protocols for ad hoc wireless networks
PPTX
Application layer protocols
PPTX
Transport control protocols for Wireless sensor networks
PPT
Introduction to Application layer
PPTX
Real time transport protocol
PDF
Distance Vector Multicast Routing Protocol (DVMRP) : Presentation
PPT
Data communication
PPTX
What Is User Datagram Protocol?
PDF
Lecture 19 22. transport protocol for ad-hoc
PDF
MPLS Presentation
PPTX
Remote Procedure Call in Distributed System
PPTX
IP Sec - Basic Concepts
PPT
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
RIP RTCP RTSP
Sania rtp
Transport Layer in Computer Networks (TCP / UDP / SCTP)
Real-Time Streaming Protocol
SSL & TLS Architecture short
Routing protocols for ad hoc wireless networks
Application layer protocols
Transport control protocols for Wireless sensor networks
Introduction to Application layer
Real time transport protocol
Distance Vector Multicast Routing Protocol (DVMRP) : Presentation
Data communication
What Is User Datagram Protocol?
Lecture 19 22. transport protocol for ad-hoc
MPLS Presentation
Remote Procedure Call in Distributed System
IP Sec - Basic Concepts
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Ad

Viewers also liked (13)

PDF
2016-02-17 research seminar
PDF
VOIP QOS
PDF
MGCP Overview
PPT
Quality of Servise
PPT
Vo ip sip
PPTX
VoIP Techniques and Challenges PRESENTATION
PPTX
SIP security in IP telephony
PDF
SIP (Session Initiation Protocol)
PPT
Tcp Udp Icmp And The Transport Layer
PDF
Introduction to SIP(Session Initiation Protocol)
PDF
The Art of VoIP Hacking - Defcon 23 Workshop
PDF
Voice over IP (VoIP)
DOC
Modelo trabalho na ABNT
2016-02-17 research seminar
VOIP QOS
MGCP Overview
Quality of Servise
Vo ip sip
VoIP Techniques and Challenges PRESENTATION
SIP security in IP telephony
SIP (Session Initiation Protocol)
Tcp Udp Icmp And The Transport Layer
Introduction to SIP(Session Initiation Protocol)
The Art of VoIP Hacking - Defcon 23 Workshop
Voice over IP (VoIP)
Modelo trabalho na ABNT
Ad

Similar to RTP.ppt (20)

PPTX
PPT
RTP_RTCP.ppt
PPTX
Realtimetapan
PPTX
Introduction-to-Real-Time-Transport-Protocols (2).pptx
PDF
DT021_4_Notes 4_QOS_Rev_M.pdf
PPT
Sip technology overview
PPT
Streaming Media Protocols
DOCX
Assignment on data network
DOCX
Assignment on data network
PPTX
Significance of real time protocol in Voip .pptx
PPTX
Voice and video over ip
PPT
Multimedia
PPTX
Transport Layer
PPT
Chapter 29 - Mutimedia
PPT
Chapter 29
PPTX
Real Time Transport Protocol
PDF
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-based
PPT
chap29.ppt
RTP_RTCP.ppt
Realtimetapan
Introduction-to-Real-Time-Transport-Protocols (2).pptx
DT021_4_Notes 4_QOS_Rev_M.pdf
Sip technology overview
Streaming Media Protocols
Assignment on data network
Assignment on data network
Significance of real time protocol in Voip .pptx
Voice and video over ip
Multimedia
Transport Layer
Chapter 29 - Mutimedia
Chapter 29
Real Time Transport Protocol
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-based
chap29.ppt

More from Videoguy (20)

PDF
Energy-Aware Wireless Video Streaming
PDF
Microsoft PowerPoint - WirelessCluster_Pres
PDF
Proxy Cache Management for Fine-Grained Scalable Video Streaming
PDF
Adobe
PDF
Free-riding Resilient Video Streaming in Peer-to-Peer Networks
PDF
Instant video streaming
PDF
Video Streaming over Bluetooth: A Survey
PDF
Video Streaming
PDF
Reaching a Broader Audience
PDF
Considerations for Creating Streamed Video Content over 3G ...
PDF
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMING
PDF
Impact of FEC Overhead on Scalable Video Streaming
PDF
Application Brief
PDF
Video Streaming Services – Stage 1
PDF
Streaming Video into Second Life
PDF
Flash Live Video Streaming Software
PDF
Videoconference Streaming Solutions Cookbook
PDF
Streaming Video Formaten
PDF
iPhone Live Video Streaming Software
PDF
Glow: Video streaming training guide - Firefox
Energy-Aware Wireless Video Streaming
Microsoft PowerPoint - WirelessCluster_Pres
Proxy Cache Management for Fine-Grained Scalable Video Streaming
Adobe
Free-riding Resilient Video Streaming in Peer-to-Peer Networks
Instant video streaming
Video Streaming over Bluetooth: A Survey
Video Streaming
Reaching a Broader Audience
Considerations for Creating Streamed Video Content over 3G ...
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMING
Impact of FEC Overhead on Scalable Video Streaming
Application Brief
Video Streaming Services – Stage 1
Streaming Video into Second Life
Flash Live Video Streaming Software
Videoconference Streaming Solutions Cookbook
Streaming Video Formaten
iPhone Live Video Streaming Software
Glow: Video streaming training guide - Firefox

RTP.ppt

  • 1. Real-Time Transport Protocol (RTP) Tung Dao Manh Future Internet Class, 2007.04.15 1
  • 2. Agenda Introduction Motivation RTP outline Fundamental design philosophies of RTP Application-level framing The end-to-end principle Flexibility Standard elements of RTP RTP Specification RTP Profile RTP Payload Format RTP Packet Format Potential further development of RTP Related Protocol RTCP Conclusion 2
  • 3. Introduction Requirements for delivery of media stream Examples of real-time applications: Videoconferencing VoIP, IP telephone system Game online… Real-time data: interactive audio and video Receivers: playing out immediately and synchronously, rather than playing back Requirements for transport protocols: Predictable variation in network transit time Reliable delivery of all packets Motivation 8
  • 4. Introduction Requirements drive the choice of transport protocols TCP/IP It favors reliability over timeliness, but these applications require timely delivery. Retransmissions can lead to high delay and cause delay jitter Does not support multicast Congestion control mechanism not suitable for audio-video (AV) media UDP/IP A UDP/IP-based should be suitable, provided that the variation in transit time of the network can be characterized and loss rates are acceptable. But it is: No defined technique for synchronizing Streams from different servers may collide A feedback channel must be defined for quality control Motivation 8
  • 5. Introduction The standard real-time transport protocol was developed by the Audio-Video Transport Working Group of the IETF and first published in 1996 as RFC 1889 – A solution to these described problems. Motivation 8
  • 6. Introduction Real-time data transport at glance 8 Encoded frames are produced They are assigned a timestamp and a sequence number Then, they are load into RTP packet and ready for transmission The sender also generates periodic status reports in the form of RTCP packets to participants The participants also send quality feedback to the sender. Collect packets from network, and insert them into a per-sender input queue. Packets then are passed to a channel- coding routine for loss correct. Next, they are put into a playout-buffer, and any variation in interpacket timing caused by the network has been smoothed. They are then grouped to form complete frames that are decoded to play out.
  • 7. Introduction RTP: Defines a standardized packet format for delivering audio and video over the internet. Internet standard for real-time data Interactive and streamed audio and video Designed for multi-user multimedia conferencing Provides end-to-end transport functions for real-time applications Delay-oriented rather than loss-oriented (such as TCP) RTP Outline 8
  • 8. RTP Application-Level Framing A transport protocol should accept data in application-meaningful units (ADUs) A transport protocol should expose the details of the data delivery as much as possible The end-to-end principle The system can pass responsibility for the correct delivery of data along that with data, meaning it relies on the lower protocols. Intelligence is at the endpoints, not within the network (smart, network-aware endpoints and a dumb network) Achieving flexibility Provides a unifying framework for real-time audio/video transport, satisfying most application directly. 8 Fundamental design philosophies of RTP
  • 9. RTP RTP specifications RTP profiles RTP payload formats Optional elements 8 Standard elements of RTP Framework
  • 10. Introduction A session consists of an RTP/RTCP pair of channels, containing two closely linked parts: Data + Control. RTP to transport real-time data RTCP: RTP control protocol QoS monitoring and feedback Session control Protocol architecture: usually works over UDP/IP RTP Outline 8 Media Application RTP IP RTCP UDP
  • 12. Introduction RTP Issues: The protocol itself does not provide mechanisms to ensure timely delivery Relies on lower-layer protocols prevent out-of-order delivery of packets give any Quality of Service (QoS) Guarantee. RTP Timestamp (TS) and Sequence Number (SN) TS is used to order packets in correct timing order SN detect packet loss RTP Outline 8
  • 13. RTP Multicasting Payload type identification Time stamping Enable timing recovery Sequencing Loss detection Delivery monitoring 8 RTP Features
  • 14. RTP Version (V): Padding (P) Extension (X) CSRC Count (CC) Marker (M) 8 RTP Packet Format 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | V=2 | P | X | CC | M | PT | sequence number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | timestamp | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | synchronization source (SSRC) identifier | +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ | contributing source (CSRC) identifiers | | (0~15 items).... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Header extension (optional) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Payload (real time data) | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Payload Type (PT) Sequence Number Timestamp Synchronization Source (SSRC) Contributing Source (CSRC) Padding size (8 bits) Padding (size X 8 bits)
  • 15. RTP 8 RTP header Version (V, 2 bits): indicate the version of the protocol (Current version is 2) Padding (P, 1 bit): if set, last byte of payload is padding size Extension (X, 1 bit): if set, variable-size header extension exists CSRC Count (CC, 4 bit): number of SCRC identifiers Marker (M, 1 bit): defined in profile, mark significant event Payload type (7 bits): audio/video encoding scheme Sequence number: random initial value, increase by one for each RTP packet; for loss detection and sequence restoration SSRC: identify source; chosen randomly and locally; collision needs to be resolved CSRC list: identifiers of contributing sources, inserted by mixer
  • 16. RTP 8 RTP header: SSRC and CSRC All packets from a given synchronizing source (with a given SSRC identifier) will use the same timing and sequence number space to allow receivers to recreate the packet sequence A mixer receives RTP packets from multiple sources, combines packets, makes timing adjustments, and forwards new RTP packets with a new timing sequence All packets in the new sequence will have mixer SSRC as their synchronization source The mixer inserts in each RTP packet header a CSRC list of the sources that contributed to this combined stream
  • 17. RTP 8 RTP header: Timestamp Reflects sampling instance of the first byte in payload Clock frequency depends on data type; specified in profile Random initial value Example: CBR audio, clock increment by 1 for each sample Consecutive RTP packets may have same timestamp (logically generate at same instant): video packets that belong to the same frame Timestamps of consecutive RTP packets may not increase monotonically if the data is not transmitted in the order in which it was sampled: MPEG interpolated video frames
  • 18. RTP 8 RTP header: Payload types Some examples (RFC 1890) 90000 AV MP2T (MPEG- II transport stream) 33 90000 V MPV (MPEG-I and MPEG II) 32 90000 V JPEG 26 8000 A PCMA (A-law G.711) 8 8000 A PCMU (mu-law G.711) 0 Clock rate Audio/Video (A/V) Encoding name Payload type
  • 19. RTP RTP implementation is expected to be integrated into the application rather than as a separate module. The use of RTP for a particular application requires other documents Profile specification documents defines sets of payload type codes, and their mapping to payload formats Payload format specification documents define how to carry a specific encoding Example: MPEG2 video or ADPCM audio RFC 1890: payload types; RFC 2250: MPEG RTP-based networking application 8
  • 20. RTP 8 RTP-based networking application RTP is part of the application and lies above the UDP socket Application RTP Socket UDP IP Data Link Physical
  • 21. RTP 8 RTP-based networking application RTP can be viewed as a sub-layer of the transport layer Application RTP UDP IP Data Link Physical Transport
  • 22. RTCP 8 Introduction – RTP Control Protocol Scenario Receivers send reports Report contains number of packets lost at receiver, inter-arrival jitter, etc. This allows senders to adjust date rate Jitter is an early indicator of congestion Senders also send reports
  • 23. RTCP 8 Introduction - Goals The control protocol, RTCP, provides for periodic reporting of reception quality, participant identification and other source description information, notification on changes in session membership, and the information needed synchronize media streams. RTCP QoS feedback Canonical Name Identify and keep track of participant Minimal session control information
  • 24. RTCP 8 Packet Types Bye: End of session APP: Application specifics SDES: Source Description RR: Receive report SR: Sender report RTCP packet types
  • 25. RTCP 8 Compound RTCP Packet
  • 26. RTCP 8 Compound RTCP Packet
  • 27. RTCP 8 Sender report (SR) SSRC: identifies source of data Sender information blocks: NTP timestamp: absolute time identifying when report was sent RTP timestamp: time when packet is sent according to the clock used to send RTP data packet timestamps; used for synchronization Sender’s packet count: Total number of packets sent since the start of session Sender’s octet count: Total number of bytes sent since the start of session Multiple receiver report blocks, one for each source from which this host receives packets
  • 28. RTCP 8 Receiver report (RR) SSRC: identifies source whose data this block is about (who’s being reported on) Loss fraction: fraction of packets lost since last report was sent Cumulative number of packets lost: long-term loss since the beginning of reception Highest sequence number received: compare losses, disconnect Interarrival jitter: smoothed interpacket distortion LSR: The NTP timestamp of the last sender report received from the source DLSR: Delay between receiving the last SR from this source and sending this RR
  • 29. RTCP 8 Round-trip delay estimation
  • 30. RTCP 8 Intermedia synchronization
  • 31. RTCP 8 SDES Packet Type Source description (SDES): provide participant identification and supplementary details, such as location, emai address, etc. The standard items are: CNAME, NAME, EMAIL, PHONE, LOC, TOOL, NOTE, and PRIV. Constant for a user, unique among all users Providing binding across multiple medias sent by a user Example: user@postech.ac.kr
  • 32. RTCP 8 Analyzing sender and receiver reports Sender may modify its transmissions based on the feedback Receivers can determine whether problems are local, regional or global Network managers may use profile-independent monitors that receive only the RTCP packets and not the corresponding RTP data packets to evaluate the performance od their networks for multicast distribution.
  • 33. RTP/RTCP 8 Other issues Collision detection and resolution Two sources use the same SSRC Loop detection Security Header compression – RFC 2508
  • 34. RTP/RTCP 8 Applications using RTP SIP, RTP ,Proprietary P2P protocol video, voicemail, phone in, phone out, multiparty calling, conference recording, text messaging, NAT traversal, video mail SightSpeed SIP (using TLS) and RTP (media) Video, file transfer, PC to phone, phone to PC Yahoo! Messenger SIP, RTP Video, voice, chat, text messaging, PC to Phone Windows Live Messenger SIP, STUN, RTP Address Book Integration, Daylite CRM Integration, Call Recording, IM, Conferencing, Mulitple Providers, Simple Setup, Call transfer, 5 lines iSoftPhone SIP, RTP Video, file transfer, PC to phone, phone to PC AOL instance messenger Protocols Capability Program
  • 35. RTP/RTCP 8 Questions 감사합니다 & Question?