SlideShare une entreprise Scribd logo
1  sur  27
RTP & RTCP
Need of RTP
• Real-time multimedia applications
   – Video teleconferencing
   – Internet Telephony (VoIP)
   – Internet audio, video streaming
Real time multimedia application
requirements
 – Sequencing
    – to report PDU loss
    – to report PDU reordering
    – to perform out-of-order decoding


 – Time stamping and Buffering
    – for play out
    – for jitter and delay calculation

 – Payload type identification
    – for media interpretation


 – Error concealment –
   – covers up errors from lost PDU by using redundancy in most-adjacent-frame
Real time multimedia application
requirements
 – Rate control –
   – Sender reduces sending rate adaptively to network
     congestion

 – Quality of Service (QoS) feedback –
   – From receiver to sender for operation adjustment
Limitations of TCP
• TCP is not used because-
   • TCP does retransmissions  unbounded
     delays
   • No provision for time stampings(slow and
     noisy walks )
   • TCP does not support multicast
   • TCP congestion control (slow-start) unsuitable
     for real-time transport
RTP & RTCP Overview
• Standardized packet format for delivering audio and video
  over IP networks.
• Used in communication and entertainment systems that
  involve streaming media, such as telephony, video
  teleconference applications, television services and web-
  based push-to-talk features.
• RTP is used in conjunction with the RTP Control Protocol
  (RTCP). While RTP carries the media streams (e.g., audio
  and video), RTCP is used to monitor transmission statistics
  and quality of service (QoS) and aids synchronization of
  multiple streams.
RTP & RTCP Overview
• RTP is originated and received on even port numbers
  and the associated RTCP communication uses the next
  higher odd port number.
• RTP is designed for end-to-end, real-time, transfer of
  stream data. The protocol provides facility for jitter
  compensation and detection of out of sequence arrival
  in data, that are common during transmissions on an IP
  network.
• RTP supports data transfer to multiple destinations
  through IP multicast. RTP is regarded as the primary
  standard for audio/video transport in IP networks and is
  used with an associated profile and payload format.
Protocol stack for multimedia
services

                                       RTSP




                                TCP
                                (till now)
RTP Packets
• Consist of RTP header, optional payload headers and the
  payload itself RTP overhead = 12 bytes
• IP+UDP+RTP overhead = 20+8+12 = 40 bytes

• It is advisable to keep coded slice sizes as close to, but
  never bigger than, the MTU size (largest size of a packet
  that can be transmitted without being split/recombined
  on the transport and network layer)
RTP Packets
• Reasons are as follows :-
  • It optimizes the payload/header overhead relationship
  • Minimizes the loss probability of a (fragmented) coded slice
    due to the loss of a single fragment on the
    network/transport layer and the resulting discarding of all
    other fragments belonging to the coded slice.
  • MTU sizes:-
     • ~1500 bytes for wireline IP links (max. size of an Ethernet
       packet)
     • ~100 bytes in wireless environments
RTP packet example
• DVD quality video transmission:-
  • 30 frames/s, 720x480 resolution, 3 bytes per pixel
  • 31,104,000 bytes/s raw rate
  • 311,040 bytes/s compressed data rate (100x
   compression)
  • MTU = 1500 bytes:-
    • 311,040/1460 = 213 packets/s > 319,500 bytes/s
      (required throughput including overhead)
  • MTU = 100 bytes:-
    • 311,040/60 = 5184 packets/s -> 518,400 bytes/s
      (required throughput)
RTP Header
RTP header contains the following:-
 • Sequence number
  • used for packet-loss detection
• Timestamp
  • Timing information
  • synchronization of media streams
• Payload type
  • Identifies the media codec of the payload
RTP Header
RTP header contains the following:-
• Marker Bit
  • Detecting the end of a group of related packets
• source identifiers
  • Contributing and Synchronizing
SIP SESSION




• RTP session is sending and receiving of RTP data by a group of
  participants
   • For each participant, a session is a pair of transport
     addresses used to communicate with the group
• If multiple media types are communicated by the group, the
  transmission of each medium constitutes a session.
RTP Synchronization Source




• Synchronization Source :-
   • Each source of RTP PDUs Identified by a unique ,randomly
     chosen 32-bit ID (the SSRC).
• A host generating multiple streams within a single RTP must use
  a different SSRC per stream
RTP Basics of Data Transmission
       • RTP PDUs
RTP PDU Header                               Incremented by one
Sampling instant of first data octet
                                                  for each RTP PDU:
 multiple PDUs can have same
timestamp                                             PDU loss
                             Payload
                                                      detection
 not necessarily monotonic   type
