SlideShare a Scribd company logo
Streaming Media Protocols Understand “Standard” Streaming Media Protocols and Introduce the main commercially used ones  Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
Streaming Media Protocols Real Time Transport (RTP) and its control protocol RTCP: Addresses the time critical high bandwidth needs of streaming  Real Time Streaming Protocol Allows play pause fast forward  Synchronised Multimedia Integration Language (SMIL)  Text based mark up language that allows multimedia elements to be precisely presented in a time constrained manner  Streaming media is media types with time constraints and continuous data flow Content can be prerecorded or live Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
Why is HTTP not suitable for streaming HTTP runs on TCP together they have these limitations : TCP enforces reliability without regard to timeliness.  TCP changes the data transfer rate of the client-server connection according to the availability of bandwidth, not the needs of the media.  HTTP has only rudimentary mechanisms for random access.  TCP is not suited to multicast.  Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
Real-Time Transport Protocol (RTP) - basics RTP transports streaming media on UDP UDP unlike TCP does not have retransmission and data rate management services which makes it more efficient for streaming  RTP streams are typically sent in parallel with RTCP (control) RTP streams and RTCP packets are transmitted separately for audio & video  Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
How does RTP help in correct media decoding?  Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/ Header Information Function Packet Sequence number Allow the receiver to reconstruct the sender’s packet sequence  M bit header information of significant events Significant events (such as a frame boundary) help in control of decoder operations  Synchronization Source a 32 bit number To identify packets derived from a source with a common  time base and packet sequence  and therefore help in synchronizing
How does RTP work?...Mixers & Translators Together mixers and translators allows RTP to accommodate a variety of network and receiver configurations  Mixers What it does? Resynchronizes media packets to reconstruct the stream & combines the streams How does it work? Acts a timing source and writes its own SSRC identifier into each RTP packet header   Translator What it does? Transforms media packets based on network demands  How does it work? Function includes changing encoding formats, regenerate packet sequence numbers, replicating from unicast to multicast… Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
Real-Time Control Protocol (RTCP) What does RTCP do? Provides the sender and the receiver with timely reports on the QoS (Quality of Service) Information about the participant in an ongoing session Helpful in diagnosing problems, controlling codecs  What Ports are used by RTP and RTCP? RTP: on an even numbered port  RTCP: on the next higher (therefore odd) numbered port How does RTCP work? RTCP functions using Receiver Report (RR) packet containing: The fraction  of lost packets The cumulative number of lost packets  The highest sequence number packet received  The interarrival jeter (variance of the RTP data packet interarrival time)  The identification of the last Sender Report (SR) packet recd. from sender The delay since the last SR packet  Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
Real Time Streaming Protocol (RTSP) Provides select/play, pause/fast forward functions  Relies on RTP to deliver the actual media stream it controls  RTSP can be transferred over UDP but it is usually over TCP RTSP reuses HTTP concepts when possible Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
How does RTSP work?…RTSP methods DESCRIBE (C  S):  Retrieves from server the description of object specified by URL  ANNOUNCE C  S: describes an object specified by URL C  S: updates session describition SETUP (C  S): specifies the transport mechanism  SETUP (C  S):tells the server to start sending data  PAUSE (C  S) TEARDDOWN (C  S): stop  REDIRECT (S  C): tells client to connect to another server RECORD (C  S): initatiates recording Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
How do the Protocols work together? RTSP RTP UDP TCP IP RTCP HTTP A Protocol Layer view Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/ Application Transport Network
How do the Protocols work together? RTSP Client Web Server HTTP GET Session Description including  rtsp://audio.hiphop.com/track01  SETUP  rtsp://audio.hiphop.com/track01 Transport:RTP/UDP:unicast:client_port=4588-4589  Acknowledgement, Sequence Number …. PLAY  rtsp://audio.hiphop.com/track01 Cseq: XXX Sesssion = 420123  RTP Audio Streams RTCP Information TEARDOWN  rtsp://audio.hiphop.com/track01 Cseq: XXX Sesssion = 420123  Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
Synchronized Multimedia Integratation Language What it does? SMIL sequences streams relative to a single time base What is it? XML-based markup language that provides multimedia screen layout and timing capabilities How does it work? SMIL media tags: <animation>, <audio>, <img>, <ref>, <text>, <textstream>, <video>  SMIL timing tags: <seq>: two or more clips should be played in sequence  <par>: one or more clips share a common time base  <excl>: only one of the media clips may be active  at one time  Also : <beg>, <dur>, <end> Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
Proprietary Protocols Dominant companies use proprietary protocol Real Networks  Progressive Network Architecture (PNA) in place of RTSP Real Data Transport Protocol (RDT) in place of RTP  Microsoft  Microsoft Media Server (MMS)  Apple Quicktime  Adobe FlV  Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
Summary  Three standard protocols for streaming media: RTP,RTCP and RTSP  They work together for transporting streaming media , provide satisfactory user experience and user controls  SMIL is used to create “multimedia” content  Major companies use similar technologies but not exactly standard protocols  Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/

