University of Pittsburgh

Slides:



Advertisements
Similar presentations
Streaming Video over the Internet
Advertisements

MM Networking Applications
Introduction 2 1: Introduction.
1 Multimedia Networking EECS 489 Computer Networks Z. Morley Mao Monday March 26, 2007 Acknowledgement: Some.
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
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.
Multimedia Networking: An Overview
Application layer (continued) Week 4 – Lecture 2.
Katarina Asplund Karlstads Universitet Datavetenskap 1 Datakommunikation II Review Computer Communication II.
7: Multimedia Networking7-1 Multimedia, Quality of Service: What is it? Multimedia applications: network audio and video (“continuous media”) network provides.
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.
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.
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:
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.
CPSC 441: Multimedia Networking1 Outline r Scalable Streaming Techniques r Content Distribution Networks.
November 27 th, 2012 CS1652 Jack Lange University of Pittsburgh 1.
2: Application Layer1 Chapter 2 outline r 2.1 Principles of app layer protocols r 2.2 Web and HTTP r 2.3 FTP r 2.4 Electronic Mail r 2.5 DNS r 2.6 Socket.
11: Multimedia Networking 11-1 Chapter 11 Multimedia Networking A note on the use of these ppt slides: We’re making these slides freely available to all.
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 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.
Making the Best of the Best-Effort Service (2) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.
CMPT365 Multimedia Systems 1 Multimedia Networking/Communications Spring 2015 CMPT 365 Multimedia Systems.
Content distribution networks (CDNs) r The content providers are the CDN customers. Content replication r CDN company installs hundreds of CDN servers.
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
Multimedia streaming Application Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Querying.
Part 2: Making the Best of Best-Effort
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
Multimedia Networking Quality of Services Hongli Luo, IPFW.
Internet multimedia: simplest approach audio, video not streamed: r no, “pipelining,” long delays until playout! r audio or video stored in file r files.
Presented by : BEN AMOR Adel MAKNI Mahmoud Ramzi
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
Multimedia: Conferencing 7-1. MM Networking Applications Fundamental characteristics: typically delay sensitive – end-to-end delay – delay jitter loss.
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 Networking7-1 Chapter 7 Multimedia Networking A note on the use of these ppt slides: We’re making these slides freely available to all (faculty,
BITM 1113 SISTEM MULTIMEDIA Week 13 Multimedia Production Process.
Chapter 7: Transport Layer
Chapter 7 Multimedia Networking
Session 7 INST 346 Technologies, Infrastructure and Architecture
19 – Multimedia Networking
Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Klara Nahrstedt Spring 2009
Understand the OSI Model Part 2
Introduction to Networking
Multimedia Applications
Chapter 25 Multimedia TCP/IP Protocol Suite
Multimedia networking: outline
CSE679: Multimedia and Networking
A Selective Retransmission Protocol for Multimedia on the Internet
University of Pittsburgh
Multimedia and Networks
Process-to-Process Delivery:
CIS679: MPEG-2 Review of MPEG-1 MPEG-2 Multimedia and networking.
CS4470 Computer Networking Protocols
Multimedia networking: outline
Multimedia Applications
Process-to-Process Delivery: UDP, TCP
Streaming multimedia CS 352, Lecture 22
Presentation transcript:

University of Pittsburgh CS 1652 Jack Lange University of Pittsburgh

Multimedia and Quality of Service: What is it? multimedia applications: network audio and video (“continuous media”) network provides application with level of performance needed for application to function. QoS 7: Multimedia Networking

Multimedia Networking Application

MM Networking Applications Fundamental characteristics: typically delay sensitive end-to-end delay delay jitter loss tolerant: infrequent losses cause minor glitches antithesis of bulk data, which is loss intolerant but delay tolerant. Classes of MM applications: 1) stored streaming 2) live streaming 3) interactive, real-time Jitter is the variability of packet delays within the same packet stream 7: Multimedia Networking

Streaming Stored Multimedia Stored streaming: media stored at source transmitted to client streaming: client playout begins before all data has arrived timing constraint for still-to-be transmitted data: in time for playout 7: Multimedia Networking

Streaming Stored Multimedia: What is it? streaming: at this time, client playing out early part of video, while server still sending later part of video 3. video received, played out at client Cumulative data 2. video sent 1. video recorded network delay time 7: Multimedia Networking

Streaming Multimedia: Client Buffering constant bit rate video transmission variable network Delay (jitter) client video reception constant bit rate video playout at client client playout delay Cumulative data buffered video time client-side buffering, playout delay compensate for network-added delay, delay jitter 7: Multimedia Networking

Streaming Multimedia: Client Buffering constant drain rate, d variable fill rate, x(t) buffered video client-side buffering, playout delay compensate for network-added delay, delay jitter 7: Multimedia Networking

Streaming Live Multimedia Examples: Internet radio talk show live sporting event Streaming (as with streaming stored multimedia) playback buffer playback can lag tens of seconds after transmission still have timing constraint Interactivity fast forward impossible rewind, pause possible 7: Multimedia Networking