used to synchronize different
                                                      Restore PDU
                                                      sequence
media streams




  Identifies synchronization                   (used by mixer)
  source                               Identifies contributing sources
Example – Mixers and Translators
• Mixers:-
  • RTP-level entity that receives streams of RTP data packets
    from one or more sources and combines them into a single
    stream.
  • Mixer is like a new RTP-level source to the receivers.
  • Mixer can re-synchronize the incoming stream and
    generates its own timing info.
• Translator
  • Forwards RTP packets from different sources separately.
  • Translator is more transparent. Receivers can identify
    individual sources even though packets pass through the
    same translator and carry the translator’s network source
    address.
Translators and Mixers
• The real distinction between mixers and translators:-
  • SSRC identifier is not changed at a translator, but is changed
    at a mixer.
  • They both use a different transport address (network
    address + port) at the output side.
• Multiple data packets can be combined into one.
• Uses of translators and mixers:-
  •   Go-through firewalls
  •   Transcoding for low-bandwidth links
  •   Adding or removing encryption
  •   Emulating multicast address with one or more unicast
      addresses.
Mixers




A mixer will typically have to define synchronization relationships
between streams.
    Sources that are mixed together become contributing sources
   (CSRC)
    Mixer itself appears as a new source having a new SSRC
Translators
An intermediate system that…
   Connects two or more networks
       Multicasting through a firewall
       Modifies stream encoding, changing the stream’s timing
       Transparent to participants
       SSRC’s remain intact
end system 1                      from ES1: SSRC=6
   from ES1: SSRC=6               from ES2: SSRC=23
                       transl.1                       transl.2
   from ES2: SSRC=23              authorized tunnel
end system 2                          firewall        from ES1: SSRC=6
                                                      from ES2: SSRC=23
RTCP
• The RTP control protocol (RTCP) is based on the periodic
  transmission of control packets to all participants in the
  session, using the same distribution mechanism as the data
  packets.
• The underlying protocol must provide multiplexing of the data
  and control packets, for example using separate port numbers
  with UDP.
• It is recommended that the fraction of the session bandwidth
  allocated to the RTCP is 5%.
• The primary function of this protocol is to provide feedback on the
  quality of the data distribution.
• RTCP
RTP Control Protocol (RTCP)
 RTCP specifies report PDUs exchanged
between sources and destinations of
multimedia information
    receiver reception report

    sender report

    source description report

 Reports contain statistics such as the
number of RTP-PDUs sent, number of
RTP-PDUs lost, inter-arrival jitter
 Used by application to modify sender
transmission rates and for diagnostics
purposes
RTCP PACKETS
• SR – sender report, for transmission
  and reception statistics from
  participants that are active senders
• RR - Receiver report, for reception
  statistics from participants that are
  not active senders and in combination
  with SR for active senders reporting
  on more than 31 sources
• SDES - Source description
  items, including CNAME (Canonical
  Name – RTP source identifier)
• BYE - Indicates end of participation
• APP - Application specific functions
RTCP PACKETS
Conclusions
• RTP provides powerful instruments for adaptive video transmission.
• Potential applications include wireless links.
• Optimization can be done within the frames of the protocol
  specification (loosely defined packet sizes and RTCP communication
• frequency)

Contenu connexe

Tendances

Streaming Media Protocols
Streaming Media ProtocolsStreaming Media Protocols
Streaming Media Protocolssanjoysanyal
 
Multicast Routing Protocols
Multicast Routing ProtocolsMulticast Routing Protocols
Multicast Routing ProtocolsRam Dutt Shukla
 
Real time transport protocol
Real time transport protocolReal time transport protocol
Real time transport protocolSwaroopSorte
 
User datagram protocol (udp)
User datagram protocol (udp)User datagram protocol (udp)
User datagram protocol (udp)Ramola Dhande
 
Multimedia networking
Multimedia networkingMultimedia networking
Multimedia networkingKikima Jimmy
 
Integrated and Differentiated services Chapter 17
Integrated and Differentiated services Chapter 17Integrated and Differentiated services Chapter 17
Integrated and Differentiated services Chapter 17daniel ayalew
 
IEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and ServicesIEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and ServicesSayed Chhattan Shah
 
Adv multimedia2k7 1_s
Adv multimedia2k7 1_sAdv multimedia2k7 1_s
Adv multimedia2k7 1_sKevin Man
 
Fundamental of Quality of Service(QoS)
Fundamental of Quality of Service(QoS) Fundamental of Quality of Service(QoS)
Fundamental of Quality of Service(QoS) Reza Farahani
 
Tcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport LayerTcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport Layertmavroidis
 
Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Peter R. Egli
 

