Chapter 15 Chapter 15 Multimedia and Networks Multimedia Systems.

Slides:



Advertisements
Similar presentations
© De Montfort University, Protocols for multimedia transmission over the Internet Howell Istance Dept. of Computer Science De Montfort University.
Advertisements

CCNA – Network Fundamentals
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
User Control of Streaming Media: RTSP
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
Networking Theory (part 2). Internet Architecture The Internet is a worldwide collection of smaller networks that share a common suite of communication.
CS335 Principles of Multimedia Systems Multimedia Over IP Networks -- I Hao Jiang Computer Science Department Boston College Nov. 6, 2007.
WXES2106 Network Technology Semester /2005 Chapter 8 Intermediate TCP CCNA2: Module 10.
Chapter 4 OSI Transport Layer
Gursharan Singh Tatla Transport Layer 16-May
OIS Model TCP/IP Model.
Application Layer. Applications A program or group of programs designed for end users. Software can be divided into two general classes: systems software.
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.
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.
TRANSPORT LAYER T.Najah Al-Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
1 Transport Layer Computer Networks. 2 Where are we?
Chapter 17 Networking Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William Stallings.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based.
Presentation on Osi & TCP/IP MODEL
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
1 Semester 2 Module 10 Intermediate TCP/IP Yuda college of business James Chen
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
Jaringan Komputer Dasar OSI Transport Layer Aurelio Rahmadian.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
HTTP HTTP stands for Hypertext Transfer Protocol. It is an TCP/IP based communication protocol which is used to deliver virtually all files and other.
Huda AL_Omairl - Network 71 Protocols and Network Software.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
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 Λουκάς Ελευθέριος.
University of the Western Cape Chapter 12: The Transport Layer.
TCP/IP Transport and Application (Topic 6)
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 2.5 Internetworking Chapter 25 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
Chapter 6-2 the TCP/IP Layers. The four layers of the TCP/IP model are listed in Table 6-2. The layers are The four layers of the TCP/IP model are listed.
Streaming Media Control n The protocol components of the streaming n RTP/RTCP n RVSP n Real-Time Streaming Protocol (RTSP)
Transport Layer COM211 Communications and Networks CDA College Theodoros Christophides
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
ECEN “Internet Protocols and Modeling”, Spring 2012 Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Class.
Multimedia and Networks. Protocols (rules) Rules governing the exchange of data over networks Conceptually organized into stacked layers – Application-oriented.
Chapter 9: Transport Layer
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
Protocol Layering Chapter 11.
INTERNET AND PROTOCOLS For more notes and topics visit: eITnotes.com.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
Data Communications and Networks Chapter 6 – IP, UDP and TCP ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Process-to-Process Delivery:
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
Chapter 7: Transport Layer
Chapter 9: Transport Layer
Instructor Materials Chapter 9: Transport Layer
Chapter 5 Network and Transport Layers
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
Multimedia and Networks
Process-to-Process Delivery:
Networking Theory (part 2)
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
Presentation transcript:

Chapter 15 Chapter 15 Multimedia and Networks Multimedia Systems

Key Points  IP is the Internet Protocol and transfers datagrams between hosts that are identified by IP addresses.  TCP is layered on top of IP, to provide reliable delivery of sequenced packets.  UDP is also layered on top of IP, and provides a more efficient method of delivery, but it is not reliable.

Key Points  RTP runs on top of UDP and provides additional services for real-time delivery of data of different payload types.  Multicasting cuts down network traffic by sending packets to host groups, only creating duplicates when it is necessary. (Contrast unicasting.)  HTTP is used to transmit data between Web servers and clients. The client sends a request and gets a response.

