Streaming Media. Unicast Redundant traffic Multicast One to many.

Slides:



Advertisements
Similar presentations
Streaming Video over the Internet
Advertisements

RTP/RTCP multimedia protocols for the Internet Center for Software Development CSD, BITS - Pilani CopyRight:
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
RTP: A Transport Protocol for Real-Time Applications Provides end-to-end delivery services for data with real-time characteristics, such as interactive.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 25 Multimedia.
User Control of Streaming Media: RTSP
Internet Video By Mo Li. Video over the Internet Introduction Video & Internet: the problems Solutions & Technologies in use Discussion.
Presented by: Yuvraj Khadke CISC 856: TCP/IP and Upper Layer Protocols 11/29/2012 Credits to: Christopher Thorpe, Varsha Mahadevan, Kevin Jeffay, James.
Multimedia Streaming Protocols1 Multimedia Streaming: Jun Lu Xinran (Ryan) Wu CSE228 Multimedia Systems Challenges and Protocols.
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time, Interactive Multimedia: Internet.
Streaming Video over the Internet: Approaches and Directions Dapeng Wu, Yiwei Thomas Hou et al. Presented by: Abhishek Gupta
An Introduction to the Real-time Transport Protocol (RTP) Ye Xia WebTP Meeting 12/12/00.
Real-time Transport Protocol Matt Boutell CS457: Computer Networks November 15, 2001.
Multimedia Applications r Multimedia requirements r Streaming r Phone over IP r Recovering from Jitter and Loss r RTP r Diff-serv, Int-serv, RSVP.
CSc 461/561 CSc 461/561 Multimedia Systems Part C: 1. RTP/RTCP.
Streaming Video Gabriel Nell UC Berkeley. Outline Scalable MPEG-4 video – Layered coding method – Integrated transport-decoder buffer model RAP streaming.
Media Streaming Protocols Presented by: Janice Ng and Yekaterina Tsipenyuk May 29 th, 2003 CSE 228: Multimedia Systems.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
CS335 Principles of Multimedia Systems Multimedia Over IP Networks -- II Hao Jiang Computer Science Department Boston College Nov. 8, 2007.
Multimedia Communications over the Internet. IP Packet-Switching Networks Packet-switching protocols based on the Internet Protocol (IP) generally consist.
RTP/RTCP – Real Time Transport Protocol/ Real Time Control Protocol Presented by Manoj Sivakumar.
RTP: A Transport Protocol for Real-Time Applications
RTP/RTCP(RFC 1889) Real-time transport protocol (RTP) is the de facto standard media transport protocol in the Internet Media transport: audio, vedio,
CS 218 F 2003 Nov 3 lecture:  Streaming video/audio  Adaptive encoding (eg, layered encoding)  TCP friendliness References: r J. Padhye, V.Firoiu, D.
CIS679: RTP and RTCP r Review of Last Lecture r Streaming from Web Server r RTP and RTCP.
Multimedia and QoS#1#1 Multimedia Applications. Multimedia and QoS#2#2 Multimedia Applications r Multimedia requirements r Streaming r Recovering from.
Multimedia Communications
Multimedia Communications Student: Blidaru Catalina Elena.
Advance Computer Networks Lecture#14
Computer Networks: Multimedia Applications Ivan Marsic Rutgers University Chapter 3 – Multimedia & Real-time Applications.
IT 424 Networks2 IT 424 Networks2 Ack.: Slides are adapted from the slides of the book: “Computer Networking” – J. Kurose, K. Ross Chapter 4: Multimedia.
Multimedia Over IP: RTP, RTCP, RTSP “Computer Science” Department of Informatics Athens University of Economics and Business Λουκάς Ελευθέριος.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
1 Lecture 17 – March 21, 2002 Content-delivery services. Multimedia services Reminder  next week individual meetings and project status report are due.
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
Real Time Protocol (RTP) 김 준
Making the Best of the Best-Effort Service (2) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.
CIS 725 Telephone protocols. Telephone systems Circuited switched system Call control software.
Streaming Media Control n The protocol components of the streaming n RTP/RTCP n RVSP n Real-Time Streaming Protocol (RTSP)
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 28 Multimedia.
Chapter 28. Network Management Chapter 29. Multimedia
Part 2: Making the Best of Best-Effort
LOG Objectives  Describe some of the VoIP implementation challenges such as Delay/Latency, Jitter, Echo, and Packet Loss  Describe the voice encoding.
BAI513 - PROTOCOLS RTP - RTCP BAIST – Network Management.
Video Multicast over the Internet Presented by: Liang-Yuh Wu Lung-Yuan Wu Hao-Hsiang Ku 12 / 6 / 2001 Bell Lab. And Georgia Institute of Technologies IEEE.
Internet multimedia: simplest approach audio, video not streamed: r no, “pipelining,” long delays until playout! r audio or video stored in file r files.
Ch 6. Multimedia Networking Myungchul Kim
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
Ch 6. Multimedia Networking Myungchul Kim
An Extensible RTCP Control Framework for Large Multimedia Distributions Paper by: Julian Chesterfield Eve M. Schooler Presented by: Phillip H. Jones.
Multimedia Streaming I. Fatimah Alzahrani. Introduction We can divide audio and video services into three broad categories: streaming stored audio/video,
1 Internet Telephony: Architecture and Protocols an IETF Perspective Authors:Henning Schulzrinne, Jonathan Rosenberg. Presenter: Sambhrama Mundkur.
3/10/2016 Subject Name: Computer Networks - II Subject Code: 10CS64 Prepared By: Madhuleena Das Department: Computer Science & Engineering Date :
RTP/RTCP/RTSP Ben Biro CISC 856 – Spring '10 University of Delaware Thanks to Professor Amer, Henning Schulzrinne, Colin Perkins, Amit Hetawal.
Multimedia Communication Systems Techniques, Standards, and Networks Chapter 6 Multimedia Communication Across Networks.
7: Multimedia Networking7-1 protocols for real-time interactive applications RTP, RTCP, SIP.
Networked Multimedia Basics. Network Characteristics.
The Transport Layer Congestion Control & UDP
RTP: A Transport Protocol for Real-Time Applications
Real-Time Transport Protocol
Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
RTP: A Transport Protocol for Real-Time Applications
Rate Adaptations.
RTP: A Transport Protocol for Real-Time Applications
Video Multicast over the Internet (IEEE Network, March/April 1999)
Chapter 25 Multimedia TCP/IP Protocol Suite
Presentation transcript:

