03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.

Slides:



Advertisements
Similar presentations
1 Multimedia Networking EECS 489 Computer Networks Z. Morley Mao Monday March 26, 2007 Acknowledgement: Some.
Advertisements

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet.
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
Application layer (continued) Week 4 – Lecture 2.
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.
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.
Multimedia Communications over the Internet. IP Packet-Switching Networks Packet-switching protocols based on the Internet Protocol (IP) generally consist.
1 Computer Networks Transport Layer Protocols. 2 Application-layer Protocols Application-layer protocols –one “piece” of an app –define messages exchanged.
CS640: Introduction to Computer Networks
Process-to-Process Delivery:
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.
TRANSPORT LAYER T.Najah Al-Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
Advance Computer Networks Lecture#14
13/09/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Transport layer and Application Layer Slide 1.
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.
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.
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 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?
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.
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.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 28 Multimedia.
Chapter 28. Network Management Chapter 29. Multimedia
Multimedia streaming Application Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Querying.
Part 2: Making the Best of Best-Effort
Multimedia and Networks. Protocols (rules) Rules governing the exchange of data over networks Conceptually organized into stacked layers – Application-oriented.
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
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
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.
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
Multimedia Streaming I. Fatimah Alzahrani. Introduction We can divide audio and video services into three broad categories: streaming stored audio/video,
2: Transport Layer 11 Transport Layer 1. 2: Transport Layer 12 Part 2: Transport Layer Chapter goals: r understand principles behind transport layer services:
7: Multimedia Networking7-1 protocols for real-time interactive applications RTP, RTCP, SIP.
Networked Multimedia Basics. Network Characteristics.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
DMET 602: Networks and Media Lab
19 – Multimedia Networking
Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
University of Pittsburgh
Networking Applications
Chapter 25 Multimedia TCP/IP Protocol Suite
Networking Applications
Multimedia networking: outline
RTP and RTSP Realtime Transport Protocol
Process-to-Process Delivery:
Multimedia networking: outline
Computer Networks Protocols
Presentation transcript:

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 Agenda F Types of Streaming F Unicast and Multicast mechanisms F Stream Control Transmission Protocol 2

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 Types of Streaming Streaming stored audio/video refers to on- demand requests for compressed audio/video files. Streaming live audio/video refers to the broadcasting of radio and TV programs through the Internet. Interactive audio/video refers to the use of the Internet for interactive audio/video applications. 3

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 User Datagram Protocol (UDP) F Simple protocol and limited overhead as compared to IP packet. F No additional services added into the IP packet, apart from start and stop the connection. F Connectionless and unreliable transport protocol. F Independent datagram - not numbered F Suitable for simple request-response communication 4

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 Transmission Control Protocol (TCP) F Connection-oriented protocol and reliable transport protocol. F Create a virtual connection between two application programs to send data. F Virtual connection – connected as in the transport layer 5

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 Streaming Multimedia: UDP or TCP? UDP F 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 F short playout delay (2-5 seconds) to remove network jitter F error recover: time permitting TCP F send at maximum possible rate under TCP F fill rate fluctuates due to TCP congestion control F larger playout delay: smooth TCP delivery rate F HTTP/TCP passes more easily through firewalls

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 Unicasting F In unicasting, the router forwards the received packet through only one of its interfaces. 7

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 Multicasting F In multicasting, the router may forward the received packet through several of its interfaces 8

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 Multicasting versus Multiple casting 9

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 Streaming Stored Multimedia 1. video recorded 2. video sent 3. video received, played out at client Cumulative data streaming: at this time, client playing out early part of video, while server still sending later part of video network delay time

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 Web Server Streaming 11 F audio or video stored in file F files transferred as HTTP object –received in entirety at client –then passed to player

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 Web Server with Metafile Streaming 12 r browser GETs metafile r browser launches player, passing metafile r player contacts server r server streams audio/video to player

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 Media Server Streaming 13 F allows for non- HTTP protocol between server, media player F UDP or TCP for steps (4,5)

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 Media Server and RTSP Streaming RTSP - Real Time Streaming Protocol 14

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 Streaming Live Multimedia Examples: F Internet radio talk show F live sporting event Streaming (as with streaming stored multimedia) F playback buffer F playback can lag tens of seconds after transmission F still have timing constraint Interactivity F fast forward impossible F rewind, pause possible!

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 Real-Time Interactive Multimedia F end-end delay requirements: –audio: < 150 msec good, < 400 msec OK includes application-level (packetization) and network delays higher delays noticeable, impair interactivity F session initialization –how does callee advertise its IP address, port number, encoding algorithms? r applications: IP telephony, video conference, distributed interactive worlds

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Real-Time Protocol (RTP) F RTP specifies packet structure for packets carrying audio, video data F RTP packet provides –payload type identification –packet sequence numbering –time stamping F RTP runs in end systems F RTP treated like application program and encapsulated in UDP segments F interoperability: if two Internet phone applications run RTP, then they may be able to work together

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Real-Time Control Protocol (RTCP) F works in conjunction with RTP. F each participant in RTP session periodically transmits RTCP control packets to all other participants. F each RTCP packet contains sender and/or receiver reports –report statistics useful to application: # packets sent, # packets lost, interarrival jitter, etc. F feedback can be used to control performance –sender may modify its transmissions based on feedback

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Synchronization of Streams F RTCP can synchronize different media streams within a RTP session F consider videoconferencing for which each sender generates one RTP stream for video, one for audio. F timestamps in RTP packets tied to the video, audio sampling clocks F each RTCP sender-report packet contains (for most recently generated packet in associated RTP stream): –timestamp of RTP packet –wall-clock time for when packet was created. F receivers uses association to synchronize playout of audio, video

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 20

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 Stream Control Transmission Protocols F SCTP is a message-oriented, reliable protocol that combines the good features of UDP and TCP. 21

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 Multiple-stream Concept 22

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 Multihoming Concept 23

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 Summary F SCTP is a message oriented, reliable protocol that combines the good features of UDP and TCP F SCTP provides additional services that are not provided by UDP or TCP. F More reading from Wikipedia – Protocolhttp://en.wikipedia.org/wiki/Stream_Control_Transmission_ Protocol – – – 24

03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing IADCN - Week 10 Reading about Streaming Methods F Streaming from a Web Server ( owto/articles/webserver.aspx) F Streaming Methods: Web Server vs. Streaming Media Server ( ompare/webservvstreamserv.aspx) ompare/webservvstreamserv.aspx 25