Tendances (20)

Streaming Media Protocols
Streaming Media ProtocolsStreaming Media Protocols
Streaming Media Protocols
 
Multicast Routing Protocols
Multicast Routing ProtocolsMulticast Routing Protocols
Multicast Routing Protocols
 
Rtsp
RtspRtsp
Rtsp
 
Real time transport protocol
Real time transport protocolReal time transport protocol
Real time transport protocol
 
User datagram protocol (udp)
User datagram protocol (udp)User datagram protocol (udp)
User datagram protocol (udp)
 
IGMP
IGMPIGMP
IGMP
 
Sania rtp
Sania rtpSania rtp
Sania rtp
 
Quality of Service
Quality of ServiceQuality of Service
Quality of Service
 
IP Multicasting
IP MulticastingIP Multicasting
IP Multicasting
 
Congestion control in TCP
Congestion control in TCPCongestion control in TCP
Congestion control in TCP
 
Multimedia networking
Multimedia networkingMultimedia networking
Multimedia networking
 
Integrated and Differentiated services Chapter 17
Integrated and Differentiated services Chapter 17Integrated and Differentiated services Chapter 17
Integrated and Differentiated services Chapter 17
 
Gsm radio-interface
Gsm radio-interfaceGsm radio-interface
Gsm radio-interface
 
Transport layer
Transport layer Transport layer
Transport layer
 
IEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and ServicesIEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and Services
 
Snmp
SnmpSnmp
Snmp
 
Adv multimedia2k7 1_s
Adv multimedia2k7 1_sAdv multimedia2k7 1_s
Adv multimedia2k7 1_s
 
Fundamental of Quality of Service(QoS)
Fundamental of Quality of Service(QoS) Fundamental of Quality of Service(QoS)
Fundamental of Quality of Service(QoS)
 
Tcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport LayerTcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport Layer
 
Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)
 

Similaire à RTP & RTCP: Real-Time Transport Protocol and Real-Time Control Protocol Overview

RTP_RTCP.ppt
RTP_RTCP.pptRTP_RTCP.ppt
RTP_RTCP.pptumas1234
 
Transport protocols
Transport protocolsTransport protocols
Transport protocolsOnline
 
Transport layer services
Transport layer servicesTransport layer services
Transport layer servicesMelvin Cabatuan
 
DT021_4_Notes 4_QOS_Rev_M.pdf
DT021_4_Notes 4_QOS_Rev_M.pdfDT021_4_Notes 4_QOS_Rev_M.pdf
DT021_4_Notes 4_QOS_Rev_M.pdfSubhanshu5
 
8. TDM Mux_Demux.pdf
8. TDM Mux_Demux.pdf8. TDM Mux_Demux.pdf
8. TDM Mux_Demux.pdfTabrezahmed39
 
Traffic Characterization
Traffic CharacterizationTraffic Characterization
Traffic CharacterizationIsmail Mukiibi
 
Sip technology overview
Sip technology overviewSip technology overview
Sip technology overviewOded Ben-Dori
 
Networking essentials lect3
Networking essentials lect3Networking essentials lect3
Networking essentials lect3Roman Brovko
 
REMnux tutorial 4.1 - Datagrams, Fragmentation & Anomalies
REMnux tutorial 4.1 - Datagrams, Fragmentation & AnomaliesREMnux tutorial 4.1 - Datagrams, Fragmentation & Anomalies
REMnux tutorial 4.1 - Datagrams, Fragmentation & AnomaliesRhydham Joshi
 
Unit 4-Transport Layer Protocols-3.pptx
Unit 4-Transport Layer Protocols-3.pptxUnit 4-Transport Layer Protocols-3.pptx
Unit 4-Transport Layer Protocols-3.pptxDESTROYER39
 
Unit 4-Transport Layer Protocols.pptx
Unit 4-Transport Layer Protocols.pptxUnit 4-Transport Layer Protocols.pptx
Unit 4-Transport Layer Protocols.pptxsarosh32
 

Similaire à RTP & RTCP: Real-Time Transport Protocol and Real-Time Control Protocol Overview (20)

Realtimetapan
RealtimetapanRealtimetapan
Realtimetapan
 
Rtp
RtpRtp
Rtp
 
RTP_RTCP.ppt
RTP_RTCP.pptRTP_RTCP.ppt
RTP_RTCP.ppt
 
Rtp
RtpRtp
Rtp
 
Multimedia networks
Multimedia networksMultimedia networks
Multimedia networks
 
Transport protocols
Transport protocolsTransport protocols
Transport protocols
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
 
Transport layer services
Transport layer servicesTransport layer services
Transport layer services
 