More Related Content

PDF
Multimedia Network
PPT
RTP.ppt
PPS
MPEG/Audio Compression
PPT
Audio Codec
PPT
Chapter 6 : VIDEO
PDF
Chapter 6 - Multimedia Over Ip
PPTX
Multimedia
PPTX
Audio compression
Multimedia Network
RTP.ppt
MPEG/Audio Compression
Audio Codec
Chapter 6 : VIDEO
Chapter 6 - Multimedia Over Ip
Multimedia
Audio compression

What's hot (20)

PPT
Video Streaming
PPT
Real-Time Streaming Protocol
PPT
Chapter 3 : IMAGE
PPT
Video Streaming - 4.ppt
PPT
Video Coding Standard
PDF
Video Compression
PDF
VVC tutorial at ICIP 2020 together with Benjamin Bross
PDF
Thinking about IP migration
PDF
Multimedia technology
PDF
Media streaming
PPTX
Multimedia chapter 4
PDF
SDI to IP 2110 Transition Part 1
PPT
Chapter 4 : SOUND
PDF
mpeg2ts1_es_pes_ps_ts_psi
PPT
Audio and video compression
PDF
Multimedia- How Internet Works
PPTX
Multimedia-Lecture-3.pptx
PDF
An Introduction to Video Principles-Part 2
PPTX
Multimedia basic video compression techniques
Video Streaming
Real-Time Streaming Protocol
Chapter 3 : IMAGE
Video Streaming - 4.ppt
Video Coding Standard
Video Compression
VVC tutorial at ICIP 2020 together with Benjamin Bross
Thinking about IP migration
Multimedia technology
Media streaming
Multimedia chapter 4
SDI to IP 2110 Transition Part 1
Chapter 4 : SOUND
mpeg2ts1_es_pes_ps_ts_psi
Audio and video compression
Multimedia- How Internet Works
Multimedia-Lecture-3.pptx
An Introduction to Video Principles-Part 2
Multimedia basic video compression techniques
Ad

Viewers also liked (20)

PPTX
Multimedia
PPTX
Unit 5 multimedia learning object
PPTX
business
PPT
Sania rtp
PDF
MediaPlayer Playing Flow
PPT
H.323: Packet Network Protocol
PPTX
Streaming media presentation
PPT
Audio and Video streaming.ppt
PDF
08 android multimedia_framework_overview
PPTX
Operating system
PPTX
PDF
RIL and Android Telephony
PPTX
PPT
PPT
Audio and video streaming
PPT
Chapter 29 Domain Name System.ppt
PPT
HTTP Basics
PPT
Data Compression Technique
PPT
E Mail Basic
PPTX
Presentation on dns
Multimedia
Unit 5 multimedia learning object
business
Sania rtp
MediaPlayer Playing Flow
H.323: Packet Network Protocol
Streaming media presentation
Audio and Video streaming.ppt
08 android multimedia_framework_overview
Operating system
RIL and Android Telephony
Audio and video streaming
Chapter 29 Domain Name System.ppt
HTTP Basics
Data Compression Technique
E Mail Basic
Presentation on dns
Ad

Similar to Streaming Media Protocols (20)

