Katarina Asplund Karlstads Universitet Datavetenskap 1 Datakommunikation II Review Computer Communication II.

Slides:



Advertisements
Similar presentations
Streaming Video over the Internet
Advertisements

Umut Girit  One of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer.
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.
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.
Real-Time Protocol (RTP) r Provides standard packet format for real-time application r Typically runs over UDP r Specifies header fields below r Payload.
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.
Chapter 6: Multimedia Networking
Stream Control Transmission Protocol 網路前瞻技術實驗室 陳旻槿.
CSE 401N Multimedia Networking-2 Lecture-19. Improving QOS in IP Networks Thus far: “making the best of best effort” Future: next generation Internet.
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.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
Computer Networking Multimedia.
CS640: Introduction to Computer Networks
What Can IP Do? Deliver datagrams to hosts – The IP address in a datagram header identify a host IP treats a computer as an endpoint of communication Best.
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
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
CSE QoS in IP. CSE Improving QOS in IP Networks Thus far: “making the best of best effort”
Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot October 2010 October 2010 Ref: Computer Networking:
Computer Networks: Multimedia Applications Ivan Marsic Rutgers University Chapter 3 – Multimedia & Real-time Applications.
Streaming Stored Audio and Video (1) and Video (1) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
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.
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.
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.
CS640: Introduction to Computer Networks Aditya Akella Lecture 19 - Multimedia Networking.
Multimedia, Quality of Service: What is it?
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
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.
Beyond Best-Effort Service Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot November 2010 November.
Internet Protocol ECS 152B Ref: slides by J. Kurose and K. Ross.
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.
Part 2: Making the Best of Best-Effort
Transport Layer 3-1 Chapter 3 Outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP.
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.
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.
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
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.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
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,
Introduction 1-1 source application transport network link physical HtHt HnHn M segment HtHt datagram destination application transport network link physical.
2: Transport Layer 11 Transport Layer 1. 2: Transport Layer 12 Part 2: Transport Layer Chapter goals: r understand principles behind transport layer services:
Chapter 5 Peer-to-Peer Protocols and Data Link Layer Timing Recovery.
7: Multimedia Networking7-1 protocols for real-time interactive applications RTP, RTCP, SIP.
Networked Multimedia Basics. Network Characteristics.
19 – Multimedia Networking
University of Pittsburgh
Multimedia Applications
Chapter 25 Multimedia TCP/IP Protocol Suite
Computer Networks Protocols
Presentation transcript:

Katarina Asplund Karlstads Universitet Datavetenskap 1 Datakommunikation II Review Computer Communication II

Katarina Asplund Karlstads Universitet Datavetenskap 2 Datakommunikation II Part I – Multimedia networking Taxonomy of multimedia applications Streaming stored audio and video making the best out of best effort service protocols for real-time interactive applications RTP,RTCP providing multiple classes of service providing QoS guarantees

Katarina Asplund Karlstads Universitet Datavetenskap 3 Datakommunikation II MM Networking Applications Fundamental characteristics: typically delay sensitive –end-to-end delay –delay jitter loss tolerant: infrequent losses cause minor glitches antithesis of data, which are 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

Katarina Asplund Karlstads Universitet Datavetenskap 4 Datakommunikation II Multimedia Over Today’s Internet TCP/UDP/IP: “best-effort service” no guarantees on delay, loss Today’s Internet multimedia applications use application-level techniques to mitigate (as best possible) effects of delay, loss But you said multimedia apps requires QoS and level of performance to be effective! ? ? ?? ? ? ? ? ? ? ?

Katarina Asplund Karlstads Universitet Datavetenskap 5 Datakommunikation II How should the Internet evolve to better support multimedia? Integrated services philosophy: fundamental changes in Internet so that apps can reserve end-to-end bandwidth requires new, complex software in hosts & routers Laissez-faire no major changes more bandwidth when needed content distribution, application- layer multicast –application layer Differentiated services philosophy: fewer changes to Internet infrastructure, yet provide 1st and 2nd class service What’s your opinion?

Katarina Asplund Karlstads Universitet Datavetenskap 6 Datakommunikation II Streaming Stored Multimedia application-level streaming techniques for making the best out of best effort service: – client-side buffering – use of UDP versus TCP – multiple encodings of multimedia Use web server or streaming server jitter removal decompression error concealment graphical user interface w/ controls for interactivity (RTSP) Media Player

Katarina Asplund Karlstads Universitet Datavetenskap 7 Datakommunikation II Streaming Multimedia: UDP or TCP? UDP server sends at rate appropriate for client (oblivious to network congestion !) –often send rate = encoding rate = constant rate –then, fill rate = constant rate - packet loss short playout delay (2-5 seconds) to remove network jitter error recover: time permitting TCP send at maximum possible rate under TCP fill rate fluctuates due to TCP congestion control larger playout delay: smooth TCP delivery rate HTTP/TCP passes more easily through firewalls

Katarina Asplund Karlstads Universitet Datavetenskap 8 Datakommunikation II Real-time applications 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. Delay jitter

Katarina Asplund Karlstads Universitet Datavetenskap 9 Datakommunikation II Mechanisms Jitter –Seq#, timestamps, delaying playout –Playout delay: fixed, adaptive Loss –Forward error correction (FEC) –Interleaving

Katarina Asplund Karlstads Universitet Datavetenskap 10 Datakommunikation II 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 Europe CDN server in Asia