DT021_4_Notes 4_QOS_Rev_M.pdf
DT021_4_Notes 4_QOS_Rev_M.pdfDT021_4_Notes 4_QOS_Rev_M.pdf
DT021_4_Notes 4_QOS_Rev_M.pdf
 
TCP/IP & UDP
TCP/IP & UDPTCP/IP & UDP
TCP/IP & UDP
 
Transport layer protocol
Transport layer protocolTransport layer protocol
Transport layer protocol
 
8. TDM Mux_Demux.pdf
8. TDM Mux_Demux.pdf8. TDM Mux_Demux.pdf
8. TDM Mux_Demux.pdf
 
Traffic Characterization
Traffic CharacterizationTraffic Characterization
Traffic Characterization
 
Sip technology overview
Sip technology overviewSip technology overview
Sip technology overview
 
Transport layer.pptx
Transport layer.pptxTransport layer.pptx
Transport layer.pptx
 
Networking essentials lect3
Networking essentials lect3Networking essentials lect3
Networking essentials lect3
 
REMnux tutorial 4.1 - Datagrams, Fragmentation & Anomalies
REMnux tutorial 4.1 - Datagrams, Fragmentation & AnomaliesREMnux tutorial 4.1 - Datagrams, Fragmentation & Anomalies
REMnux tutorial 4.1 - Datagrams, Fragmentation & Anomalies
 
Unit 5.Transport Layer.pptx
Unit 5.Transport Layer.pptxUnit 5.Transport Layer.pptx
Unit 5.Transport Layer.pptx
 
Unit 4-Transport Layer Protocols-3.pptx
Unit 4-Transport Layer Protocols-3.pptxUnit 4-Transport Layer Protocols-3.pptx
Unit 4-Transport Layer Protocols-3.pptx
 
Unit 4-Transport Layer Protocols.pptx
Unit 4-Transport Layer Protocols.pptxUnit 4-Transport Layer Protocols.pptx
Unit 4-Transport Layer Protocols.pptx
 

Dernier

Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 

Dernier (20)

Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 

