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.

Slides:



Advertisements
Similar presentations
Streaming Video over the Internet
Advertisements

Chapter 6: Multimedia Networking
CCNA – Network Fundamentals
1 Multimedia Networking EECS 489 Computer Networks Z. Morley Mao Monday March 26, 2007 Acknowledgement: Some.
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.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 25 Multimedia.
19 – Multimedia Networking. Multimedia Networking7-2 Multimedia and Quality of Service: What is it? multimedia applications: network audio and video (“continuous.
User Control of Streaming Media: RTSP
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.
Voice Over Internet- Issues Dr. Abhay Karandikar Department of Electrical Engineering Indian Institute of Technology, Bombay. Dr. Abhay Karandikar Department.
Computer Networking Multimedia Fall 2011 Multimedia2 Outline Multimedia requirements Audio and Video Data Streaming Interactive Real-Time.
Application layer (continued) Week 4 – Lecture 2.
Multimedia Applications
Chapter 6: Multimedia Networking
1 CSE 401N Multimedia Networking Lecture Multimedia, Quality of Service: What is it? Multimedia applications: network audio and video network provides.
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.
Multimedia Computer Networks 10/02/02 Xavier Appé.
Computer Networking Multimedia.
CS640: Introduction to Computer Networks
CS 218 F 2003 Nov 3 lecture:  Streaming video/audio  Adaptive encoding (eg, layered encoding)  TCP friendliness References: r J. Padhye, V.Firoiu, D.
RTSP Real Time Streaming Protocol
1 CMSCD1011 Introduction to Computer Audio Lecture 10: Streaming audio for Internet transmission Dr David England School of Computing and Mathematical.
CIS679: RTP and RTCP r Review of Last Lecture r Streaming from Web Server r RTP and RTCP.
6: Multimedia Networking6a-1 Chapter 6: Multimedia Applications r Multimedia requirements r Streaming r Phone over IP r Recovering from Jitter and Loss.
Multimedia and QoS#1#1 Multimedia Applications. Multimedia and QoS#2#2 Multimedia Applications r Multimedia requirements r Streaming r Recovering from.
Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot October 2010 October 2010 Ref: Computer Networking:
Streaming Stored Audio and Video (1) and Video (1) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.
November 27 th, 2012 CS1652 Jack Lange University of Pittsburgh 1.
Quality of Service in the Internet The slides of part 1-3 are adapted from the slides of chapter 7 published at the companion website of the book: Computer.
Chapter 5: Summary r principles behind data link layer services: m error detection, correction m multiple access protocols m link layer addressing, ARP.
1 How Streaming Media Works Bilguun Ginjbaatar IT 665 Nov 14, 2006.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
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 Multimedia Communication Multimedia Systems(Module 5 Lesson 2) Summary: r Internet Phone Example m Making the Best use of Internet’s Best-Effort Service.
1 Lecture 17 – March 21, 2002 Content-delivery services. Multimedia services Reminder  next week individual meetings and project status report are due.
CS640: Introduction to Computer Networks Aditya Akella Lecture 19 - Multimedia Networking.
Multimedia, Quality of Service: What is it?
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time Multimedia: Internet Phone Case.
1 o characteristics – From an application-level API to the physical layer – CBR, VBR, ABR and UBR – Cell: bytes – Virtual circuits: virtual channel.
Making the Best of the Best-Effort Service (2) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
Chapter 28. Network Management Chapter 29. Multimedia
Multimedia streaming Application Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Querying.
Multimedia Networking Ashwin Bharambe Carnegie Mellon University Networking, Spring 2003 Tuesday, April 22, 2003.
Multimedia and Networks. Protocols (rules) Rules governing the exchange of data over networks Conceptually organized into stacked layers – Application-oriented.
Multimedia Networking Quality of Services Hongli Luo, IPFW.
Computer Networking Multimedia. 11/15/20052 Outline Multimedia requirements Streaming Phone over IP Recovering from Jitter and Loss RTP QoS Requirements.
Internet multimedia: simplest approach audio, video not streamed: r no, “pipelining,” long delays until playout! r audio or video stored in file r files.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
Ch 6. Multimedia Networking Myungchul Kim
BITM1113- 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.
Ch 6. Multimedia Networking Myungchul Kim
Tutorial 11 Solutions. Question 1 Q1. What is meant by interactivity for streaming stored audio/video? What is meant by interactivity for real-time interactive.
Multimedia Streaming I. Fatimah Alzahrani. Introduction We can divide audio and video services into three broad categories: streaming stored audio/video,
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.
Chapter 13: Multimedia and Networking BITM1113- Multimedia Systems.
19 – Multimedia Networking
Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Multimedia Applications
Chapter 25 Multimedia TCP/IP Protocol Suite
Multimedia networking: outline
CSE679: Multimedia and Networking
CIS679: MPEG-2 Review of MPEG-1 MPEG-2 Multimedia and networking.
Multimedia Applications
Multimedia networking: outline
Multimedia Applications
Presentation transcript:

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

Application Classes r Typically sensitive to delay, but can tolerate packet loss (would cause minor glitches that can be concealed) r Data contains audio and video content (“continuous media”), three classes of applications: m Streaming m Unidirectional Real-Time m Interactive Real-Time

Application Classes (more) r Stored Audio and Video Streaming m Clients request audio/video files from servers and pipeline reception over the network and display m Clients can start playing out initial portion of the file while the file has not been completely received (it is known as streaming) m Interactive: user can control operation (similar to VCR: pause, resume, fast forward, rewind, etc.) m Delay: from client request until display start can be 1 to 10 seconds m Once started, the playout is continuous

Application Classes (more) r Unidirectional Real-Time: m similar to existing TV and radio stations, but delivery on the network m Non-interactive, just listen/view r Interactive Real-Time : m Phone conversation or video conference m More stringent delay requirement than Streaming and Unidirectional because of real-time nature m Video: < 150 msec acceptable m Audio: < 150 msec good, <400 msec acceptable

Challenges r TCP/UDP/IP suite provides best-effort, no guarantees on expectation or variance of packet delay r Streaming applications delay of 5 to 10 seconds is typical and has been acceptable, but performance deteriorate if links are congested (transoceanic) r Real-Time Interactive requirements on delay and its jitter have been satisfied by over-provisioning (providing plenty of bandwidth), what will happen when the load increases?...

Challenges (more) r Most router implementations use only First-Come- First-Serve (FCFS) packet processing and transmission scheduling r To mitigate impact of “best-effort” protocols, we can: m Use UDP to avoid TCP and its slow-start phase… m Buffer content at client and control playback to remedy jitter m Adapt compression level to available bandwidth

Solution Approaches in IP Networks r Just add more bandwidth and enhance caching capabilities (over-provisioning)! r Need major change of the protocols : m Incorporate resource reservation (bandwidth, processing, buffering), and new scheduling policies m Set up service level agreements with applications, monitor and enforce the agreements, charge accordingly r Need moderate changes (“Differentiated Services”): m Use two traffic classes for all packets and differentiate service accordingly m Charge based on class of packets m Network capacity is provided to ensure first class packets incur no significant delay at routers

Streaming r Important and growing application due to reduction of storage costs, increase in high speed net access from homes, enhancements to caching and introduction of QoS in IP networks r Audio/Video file is segmented and sent over either TCP or UDP, public segmentation protocol: Real-Time Protocol (RTP)

Streaming r User interactive control is provided, e.g. the public protocol Real Time Streaming Protocol (RTSP) r Helper Application: displays content, which is typically requested via a Web browser; e.g. RealPlayer; typical functions: m Decompression m Jitter removal m Error correction: use redundant packets to be used for reconstruction of original stream m GUI for user control

Streaming From Web Servers r Audio: in files sent as HTTP objects r Video (interleaved audio and images in one file, or two separate files and client synchronizes the display) sent as HTTP object(s) r A simple architecture is to have the Browser requests the object(s) and after their reception pass them to the player for display - No pipelining

Streaming From Web Server (more) r Alternative: set up connection between server and player, then download r Web browser requests and receives a Meta File (a file describing the object) instead of receiving the file itself; r Browser launches the appropriate Player and passes it the Meta File; r Player sets up a TCP connection with Web Server and downloads the file

Meta file requests

Using a Streaming Server r This gets us around HTTP, allows a choice of UDP vs. TCP and the application layer protocol can be better tailored to Streaming; many enhancements options are possible (see next slide)

Options When Using a Streaming Server r Use UDP, and Server sends at a rate (Compression and Transmission) appropriate for client; to reduce jitter, Player buffers initially for 2-5 seconds, then starts display r Use TCP, and sender sends at maximum possible rate under TCP; retransmit when error is encountered; Player uses a much large buffer to smooth delivery rate of TCP

Real Time Streaming Protocol (RTSP) r For user to control display: rewind, fast forward, pause, resume, etc… r Out-of-band protocol (uses two connections, one for control messages (Port 554) and for media stream) r RFC 2326 permits use of either TCP or UDP for the control messages connection, sometimes called the RTSP Channel r As before, meta file is communicated to web browser which then launches the Player; Player sets up an RTSP connection for control messages in addition to the connection for the streaming media

RTSP Operation

Real-Time (Phone) Over IP’s Best-Effort r Internet phone applications generate packets during talk spurts r Bit rate is 8 KBytes, and every 20 msec, the sender forms a packet of 160 Bytes + a header to be discussed below r The coded voice information is encapsulated into a UDP packet and sent out; some packets may be lost; up to 20 % loss is tolerable; using TCP eliminates loss but at a considerable cost: variance in delay; FEC is sometimes used to fix errors and make up losses

Real-Time (Phone) Over IP’s Best-Effort r End-to-end delays above 400 msec cannot be tolerated; packets that are that delayed are ignored at the receiver r Delay jitter is handled by using timestamps, sequence numbers, and delaying playout at receivers either a fixed or a variable amount r With fixed playout delay, the delay should be as small as possible without missing too many packets; delay cannot exceed 400 msec

Internet Phone with Fixed Playout Delay

Recovery From Packet Loss r Loss is in a broader sense: packet never arrives or arrives later than its scheduled playout time r Since retransmission is inappropriate for Real Time applications, FEC or Interleaving are used to reduce loss impact. r FEC is Forward Error Correction r Simplest FEC scheme adds a redundant chunk made up of exclusive OR of a group of n chunks; redundancy is 1/n; can reconstruct if at most one lost chunk; playout time schedule assumes a loss per group

Recovery From Packet Loss r Mixed quality streams are used to include redundant duplicates of chunks; upon loss playout available redundant chunk, albeit a lower quality one r With one redundant chunk per chunk can recover from single losses

Piggybacking Lower Quality Stream

Interleaving r Has no redundancy, but can cause delay in playout beyond Real Time requirements r Divide 20 msec of audio data into smaller units of 5 msec each and interleave r Upon loss, have a set of partially filled chunks