CS640: Introduction to Computer Networks. Application Classes. Application Classes (more) 11/20/2007

Similar documents
Streaming (Multi)media

Multimedia Networking

The Transport Layer: User Datagram Protocol

CS 218 F Nov 3 lecture: Streaming video/audio Adaptive encoding (eg, layered encoding) TCP friendliness. References:

MULTIMEDIA I CSC 249 APRIL 26, Multimedia Classes of Applications Services Evolution of protocols

Chapter 7 Multimedia Networking

Outline. QoS routing in ad-hoc networks. Real-time traffic support. Classification of QoS approaches. QoS design choices

Digital Asset Management 5. Streaming multimedia

Multimedia Applications: Streaming. Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011

Latency and Loss Requirements! Receiver-side Buffering! Dealing with Loss! Loss Recovery!

Mohammad Hossein Manshaei 1393

Service/company landscape include 1-1

Multimedia in the Internet

in the Internet Andrea Bianco Telecommunication Network Group Application taxonomy

File transfer. Internet Applications (FTP,WWW, ) Connections. Data connections

Chapter 9. Multimedia Networking. Computer Networking: A Top Down Approach

Computer Networks. Wenzhong Li. Nanjing University

Internet Video Delivery. Professor Hui Zhang

4 rd class Department of Network College of IT- University of Babylon

Video Streaming and Media Session Protocols

Lecture 9: Media over IP

Multimedia Networking

Page 1. Outline / Computer Networking : 1 st Generation Commercial PC/Packet Video Technologies

CSCD 433/533 Advanced Networks Fall Lecture 14 RTSP and Transport Protocols/ RTP

Multimedia Networking

ITTC Communication Networks The University of Kansas EECS 780 Multimedia and Session Control

Quality of Service. Qos Mechanisms. EECS 122: Lecture 15

Today. March 7, 2006 EECS122 Lecture 15 (AKP) 4. D(t) Scheduling Discipline. March 7, 2006 EECS122 Lecture 15 (AKP) 5

Content distribution networks

CSC 4900 Computer Networks: Multimedia Applications

Networking Applications

Multimedia Applications. Classification of Applications. Transport and Network Layer

CS 457 Multimedia Applications. Fall 2014

Chapter 7: Multimedia Networking

Multimedia Networking

Telematics 2 & Performance Evaluation

Chapter 9. Multimedia Networking. Computer Networking: A Top Down Approach

Multimedia Networking

Chapter 7 Multimedia Networking

Chapter 5 VoIP. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March Multmedia Networking

Chapter 7 + ATM/VC networks (3, 4, 5): Multimedia networking, QoS, Congestion control Course on Computer Communication and Networks, CTH/GU

Real-time Services BUPT/QMUL

Lecture 14: Multimedia Communications

Mohammad Hossein Manshaei 1393

Chapter 7 Multimedia Networking

Tema 0: Transmisión de Datos Multimedia

Transporting audio-video. over the Internet

Transport protocols Introduction

Chapter 7 + ATM/VC networks (3, 4, 5): control Course on Computer Communication and Networks, CTH/GU

Data Communications & Networks. Session 10 Main Theme Multimedia Networking. Dr. Jean-Claude Franchitti

Introduction to Networked Multimedia An Introduction to RTP p. 3 A Brief History of Audio/Video Networking p. 4 Early Packet Voice and Video

Chapter 7 Multimedia Networking

Internet Streaming Media. Reji Mathew NICTA & CSE UNSW COMP9519 Multimedia Systems S2 2007

CS519: Computer Networks. Lecture 9: May 03, 2004 Media over Internet

Chapter 7 Multimedia Networking. Chapter 7 outline. Chapter 7: goals. Multimedia and Quality of Service: What is it? QoS

Multimedia! 23/03/18. Part 3: Lecture 3! Content and multimedia! Internet traffic!

Part 3: Lecture 3! Content and multimedia!

Chapter 7 Multimedia Networking

Including location-based services, IoT, and increasing personalization... Service models and delivery architectures

RTP: A Transport Protocol for Real-Time Applications

Real-time Services BUPT/QMUL

Kommunikationssysteme [KS]

Multimedia

CN1047 INTRODUCTION TO COMPUTER NETWORKING CHAPTER 6 OSI MODEL TRANSPORT LAYER