RTP & RTCP: Real-Time Transport Protocol and Real-Time Control Protocol Overview

  • 2. Need of RTP • Real-time multimedia applications – Video teleconferencing – Internet Telephony (VoIP) – Internet audio, video streaming
  • 3. Real time multimedia application requirements – Sequencing – to report PDU loss – to report PDU reordering – to perform out-of-order decoding – Time stamping and Buffering – for play out – for jitter and delay calculation – Payload type identification – for media interpretation – Error concealment – – covers up errors from lost PDU by using redundancy in most-adjacent-frame
  • 4. Real time multimedia application requirements – Rate control – – Sender reduces sending rate adaptively to network congestion – Quality of Service (QoS) feedback – – From receiver to sender for operation adjustment
  • 5. Limitations of TCP • TCP is not used because- • TCP does retransmissions  unbounded delays • No provision for time stampings(slow and noisy walks ) • TCP does not support multicast • TCP congestion control (slow-start) unsuitable for real-time transport
  • 6. RTP & RTCP Overview • Standardized packet format for delivering audio and video over IP networks. • Used in communication and entertainment systems that involve streaming media, such as telephony, video teleconference applications, television services and web- based push-to-talk features. • RTP is used in conjunction with the RTP Control Protocol (RTCP). While RTP carries the media streams (e.g., audio and video), RTCP is used to monitor transmission statistics and quality of service (QoS) and aids synchronization of multiple streams.
  • 7. RTP & RTCP Overview • RTP is originated and received on even port numbers and the associated RTCP communication uses the next higher odd port number. • RTP is designed for end-to-end, real-time, transfer of stream data. The protocol provides facility for jitter compensation and detection of out of sequence arrival in data, that are common during transmissions on an IP network. • RTP supports data transfer to multiple destinations through IP multicast. RTP is regarded as the primary standard for audio/video transport in IP networks and is used with an associated profile and payload format.
  • 8. Protocol stack for multimedia services RTSP TCP (till now)
  • 9. RTP Packets • Consist of RTP header, optional payload headers and the payload itself RTP overhead = 12 bytes • IP+UDP+RTP overhead = 20+8+12 = 40 bytes • It is advisable to keep coded slice sizes as close to, but never bigger than, the MTU size (largest size of a packet that can be transmitted without being split/recombined on the transport and network layer)
  • 10. RTP Packets • Reasons are as follows :- • It optimizes the payload/header overhead relationship • Minimizes the loss probability of a (fragmented) coded slice due to the loss of a single fragment on the network/transport layer and the resulting discarding of all other fragments belonging to the coded slice. • MTU sizes:- • ~1500 bytes for wireline IP links (max. size of an Ethernet packet) • ~100 bytes in wireless environments
  • 11. RTP packet example • DVD quality video transmission:- • 30 frames/s, 720x480 resolution, 3 bytes per pixel • 31,104,000 bytes/s raw rate • 311,040 bytes/s compressed data rate (100x compression) • MTU = 1500 bytes:- • 311,040/1460 = 213 packets/s > 319,500 bytes/s (required throughput including overhead) • MTU = 100 bytes:- • 311,040/60 = 5184 packets/s -> 518,400 bytes/s (required throughput)
  • 12. RTP Header RTP header contains the following:- • Sequence number • used for packet-loss detection • Timestamp • Timing information • synchronization of media streams • Payload type • Identifies the media codec of the payload
  • 13. RTP Header RTP header contains the following:- • Marker Bit • Detecting the end of a group of related packets • source identifiers • Contributing and Synchronizing
  • 14. SIP SESSION • RTP session is sending and receiving of RTP data by a group of participants • For each participant, a session is a pair of transport addresses used to communicate with the group • If multiple media types are communicated by the group, the transmission of each medium constitutes a session.
  • 15. RTP Synchronization Source • Synchronization Source :- • Each source of RTP PDUs Identified by a unique ,randomly chosen 32-bit ID (the SSRC). • A host generating multiple streams within a single RTP must use a different SSRC per stream
  • 16. RTP Basics of Data Transmission • RTP PDUs
  • 17. RTP PDU Header Incremented by one Sampling instant of first data octet for each RTP PDU: multiple PDUs can have same timestamp PDU loss Payload detection not necessarily monotonic type used to synchronize different Restore PDU sequence media streams Identifies synchronization (used by mixer) source Identifies contributing sources
  • 18.
  • 19. Example – Mixers and Translators • Mixers:- • RTP-level entity that receives streams of RTP data packets from one or more sources and combines them into a single stream. • Mixer is like a new RTP-level source to the receivers. • Mixer can re-synchronize the incoming stream and generates its own timing info. • Translator • Forwards RTP packets from different sources separately. • Translator is more transparent. Receivers can identify individual sources even though packets pass through the same translator and carry the translator’s network source address.
  • 20. Translators and Mixers • The real distinction between mixers and translators:- • SSRC identifier is not changed at a translator, but is changed at a mixer. • They both use a different transport address (network address + port) at the output side. • Multiple data packets can be combined into one. • Uses of translators and mixers:- • Go-through firewalls • Transcoding for low-bandwidth links • Adding or removing encryption • Emulating multicast address with one or more unicast addresses.
  • 21. Mixers A mixer will typically have to define synchronization relationships between streams.  Sources that are mixed together become contributing sources (CSRC)  Mixer itself appears as a new source having a new SSRC
  • 22. Translators An intermediate system that…  Connects two or more networks  Multicasting through a firewall  Modifies stream encoding, changing the stream’s timing  Transparent to participants  SSRC’s remain intact end system 1 from ES1: SSRC=6 from ES1: SSRC=6 from ES2: SSRC=23 transl.1 transl.2 from ES2: SSRC=23 authorized tunnel end system 2 firewall from ES1: SSRC=6 from ES2: SSRC=23
  • 23. RTCP • The RTP control protocol (RTCP) is based on the periodic transmission of control packets to all participants in the session, using the same distribution mechanism as the data packets. • The underlying protocol must provide multiplexing of the data and control packets, for example using separate port numbers with UDP. • It is recommended that the fraction of the session bandwidth allocated to the RTCP is 5%. • The primary function of this protocol is to provide feedback on the quality of the data distribution. • RTCP
  • 24. RTP Control Protocol (RTCP)  RTCP specifies report PDUs exchanged between sources and destinations of multimedia information  receiver reception report  sender report  source description report  Reports contain statistics such as the number of RTP-PDUs sent, number of RTP-PDUs lost, inter-arrival jitter  Used by application to modify sender transmission rates and for diagnostics purposes
  • 25. RTCP PACKETS • SR – sender report, for transmission and reception statistics from participants that are active senders • RR - Receiver report, for reception statistics from participants that are not active senders and in combination with SR for active senders reporting on more than 31 sources • SDES - Source description items, including CNAME (Canonical Name – RTP source identifier) • BYE - Indicates end of participation • APP - Application specific functions
  • 27. Conclusions • RTP provides powerful instruments for adaptive video transmission. • Potential applications include wireless links. • Optimization can be done within the frames of the protocol specification (loosely defined packet sizes and RTCP communication • frequency)