PPTX
RIP RTCP RTSP
PPTX
PPT
Audio And Video Over Internet
PPTX
Streaming multimedia
PPTX
Real time transport protocol
PPTX
Realtimetapan
PPT
Multimedia
PPTX
Introduction-to-Real-Time-Transport-Protocols (2).pptx
PPT
Sip technology overview
PPT
RTP_RTCP.ppt
PDF
Video Streaming
PPTX
Multimedia data compression challenge and their solution
PPT
Internet Video
PPT
29 Multimedia
PDF
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-based
PPT
Chapter 29 - Mutimedia
PPT
Chapter 29
PPTX
Multimedia streming surver aiw
RIP RTCP RTSP
Audio And Video Over Internet
Streaming multimedia
Real time transport protocol
Realtimetapan
Multimedia
Introduction-to-Real-Time-Transport-Protocols (2).pptx
Sip technology overview
RTP_RTCP.ppt
Video Streaming
Multimedia data compression challenge and their solution
Internet Video
29 Multimedia
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-based
Chapter 29 - Mutimedia
Chapter 29
Multimedia streming surver aiw

More from sanjoysanyal (20)

PPTX
PPT
Windindustryin India
PPT
Solar Industryin India
PPT
Bio Fuel Industryin India
PPT
Introduction to Carbon Markets
PPT
Virtualization VMWare technology
PPT
Microsoft Virtualization View
PPT
Introductionto Solar
PPT
Introductionto Solar
PPT
Topic6 Basic Web Services Technology
PPT
Topic6 Basic Web Services Technology
PPT
Topic5 Web Services
PPT
Topic4 Application Servers
PPT
Topic3 Enterprise Application Integration
PPT
Topic2 Understanding Middleware
PPT
Topic1 Understanding Distributed Information Systems
PPT
Content Navigation
PPT
Instantmessagingprotocols
PPT
Peerto Peer Networks
PPT
Caching Techniquesfor Content Delivery
Windindustryin India
Solar Industryin India
Bio Fuel Industryin India
Introduction to Carbon Markets
Virtualization VMWare technology
Microsoft Virtualization View
Introductionto Solar
Introductionto Solar
Topic6 Basic Web Services Technology
Topic6 Basic Web Services Technology
Topic5 Web Services
Topic4 Application Servers
Topic3 Enterprise Application Integration
Topic2 Understanding Middleware
Topic1 Understanding Distributed Information Systems
Content Navigation
Instantmessagingprotocols
Peerto Peer Networks
Caching Techniquesfor Content Delivery

Recently uploaded (20)

PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Empathic Computing: Creating Shared Understanding
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Approach and Philosophy of On baking technology
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
Cloud computing and distributed systems.
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Reach Out and Touch Someone: Haptics and Empathic Computing
Digital-Transformation-Roadmap-for-Companies.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Per capita expenditure prediction using model stacking based on satellite ima...
NewMind AI Monthly Chronicles - July 2025
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Spectral efficient network and resource selection model in 5G networks
Empathic Computing: Creating Shared Understanding
NewMind AI Weekly Chronicles - August'25 Week I
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
cuic standard and advanced reporting.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
The AUB Centre for AI in Media Proposal.docx
Approach and Philosophy of On baking technology
Encapsulation_ Review paper, used for researhc scholars
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Mobile App Security Testing_ A Comprehensive Guide.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Cloud computing and distributed systems.
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...