Mul$media Streaming. Digital Audio and Video Data. Digital Audio Sampling the analog signal. Challenges for Media Streaming.

Application Layer Protocols

Introduction to LAN/WAN. Application Layer 4

RTP/RTCP protocols. Introduction: What are RTP and RTCP?

Multimedia Systems Multimedia Networking Part I Mahdi Amiri December 2015 Sharif University of Technology

Multimedia networking: outline

Internet Technologies for Multimedia Applications

RTP. Prof. C. Noronha RTP. Real-Time Transport Protocol RFC 1889

Internet Streaming Media

Multimedia: video ... frame i+1

Chapter 28. Multimedia

OSI Transport Layer. Network Fundamentals Chapter 4. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

EDA095 Audio and Video Streaming

Internet Streaming Media. Reji Mathew NICTA & CSE UNSW COMP9519 Multimedia Systems S2 2006

Overview. A Survey of Packet-Loss Recovery Techniques. Outline. Overview. Mbone Loss Characteristics. IP Multicast Characteristics

What Transport Services Does an App Need? Network Service Model. Multimedia Apps Quality of Service. Transport Service Requirements of Common Apps

Request for Comments: 5109 December 2007 Obsoletes: 2733, 3009 Category: Standards Track. RTP Payload Format for Generic Forward Error Correction

Multimedia Protocols. Foreleser: Carsten Griwodz Mai INF-3190: Multimedia Protocols

Popular protocols for serving media

Provide a generic transport capabilities for real-time multimedia applications Supports both conversational and streaming applications

ITEC310 Computer Networks II

Transporting Voice by Using IP

Πολυμεσικό Υλικό στο Internet: Συγχρονισμός, Επεξεργασία και Διακίνηση

ES623 Networked Embedded Systems

Real-Time Protocol (RTP)

Streaming Video over the Internet. Dr. Dapeng Wu University of Florida Department of Electrical and Computer Engineering

ELEC 691X/498X Broadcast Signal Transmission Winter 2018

COMP 249 Advanced Distributed Systems Multimedia Networking. Performance of Multimedia Delivery on the Internet Today

Assuring Media Quality in IP Video Networks. Jim Welch IneoQuest Technologies

CS 640: Introduction to Computer Networks. Today s Lecture. Page 1

RECOMMENDATION ITU-R BT.1720 *

Multimedia and the Internet

Week-12 (Multimedia Networking)

Ch 4: Multimedia. Fig.4.1 Internet Audio/Video

Lecture 9 and 10. Source coding for packet networks

TSIN02 - Internetworking

Transcription:

CS640: Introduction to Computer Networks Aditya Akella Lecture 21 - Multimedia Networking Application Classes Typically sensitive to delay, but can tolerate packet loss (would cause minor glitches that can be concealed) Data contains audio and video content ( continuous media ), three classes of applications: Streaming stored content Unidirectional Real-Time Interactive Real-Time 2 Application Classes (more) Streaming stored content Clients request audio/video files from servers and pipeline reception over the network and display Interactive: user can control operation (similar to VCR: pause, resume, fast forward, rewind, etc.) Streaming start playing before all content arrives Continuous playout: some delivery constraints 3 1

Application Classes (more) Unidirectional Real-Time: similar to existing TV and radio stations, but delivery on the network Non-interactive, just listen/view Interactive Real-Time: Phone conversation or video conference More stringent delay requirement than Streaming and Unidirectional because of real-time nature Video: < 150 msec acceptable Audio: < 150 msec good, <400 msec acceptable 4 Streaming Applications Important and growing application Due to reduction of storage costs, increase in high speed net access from homes and enhancements to caching Audio/Video file is segmented and sent over either TCP or UDP Public segmentation protocol: Real-Time Protocol (RTP) User Interaction: Real-time Streaming protocol (RTSP) 5 Streaming Helper Application: displays content, which is typically requested via a Web browser; e.g. RealPlayer; typical functions: Decompression Jitter removal Error correction: use redundant packets to be used for reconstruction of original stream GUI for user control 6 2

