Making the Best of the Best-Effort Service (2) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.

Slides:



Advertisements
Similar presentations
Multimedia Networking10-1 Real-Time Protocol (RTP) r RTP specifies a packet structure for packets carrying audio and video data r RFC r RTP packet.
Advertisements

Chapter 6: Multimedia Networking
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.
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
Presented by: Yuvraj Khadke CISC 856: TCP/IP and Upper Layer Protocols 11/29/2012 Credits to: Christopher Thorpe, Varsha Mahadevan, Kevin Jeffay, James.
Chapter 6 Multimedia Networking Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose, Keith Ross Addison-Wesley, July.
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.
Katarina Asplund Karlstads Universitet Datavetenskap 1 Datakommunikation II Review Computer Communication II.
Cis e-commerce -- lecture #6: Content Distribution Networks and P2P (based on notes from Dr Peter McBurney © )
7: Multimedia Networking7-1 Multimedia, Quality of Service: What is it? Multimedia applications: network audio and video (“continuous media”) network provides.
1 CSE 401N Multimedia Networking Lecture Multimedia, Quality of Service: What is it? Multimedia applications: network audio and video network provides.
7: 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,
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.
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 Communications over the Internet. IP Packet-Switching Networks Packet-switching protocols based on the Internet Protocol (IP) generally consist.
7: Multimedia Networking 7-1 Chapter 7 Multimedia Networking A note on the use of these ppt slides: We’re making these slides freely available to all (faculty,
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
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.
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.
Ch 7. Multimedia Networking Myungchul Kim
Advance Computer Networks Lecture#14
Review: –What is AS? –What is the routing algorithm in BGP? –How does it work? –Where is “policy” reflected in BGP (policy based routing)? –Give examples.
Resource Reservation Protocol (RSVP) (1) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot December.
7: 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,
7: Multimedia Networking 7-1 Chapter 7 Multimedia Networking.
Streaming Stored Audio and Video (1) and Video (1) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.
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,
1 Multimedia Networking By Behzad Akbari Fall 2008 These slides are based on the slides of J. Kurose (UMASS)
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.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
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.
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
Beyond Best-Effort Service Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot November 2010 November.
1 o characteristics – From an application-level API to the physical layer – CBR, VBR, ABR and UBR – Cell: bytes – Virtual circuits: virtual channel.
Content distribution networks (CDNs) r The content providers are the CDN customers. Content replication r CDN company installs hundreds of CDN servers.
Multimedia networking: outline 7.1 multimedia networking applications 7.2 streaming stored video 7.3 voice-over-IP 7.4 protocols for real-time conversational.
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
Chapter 28. Network Management Chapter 29. Multimedia
Part 2: Making the Best of Best-Effort
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
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
CSE5803 Advanced Internet Protocols and Applications (14) Introduction Developed in recent years, for low cost phone calls (long distance in particular).
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
7: Multimedia Networking7-1 Multimedia and Quality of Service: What is it? multimedia applications: network audio and video (“continuous media”) network.
Summary: Internet Multimedia: bag of tricks r use UDP to avoid TCP congestion control (delays) for time-sensitive traffic r client-side adaptive playout.
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
Advance Computer Networks Lecture#11& 12 Instructor: Engr. Muhammad Mateen Yaqoob.
Multimedia Streaming I. Fatimah Alzahrani. Introduction We can divide audio and video services into three broad categories: streaming stored audio/video,
3/10/2016 Subject Name: Computer Networks - II Subject Code: 10CS64 Prepared By: Madhuleena Das Department: Computer Science & Engineering Date :
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,
Tutorial 12 Solutions.
7: Multimedia Networking7-1 protocols for real-time interactive applications RTP, RTCP, SIP.
19 – Multimedia Networking
Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
University of Pittsburgh
Presentation transcript:

Making the Best of the Best-Effort Service (2) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot November 2010 November 2010 Ref: Computer Networking: A Top Down Approach, 4th ed., Kurose & Ross

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

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

CDN example origin server ( distributes HTML distributes HTML replaces: replaces: with with HTTP request for DNS query for HTTP request for origin server CDN’s authoritative DNS server CDN server near client CDN company (cdn.com) distributes gif files distributes gif files uses its authoritative DNS server to route redirect requests uses its authoritative DNS server to route redirect requests client

More about CDNs Routing requests: CDN creates a “ map ”, indicating distances from leaf ISPs and CDN nodes CDN creates a “ map ”, indicating distances from leaf ISPs and CDN nodes when query arrives at authoritative DNS server: when query arrives at authoritative DNS server: server determines ISP from which query originates server determines ISP from which query originates uses “ map ” to determine best CDN server uses “ map ” to determine best CDN server CDN nodes create application-layer overlay network CDN nodes create application-layer overlay network

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

Protocols for real-time interactive applications RTP, RTCP, SIP

Real-Time Protocol (RTP) RTP specifies packet structure for packets carrying audio, video data RTP specifies packet structure for packets carrying audio, video data RFC 3550 RFC 3550 RTP packet provides RTP packet provides payload type identification payload type identification packet sequence numbering packet sequence numbering time stamping time stamping RTP runs in end systems RTP packets encapsulated in UDP segments interoperability: if two Internet phone applications run RTP, then they may be able to work together

RTP runs on top of UDP RTP libraries provide transport-layer interface that extends UDP: port numbers, IP addresses payload type identification packet sequence numbering time-stamping

RTP Example consider sending 64 kbps PCM*-encoded voice over RTP. consider sending 64 kbps PCM*-encoded voice over RTP. application collects encoded data in chunks, e.g., every 20 msec = 160 bytes in a chunk. application collects encoded data in chunks, e.g., every 20 msec = 160 bytes in a chunk. audio chunk + RTP header form RTP packet, which is encapsulated in UDP segment audio chunk + RTP header form RTP packet, which is encapsulated in UDP segment RTP header indicates type of audio encoding in each packet sender can change encoding during conference. RTP header also contains sequence numbers, timestamps.

RTP and QoS RTP does not provide any mechanism to ensure timely data delivery or other QoS guarantees. RTP does not provide any mechanism to ensure timely data delivery or other QoS guarantees. RTP encapsulation is only seen at end systems (not) by intermediate routers. RTP encapsulation is only seen at end systems (not) by intermediate routers. routers providing best-effort service, making no special effort to ensure that RTP packets arrive at destination in timely matter. routers providing best-effort service, making no special effort to ensure that RTP packets arrive at destination in timely matter.

RTP Header Payload Type (7 bits): Indicates type of encoding currently being used. If sender changes encoding in middle of conference, sender informs receiver via payload type field. Payload type 0: PCM mu-law, 64 kbps Payload type 3, GSM, 13 kbps Payload type 7, LPC, 2.4 kbps Payload type 26, Motion JPEG Payload type 31. H.261 Payload type 33, MPEG2 video Sequence Number (16 bits): Increments by one for each RTP packet sent, and may be used to detect packet loss and to restore packet sequence.

RTP Header (2) Timestamp field (32 bytes long): sampling instant of first byte in this RTP data packet Timestamp field (32 bytes long): sampling instant of first byte in this RTP data packet for audio, timestamp clock typically increments by one for each sampling period (for example, each 125 usecs for 8 KHz sampling clock) for audio, timestamp clock typically increments by one for each sampling period (for example, each 125 usecs for 8 KHz sampling clock) if application generates chunks of 160 encoded samples, then timestamp increases by 160 for each RTP packet when source is active. Timestamp clock continues to increase at constant rate when source is inactive. if application generates chunks of 160 encoded samples, then timestamp increases by 160 for each RTP packet when source is active. Timestamp clock continues to increase at constant rate when source is inactive. SSRC field (32 bits long): identifies source of t RTP stream. Each stream in RTP session should have distinct SSRC. SSRC field (32 bits long): identifies source of t RTP stream. Each stream in RTP session should have distinct SSRC.