Streaming Media Protocols

  • 1. Streaming Media Protocols Understand “Standard” Streaming Media Protocols and Introduce the main commercially used ones Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
  • 2. Streaming Media Protocols Real Time Transport (RTP) and its control protocol RTCP: Addresses the time critical high bandwidth needs of streaming Real Time Streaming Protocol Allows play pause fast forward Synchronised Multimedia Integration Language (SMIL) Text based mark up language that allows multimedia elements to be precisely presented in a time constrained manner Streaming media is media types with time constraints and continuous data flow Content can be prerecorded or live Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
  • 3. Why is HTTP not suitable for streaming HTTP runs on TCP together they have these limitations : TCP enforces reliability without regard to timeliness. TCP changes the data transfer rate of the client-server connection according to the availability of bandwidth, not the needs of the media. HTTP has only rudimentary mechanisms for random access. TCP is not suited to multicast. Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
  • 4. Real-Time Transport Protocol (RTP) - basics RTP transports streaming media on UDP UDP unlike TCP does not have retransmission and data rate management services which makes it more efficient for streaming RTP streams are typically sent in parallel with RTCP (control) RTP streams and RTCP packets are transmitted separately for audio & video Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
  • 5. How does RTP help in correct media decoding? Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/ Header Information Function Packet Sequence number Allow the receiver to reconstruct the sender’s packet sequence M bit header information of significant events Significant events (such as a frame boundary) help in control of decoder operations Synchronization Source a 32 bit number To identify packets derived from a source with a common time base and packet sequence and therefore help in synchronizing
  • 6. How does RTP work?...Mixers & Translators Together mixers and translators allows RTP to accommodate a variety of network and receiver configurations Mixers What it does? Resynchronizes media packets to reconstruct the stream & combines the streams How does it work? Acts a timing source and writes its own SSRC identifier into each RTP packet header Translator What it does? Transforms media packets based on network demands How does it work? Function includes changing encoding formats, regenerate packet sequence numbers, replicating from unicast to multicast… Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
  • 7. Real-Time Control Protocol (RTCP) What does RTCP do? Provides the sender and the receiver with timely reports on the QoS (Quality of Service) Information about the participant in an ongoing session Helpful in diagnosing problems, controlling codecs What Ports are used by RTP and RTCP? RTP: on an even numbered port RTCP: on the next higher (therefore odd) numbered port How does RTCP work? RTCP functions using Receiver Report (RR) packet containing: The fraction of lost packets The cumulative number of lost packets The highest sequence number packet received The interarrival jeter (variance of the RTP data packet interarrival time) The identification of the last Sender Report (SR) packet recd. from sender The delay since the last SR packet Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
  • 8. Real Time Streaming Protocol (RTSP) Provides select/play, pause/fast forward functions Relies on RTP to deliver the actual media stream it controls RTSP can be transferred over UDP but it is usually over TCP RTSP reuses HTTP concepts when possible Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
  • 9. How does RTSP work?…RTSP methods DESCRIBE (C S): Retrieves from server the description of object specified by URL ANNOUNCE C S: describes an object specified by URL C S: updates session describition SETUP (C S): specifies the transport mechanism SETUP (C S):tells the server to start sending data PAUSE (C S) TEARDDOWN (C S): stop REDIRECT (S C): tells client to connect to another server RECORD (C S): initatiates recording Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
  • 10. How do the Protocols work together? RTSP RTP UDP TCP IP RTCP HTTP A Protocol Layer view Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/ Application Transport Network
  • 11. How do the Protocols work together? RTSP Client Web Server HTTP GET Session Description including rtsp://audio.hiphop.com/track01 SETUP rtsp://audio.hiphop.com/track01 Transport:RTP/UDP:unicast:client_port=4588-4589 Acknowledgement, Sequence Number …. PLAY rtsp://audio.hiphop.com/track01 Cseq: XXX Sesssion = 420123 RTP Audio Streams RTCP Information TEARDOWN rtsp://audio.hiphop.com/track01 Cseq: XXX Sesssion = 420123 Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
  • 12. Synchronized Multimedia Integratation Language What it does? SMIL sequences streams relative to a single time base What is it? XML-based markup language that provides multimedia screen layout and timing capabilities How does it work? SMIL media tags: <animation>, <audio>, <img>, <ref>, <text>, <textstream>, <video> SMIL timing tags: <seq>: two or more clips should be played in sequence <par>: one or more clips share a common time base <excl>: only one of the media clips may be active at one time Also : <beg>, <dur>, <end> Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
  • 13. Proprietary Protocols Dominant companies use proprietary protocol Real Networks Progressive Network Architecture (PNA) in place of RTSP Real Data Transport Protocol (RDT) in place of RTP Microsoft Microsoft Media Server (MMS) Apple Quicktime Adobe FlV Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/
  • 14. Summary Three standard protocols for streaming media: RTP,RTCP and RTSP They work together for transporting streaming media , provide satisfactory user experience and user controls SMIL is used to create “multimedia” content Major companies use similar technologies but not exactly standard protocols Sanjoy Sanyal: http://itforintelligentfolks.blogspot.com/