Streaming From Web Servers Audio: in files sent as HTTP objects Video (interleaved audio and images in one file, or two separate files and client synchronizes the display) sent as HTTP object(s) A simple architecture is to have the Browser request the object(s) and after their reception pass them to the player for display - No pipelining 7 Streaming From Web Server Alternative: set up connection between server and player, then download Web browser requests and receives a Meta File (a file describing the object) instead of receiving the file itself; Browser launches the appropriate Player and passes it the Meta File; Player sets up a TCP connection with Web Server and downloads the file 8 Using a Streaming Server This gets us around HTTP, allows use of UDP vs. TCP and the application layer protocol can be better tailored to Streaming; many enhancements options are possible Separate out functionality 9 3

Options When Using a Streaming Server UDP: Server sends at a rate (Compression and Transmission) appropriate for client; to reduce jitter, Player buffers initially for 2-5 seconds, then starts display Use TCP, and sender sends at maximum possible rate under TCP; retransmit when error is encountered; Player uses a much large buffer to smooth delivery rate of TCP 10 Real Time Streaming Protocol (RTSP) For user to control display: rewind, fast forward, pause, resume, etc Out-of-band protocol (uses two connections, one for control messages (Port 554) and one for media stream) As before, meta file is communicated to web browser which then launches the Player; Meta file contains presentation description file which has information on the multi-media content 11 Presentation Description Example <title>xena: Warrior Princess</title> <session> <group language=en lipsync> <switch> <track type=audio e="pcmu/8000/1" src = "rtsp://audio.example.com/xena/audio.en/lofi"> <track type=audio e="dvi4/16000/2" pt="90 DVI4/8000/1" src="rtsp://audio.example.com/xena/audio.en/hifi"> </switch> <track type="video/jpeg" src="rtsp://video.example.com/twister/video"> </group> </session> 12 4

RTSP Operation C: SETUP rtsp://audio.example.com/xena/audio RTSP/1.0 Transport: rtp/udp; compression; port=3056; mode=play S: RTSP/1.0 200 1 OK Session 4231 C: PLAY rtsp://audio.example.com/xena/audio.en/lofi RTSP/1.0 Session: 4231 Range: npt=0- (npt = normal play time) C: PAUSE rtsp://audio.example.com/xena/audio.en/lofi RTSP/1.0 Session: 4231 Range: npt=37 C: TEARDOWN rtsp://audio.example.com/xena/audio.en/lofi RTSP/1.0 Session: 4231 S: 200 3 OK 13 Real-Time Protocol (RTP) Provides standard packet format for realtime application Application-level; Typically runs over UDP Specifies header fields for identifying payload type, detecting packet loss, accounting for jitter etc. Payload Type: 7 bits, providing 128 possible different types of encoding; eg PCM, MPEG2 video, etc. 14 Real-Time Protocol (RTP) Timestamp: 32 bytes; gives the sampling instant of the first audio/video byte in the packet; used to remove jitter introduced by the network Sequence Number: 16 bits; used to detect packet loss 15 5

Real-Time (Phone) Over IP s Best- Effort Internet phone applications generate packets during talk spurts Bit rate is 8 Kbytes/s, and every 20 msec, the sender forms a packet of ~160 Bytes The coded voice information is encapsulated into a UDP packet and sent out Packets may be arbitrarily delayed or lost When to play back a chunk? What to do with a missing chunk? 16 Removing Jitter Decision on when to play out a chunk affected by network jitter Variation in queueing delays of chunks One option: ignore jitter and play chunks as and when they arrive Can become highly unintelligible, quickly But jitter can be handled using: sequence numbers time stamps delaying playout 17 Fixed Playout Delay Trade-off between lost packets and large delays Can make play-out even better with adaptive playout 18 6

Recovery From Packet Loss Loss interpreted in a broad sense: packet never arrives or arrives later than its scheduled playout time Since retransmission is inappropriate for Real Time applications, FEC or Interleaving are used to reduce loss impact and improve quality FEC is Forward Error Correction Simplest FEC scheme adds a redundant chunk made up of exclusive OR of a group of n chunks Can reconstruct if at most one lost chunk Redundancy is 1/n, bad for small n Also, play out delay is higher 19 Another FEC Mechanism Send a low resolution audio stream as redundant information Upon loss, playout available redundant chunk Albeit a lower quality one With one redundant low quality chunk per chunk, scheme can recover from single packet losses 20 Piggybacking Lower Quality Stream 21 7

Interleaving Divide 20 msec of audio data into smaller units of 5 msec each and interleave Upon loss, have a set of partially filled chunks Has no redundancy, but can cause delay in playout beyond Real Time requirements 22 8