Real-Time Interactive Multimedia applications: IP telephony, video conference, distributed interactive worlds end-end delay requirements: audio: < 150 msec good, < 400 msec OK includes application-level (packetization) and network delays higher delays noticeable, impair interactivity session initialization how does callee advertise its IP address, port number, encoding algorithms? 7: Multimedia Networking

Internet Phone: Packet Loss and Delay network loss: IP datagram lost due to network congestion (router buffer overflow) delay loss: IP datagram arrives too late for playout at receiver delays: processing, queueing in network; end-system (sender, receiver) delays typical maximum tolerable delay: 400 ms loss tolerance: depending on voice encoding, losses concealed, packet loss rates between 1% and 10% can be tolerated. 7: Multimedia Networking

Internet Phone: Fixed Playout Delay receiver attempts to playout each chunk exactly q msecs after chunk was generated. chunk has time stamp t: play out chunk at t+q . chunk arrives after t+q: data arrives too late for playout, data “lost” tradeoff in choosing q: large q: less packet loss small q: better interactive experience 7: Multimedia Networking

Fixed Playout Delay first packet received at time r sender generates packets every 20 msec during talk spurt. first packet received at time r first playout schedule: begins at p second playout schedule: begins at p’ 7: Multimedia Networking

Content distribution networks (CDNs) Content replication challenging to stream large files (e.g., video) from single origin server in real time solution: replicate content at hundreds of servers throughout Internet content downloaded to CDN servers ahead of time placing content “close” to user avoids impairments (loss, delay) of sending content over long paths CDN server typically in edge/access network origin server in North America CDN distribution node CDN server in S. America CDN server in Asia CDN server in Europe 7: Multimedia Networking

CDN example origin server (www.foo.com) CDN company (cdn.com) HTTP request for www.foo.com/sports/sports.html origin server 1 DNS query for www.cdn.com 2 client CDN’s authoritative DNS server 3 HTTP request for www.cdn.com/www.foo.com/sports/ruth.gif CDN server near client origin server (www.foo.com) distributes HTML replaces: http://www.foo.com/sports.ruth.gif with http://www.cdn.com/www.foo.com/sports/ruth.gif CDN company (cdn.com) distributes gif files uses its authoritative DNS server to route redirect requests 7: Multimedia Networking

ZeroConf Networking What: Only need to plug computer into network Non-administered networks Full Plug-and-Play architecture No centralized services to configure (DNS, DHCP, etc) Only need to plug computer into network Automatically assigns address Automatically discovers services Automatically negotiates protocols and connections For local networks mostly Not easy to allow external (internet) connectivity 7: Multimedia Networking

Finding an Address Do not require anyone to provide an address No network administrator No DHCP server Step 1: Select a random address Special range dedicated to internal zeroconf networks Step 2: Probe to check if address is already taken How? Step 3: Assign address to interface 7: Multimedia Networking

What is multicast So far we’ve talked about unicast and broadcast Multicast is “in between” Each interface has an IP address But also selectively listens for multicast addresses Each network device has MAC address One host can send a packet to anyone who wants to receive it Mechanism for self defined group communication TCP doesn’t really work, but UDP is fine 7: Multimedia Networking

Multicast DNS Dedicated TLD: .local Dedicated Multicast Address: 224.0.0.251 Send out a DNS request to a multicast group If a group member has that name they respond Example When you buy a new computer you give it a name E.g. “My Mac Laptop” The DNS address is now “My Mac Laptop.local” If someone queries for that hostname your laptop responds Sort of like an ARP query 7: Multimedia Networking

Service Discovery Service Discovery extension to DNS (DNS-SD) DNS used to identify services (not computers) Based on Multicast Special domain name format Instance.ServiceType.Domain E.g. My iTunes._daap._tcp.local Query for ServiceTypes Enumerate all instances of a service DNS is based on Multicast! So we can send a query for _daap._tcp.local to EVERYONE! If a computer is running a given service they respond with their instance name 7: Multimedia Networking

Content distribution networks (CDNs) origin server in North America Content replication CDN (e.g., Akamai) customer is the content provider (e.g., CNN) CDN replicates customers’ content in CDN servers. when provider updates content, CDN updates servers CDN distribution node CDN server in S. America CDN server in Asia CDN server in Europe 7: Multimedia Networking

Multimedia Over Today’s Internet TCP/UDP/IP: “best-effort service” no guarantees on delay, loss But multimedia apps require QoS and level of performance to be effective! ? Today’s Internet multimedia applications use application-level techniques to mitigate (as best possible) effects of delay, loss 7: Multimedia Networking

Summary: Internet Multimedia: bag of tricks use UDP to avoid TCP congestion control (delays) for time-sensitive traffic client-side adaptive playout delay: to compensate for delay server side matches stream bandwidth to available client-to-server path bandwidth chose among pre-encoded stream rates dynamic server encoding rate error recovery (on top of UDP) FEC, interleaving, error concealment retransmissions, time permitting CDN: bring content closer to clients 7: Multimedia Networking