Streaming Media

Unicast Redundant traffic Multicast One to many

Video Multicast Multicast Support multicast enabled network Real-time Requirements Support

Supporting Real-time Requirements QoS and Resource reservation Resource Reservation to bound data delivery delay, loss, jitter etc. Adaptive Rate Control Adjust video traffic characteristics to suit the Internet.

Multicast Group Addressing Distribution Tree Join(graft) Leave(prune)

Video Traffic Periodic generation of frames at regular intervals. Variable bit rate. Frame periodicity must be maintained for the video to appear “smooth” Data unavailable at playout is useless. Jitter (variability in interarrival times)

Buffering and Start-up Latency Congestion leads to Data Loss Decreasing Data Rate Error Control Summary Delay Sensitive, Loss Insensitive

Multicast and Heterogeneity The Internet is Heterogeneous Infra-structural (Spatial) Traffic density (Temporal) Administrative Fairness Goal Every receiver should receive video that is commensurate to the resources available. Is this fair to “other” traffic?

Fairness Intra-session fairness Inter-session fairness

Rate Adaptive Digital Video Compression, Scene Complexity, Motion Video Encoder Smoothing Buffer Feedback Network

Raw video stream is fed to encoder Encoder sends encoded data to buffer Buffer level provides feedback Feedback is used to control data output rate at encoder. Quantization, frame rate, pixel resolution etc. are controlled.

Network feedback can also be used. Queueing information (internal to the network) End-system information

Adaptive Bit-Rate Video Single Stream Adaptive Approach Replicated Streams Adaptive Approach Layered Video Streams Approach

RTP Real-Time Transport Protocol End-to-end Protocol NO notion of “Connection”. (hence unreliable) Application level Requires framing and segmentation be taken care of by lower layers.

RTP (continued) Divided into two parts (consecutive ports for UDP) Data (audio + video packets, even- numbered port) Control Can use single PDU in case UDP is not used.

Real-time Transport Protocol

RTP Data Packets 12 byte header data (video/audio) can be encapsulated in encoding-specific layer.

RTP Data Packet Header Payload Type (1 byte) eg: JPEG etc. Timestamp (32 bits) generation instant of the data Sequence marker (16 bits) packet seq. number to help loss detection Marker bit end of frame for video beginning of talk-spurt for audio

RTP Data Packet Header (contd) Synchronization Source Identifier (32 bits) randomly generated identifying session source.

RTP Control Channel Control protocol called RTCP QoS monitoring and Congestion Control multicast all other receivers know how others are doing sender-report, helps receivers compute data-rate Intermedia Synchronization wall-clock time + RTP timestamp allows synch of audio and video Identification Detailed identification of participant instead of just a 32 bit identifier. Session size estimation and scaling scaled to 5% of data rate

RTCP Packets Several types to carry a variety of information Source description (SDES) CNAME, , location, name,... Sender report (SR) Bytes sent -> estimated rate Timestamp -> synchronization Receiver report (RR) Loss rate, interarrival jitter, roundtrip delay Explicit leave (BYE) Compound packets (SDES CNAME + RR)

RTCP traffic Control RTP session scale: two to thousands of participants RTCP traffic increases with session size Want to keep to small fraction of data bandwidth (5%) Randomized response with rate decreasing as number of participants increases Give active senders more bandwidth But limited by tolerable age of status

Single Stream Video Multicast Adjust video output rate Three parameters refresh rate (?) quantizer (color scheme 4:2:2, 4:1:1….) movement detection threshold (what defines motion) Application can specify which of these to control

Single Stream Video Multicast RTCP is used for feedback Feedback implosion probabilistic probing Fair? (No…..)

Replicated Streams Destination Set Grouping Multiple replicated streams on different multicast addresses. Different quality and data rates. Receivers can switch streams

Switching Streams Congestion due to presence of two streams simultaneously on the same link Bandwidth Control Protocol Congestion History Checking before stream switch. Local Area Bandwidth Limit restricts the number of streams received in local area.

Layered Video Multicast Disjoint layers on different addresses Cumulative subscription Many protocols making different assumptions

RLM Receiver based Sender does not participate Receivers share loss information Receivers join and drop groups based on these shared loss reports. Receivers back off when they or other receivers see congestion. The higher the layer, the longer the back-off duration.

Problems with RLM Receiver Consensus Fast Leaves and Joins Impact of failed experiments on topologically unrelated receivers. UNFAIR Arguably the most cited and most maligned protocol!!

TCP rate-based Congestion Control Analyze TCP to come with a magic formula to describe Bandwidth = 1.3 * MTU / (RTT * sqrt(Loss)) Adapt sender rate to match such a formula. But what is RTT? Let receivers make this decision. Define loss thresholds based on this formula, for each layer. If loss exceeds this threshold, drop a layer…

/tcp_friendly.html /tcp_friendly.html

Summary Multicast RTP/RTCP Rate Adaptation Issues: Fairness Intra-session Inter-session Stability Deployability Administrative Issues