Katarina Asplund Karlstads Universitet Datavetenskap 11 Datakommunikation II 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

Katarina Asplund Karlstads Universitet Datavetenskap 12 Datakommunikation II Real-Time Protocol (RTP) RTP specifies packet structure for packets carrying audio, video data RFC 3550 RTP packet provides –payload type identification –packet sequence numbering –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

Katarina Asplund Karlstads Universitet Datavetenskap 13 Datakommunikation II RTP and QoS 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. –routers providing best-effort service, making no special effort to ensure that RTP packets arrive at destination in timely matter.

Katarina Asplund Karlstads Universitet Datavetenskap 14 Datakommunikation II Real-Time Control Protocol (RTCP) works in conjunction with RTP. each participant in RTP session periodically transmits RTCP control packets to all other participants. each RTCP packet contains sender and/or receiver reports –report statistics useful to application: # packets sent, # packets lost, interarrival jitter, etc. feedback can be used to control performance –sender may modify its transmissions based on feedback

Katarina Asplund Karlstads Universitet Datavetenskap 15 Datakommunikation II Providing Multiple Classes of Service thus far: making the best of best effort service –one-size fits all service model alternative: multiple classes of service –partition traffic into classes –network treats different classes of traffic differently (analogy: VIP service vs regular service) 0111 granularity: differential service among multiple classes, not among individual connections history: ToS bits

Katarina Asplund Karlstads Universitet Datavetenskap 16 Datakommunikation II Principles for QoS guarantees Packet marking to distinguish between classes + new router policy to treat packets differently Protect classes from each other (isolation) Use resources as efficient as possible Call admission (hard guarantees)

Katarina Asplund Karlstads Universitet Datavetenskap 17 Datakommunikation II Scheduling and Policing mechanisms Scheduling –FIFO –Priority scheduling –Weighted fair Queuing (WFQ) Policing –Token bucket to regulate sending rate

Katarina Asplund Karlstads Universitet Datavetenskap 18 Datakommunikation II IETF Differentiated Services want “qualitative” service classes –“behaves like a wire” –relative service distinction: Platinum, Gold, Silver scalability: simple functions in network core, relatively complex functions at edge routers (or hosts) –signaling, maintaining per-flow router state difficult with large number of flows don’t define define service classes, provide functional components to build service classes

Katarina Asplund Karlstads Universitet Datavetenskap 19 Datakommunikation II IETF Integrated Services architecture for providing QOS guarantees in IP networks for individual application sessions resource reservation: routers maintain state info (a la VC) of allocated resources, QoS req’s admit/deny new call setup requests : Question: can newly arriving flow be admitted with performance guarantees while not violated QoS guarantees made to already admitted flows?

Katarina Asplund Karlstads Universitet Datavetenskap 20 Datakommunikation II Part II - signaling Telecom signaling –SS7 Voice over IP –Overview –SIP SCTP

Katarina Asplund Karlstads Universitet Datavetenskap 21 Datakommunikation II SIP Services Setting up a call, SIP provides mechanisms.. –for caller to let callee know she wants to establish a call –so caller, callee can agree on media type, encoding –to end call determine current IP address of callee: –maps mnemonic identifier to current IP address –SIP proxy, SIP registrar call management: –add new media streams during call –change encoding during call –invite others –transfer, hold calls

Katarina Asplund Karlstads Universitet Datavetenskap 22 Datakommunikation II Setting up a call to known IP address  Alice’s SIP invite message indicates her port number, IP address, encoding she prefers to receive (PCM ulaw)  Bob’s 200 OK message indicates his port number, IP address, preferred encoding (GSM)  SIP messages can be sent over TCP or UDP; here sent over RTP/UDP.  default SIP port number is 5060.

Katarina Asplund Karlstads Universitet Datavetenskap 23 Datakommunikation II What is SCTP? A (relatively) new general purpose transport protocol Main motivation: TCP and UDP are inadequate for telephony signaling transport Provides a reliable message-oriented transport service + a number of functions beneficial for telephony signaling

Katarina Asplund Karlstads Universitet Datavetenskap 24 Datakommunikation II TCP Limitations Enforces total ordering of data –May cause head-of-line blocking Is byte-oriented, i.e. does not support framing of message boundaries Has no support for multi-homing –Difficult to build link or path-level redundancy Is vulnerable to denial of service attacks –Security is often a top priority for phone appl.

Katarina Asplund Karlstads Universitet Datavetenskap 25 Datakommunikation II UDP Limitations Provides unreliable transport service Packets can be lost, duplicated or arrive out-of- order Has no congestion control mechanism Possible for the application to build its own mechanism for the above, but…

Katarina Asplund Karlstads Universitet Datavetenskap 26 Datakommunikation II Comparing SCTP to TCP - similarities Both are connection-oriented, i.e. exchange messages at startup and closing down Both provides reliability through retransmissions, using either timeouts or fast retransmit Both provides for orderly delivery of data (but SCTP also allows for no or partial ordering) Both use the same congestion control mechanism –Slow start, congestion avoidance (AIMD)

Katarina Asplund Karlstads Universitet Datavetenskap 27 Datakommunikation II Comparing SCTP to TCP - differences Startup procedure –Better protection against SYN flooding Message abstraction –Easier buffering and framing for receiving application Multi-streaming –Protection against head-of-line blocking Multi-homing –Better robustness in the presence of network failure