Key Points  A GET request is used to retrieve a Web page. The response includes the status and, if it was successful, the text of the page is included in the body of the response.  HTTP includes a cacheing mechanism to help reduce network traffic.  RTSP is like an `Internet VCR remote control', providing control functions for RTP streams used for video etc.

Key Points  Quality of Service provides a measure of how well a network can deliver streamed data.  Server-side scripting is used to enable an HTTP server to communicate with other resources, and pass the results back to a client. The Common Gateway Interface (CGI) provides a mechanism for this.

Introduction  The relationship between computer networks and multimedia is a contradictory one: –they are incompatible perfect partners

Multimedia  Files are often very large  Complex processing such as decompression may be required  Response times must be short and tight  Synchronization constraints must be respected

Networks  Networks are particularly poorly placed to satisfy those demands, because of –inherent limitations of present day technology –complex and unpredictable effects of the interactions between network components and patterns of network traffic

Protocols  Protocols are the rules governing the exchange of data over network  They are conceptually organized into layers, stacked on top of each other  The protocols on each layer are implemented using those on the layer below

Protocols  The lowest layer protocols deal with the actual physical signals transmission  Higher level protocols handle the transfer of packets of raw data and ensure they reach their correct destination  The highest layers implement more application-oriented services

TCP/IP Networks  Packet-switched Networks – all messages are split into small pieces, called packets, which are sent separately  Advantage – enable network bandwidth to be shared efficiently between many messages  Disadvantage – can’t guarantee network quality

Internet Protocol  IP is the Internet Protocol, which makes the Internet possible  All that IP does is attempt to deliver individual datagrams from one host to another. It doesn't even guarantee to succeed

Transmission Control Protocol  TCP, the Transmission Control Protocol, is layered on top of IP  TCP provides reliable delivery of sequence packets. It does this using a system of acknowledgement

Transmission Control Protocol  Acknowledgement –when the destination receives a packet, it sends an acknowledgement to sender –if the acknowledgement is not received within a specified period of time (the time-out), the packet is sent again –the mechanism of acknowledgement achieves the reliability of transmission

Transmission Control Protocol  Sliding window –instead of sending a single packet and waiting for an acknowledgement, it allows the sender to transmit multiple packets before waiting for an acknowledgement Initial window window slide Acknowledgement 1 2

Transmission Control Protocol  TCP is less efficient than IP, because it adds extra overheads in acknowledgements and retransmission  For some networked multimedia applications, the possibility of lost packet is more acceptable than the overhead of TCP

User Datagram Protocol  UDP, the User Datagram Protocol, is built on top of IP, like TCP, but is much simpler  Like IP, UDP only tries its best to deliver datagrams, it does not offer reliable delivery provided by TCP  UDP is a suitable basis for delivering data such as streamed video and audio, for which real-time constraints are more important than totally reliable delivery

Real-time Transport Protocol  The low-cost delivery of UDP is not enough for delivering streamed video and audio  The Real-time Transport Protocol (RTP) typically runs on top of UDP, adding extra features that are needed for sequencing identifying and synchronization

Real-time Transport Protocol  sequence number –Each packet has a sequence number to enable applications to reconstruct a sequence of packets and detect whether any are missing  timestamp –It records the instant at which the first byte contained in a packet was sampled –Synchronization can be collated with the timestamps to ensure that simultaneously sampled data is played back at the same instant

Multicasting  A common situation where data is unnecessarily duplicated arises when a group of Internet users require access to the same resource at the same time  Conventional (unicast) transmission require that the server from which the video is being streamed send a copy of it to everybody who has set up a connection

Multicasting  In multicasting, a single packet is sent and is duplicated along the way whenever routes to different users diverge

Application Protocols for Multimedia  Higher level protocols must run on top of the network and transport protocols to provide services suitable for distributed multimedia applications –HTTP (Hypertext Transfer Protocol)  the basis of the World Wide Web –RTSP (Real Time Streaming Protocol)  a newer protocol designed to control streamed media

HTTP  Interaction between a Web client and server over HTTP : –Client/Server model  To start things off, the client opens a TCP connection to a server  the client sending requests, which are met by responses from the server

HTTP  HTTP requests and responses are collectively known as messages  Both consists of a string of 8-bits characters, so they can be treated as text by programs that read them

HTTP  Messages conform to a simple rigid structure –initial line  request line (for a request)  status line (for a response) –one or more headers  containing various parameters and modifiers –body  containing data, such as the contents of a file being sent by the server

HTTP  A request line comprises three elements –method identifies the service being requested, the most commonly used method is GET –identifier tells the server which resource is being requested –HTTP version indicates which protocol version the client is using GET /compbooks/chapman/index.html HTTP/1.1

HTTP  Headers take the form of a header name followed by a colon and some arguments Host: User-Agent: Mozilla/4.0  One of the most commonly seen headers in GET requests is Accept, which indicates the range of types of data that the browser can deal with Accept: image/gif, image/jpeg Accept: */*

HTTP  Status line also comprises three components –protocol version tells the client which HTTP version the server is using –status code –short phrase explains to human readers what the status code means HTTP/ OK

RTSP  RTP does not provide all the necessary functionality required for streamed data –we usually want to be able to  start, stop and pause them, and possibly go to a particular point in the stream (for streams that are not being transmitted live)  for live streams, we might want to schedule a time at which to start the display

RTSP  RTSP is intended to provide these services. It is often described as “Internet VCR remote control protocol”  Syntactically, RTSP closely resembles HTTP with request and status lines and headers

RTSP  In the simplest mode of operation, an RTSP client sends –PLAY requests to cause the server to begin sending data –PAUSE requests to temporarily halt it  Note that the media data is transmitted separately, often using RTP; RTSP merely coordinates the transmission

Relationships between TCP/IP protocols used for multimedia IP TCPUDP RTSPHTTP RTP

Quality of Service  Delay  Variation in delay is called jitter –Two problems  Variation in time between packets can result in time base errors  Loss of synchronization of several streams –Lip-sync  Loss  Measurable quantities –delay, jitter, loss

ATM  Asynchronous Transfer Mode –Offer guarantees about the quality of services –Much more like a circuit-switched network  Integrated Services Architecture –Different classes of services  Best effort  Guaranteed  RSVP –Resource Reservation Protocol

Server-side Computation  Client-side scripting  Server-side scripting –Common Gateway Interface (CGI)

CGI  A mechanism for server to pass on data in a client’s request to a script –CGI script  Three places –Headers in HTTP request –Query string –POST