Multimedia networking: outline

Similar documents
Real-Time Control Protocol (RTCP)

Multimedia networking: outline

Topic 4b: QoS Principles. Chapter 9 Multimedia Networking. Computer Networking: A Top Down Approach

Mohammad Hossein Manshaei 1393

Mohammad Hossein Manshaei 1393

Improving QOS in IP Networks. Principles for QOS Guarantees

Video Streaming and Media Session Protocols

Master Course Computer Networks IN2097

The Diffie-Hellman Key Exchange

Master Course Computer Networks IN2097

Multimedia Networking. Protocols for Real-Time Interactive Applications

Quality of Service (QoS)

Real-Time Protocol (RTP)

Multimedia

Multimedia networking: outline

of-service Support on the Internet

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

Mul$media Networking. #10 QoS Semester Ganjil 2012 PTIIK Universitas Brawijaya

55:054 Communication Networks 12/11/2008

Chapter 7 Multimedia Networking

Multimedia Applications. Classification of Applications. Transport and Network Layer

Network Layer Enhancements

CSC 4900 Computer Networks: Multimedia Applications

Master Kurs Rechnernetze Computer Networks IN2097

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

Internet Services & Protocols. Quality of Service Architecture

Lecture 9: Media over IP

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097

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

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

Chapter 7 Multimedia Networking

Chapter 7 Multimedia Networking

Computer Networks. Wenzhong Li. Nanjing University

Common network/protocol functions

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

Network Support for Multimedia

Multimedia Networking. Network Support for Multimedia Applications

Week 7: Traffic Models and QoS

Common network/protocol functions

Multimedia Networking

Chapter 7 Multimedia Networking

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

Telematics 2. Chapter 3 Quality of Service in the Internet. (Acknowledgement: These slides have been compiled from Kurose & Ross, and other sources)

Multiplexing. Common network/protocol functions. Multiplexing: Sharing resource(s) among users of the resource.

Multicast and Quality of Service. Internet Technologies and Applications

Telematics 2 & Performance Evaluation

Chapter 7 Multimedia Networking

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

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

Advanced Computer Networks

Part1: Lecture 4 QoS

Computer Networking. Queue Management and Quality of Service (QOS)

CSCD 433/533 Advanced Networks Spring Lecture 22 Quality of Service

ETSF10 Internet Protocols Transport Layer Protocols

Multimedia Networking

Last time! Overview! 14/04/15. Part1: Lecture 4! QoS! Router architectures! How to improve TCP? SYN attacks SCTP. SIP and H.

Week-12 (Multimedia Networking)

Master Course Computer Networks IN2097

Lecture Outline. Bag of Tricks

Protocols supporting VoIP

VoIP Protocols and QoS

Telematics 2 & Performance Evaluation

A common issue that affects the QoS of packetized audio is jitter. Voice data requires a constant packet interarrival rate at receivers to convert

Voice over IP (VoIP)

The Session Initiation Protocol

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

Master Course Computer Networks IN2097

Lecture 24: Scheduling and QoS

Quality of Service II

Department of Computer Science. Burapha University 6 SIP (I)

Objectives. CS529 Multimedia Networking. Groupwork. Introduction Outline 1/31/2013. Brief introduction to: Introduction

Overview Computer Networking What is QoS? Queuing discipline and scheduling. Traffic Enforcement. Integrated services

Master Course Computer Networks IN2097

Signaling. Stefan Schmid - 1

Advanced Lab in Computer Communications Meeting 6 QoS. Instructor: Tom Mahler

QUALITY of SERVICE. Introduction

Packet Scheduling and QoS

Quality of Service (QoS)

TSIN02 - Internetworking

EPL606. Quality of Service and Traffic Classification

Kommunikationssysteme [KS]

Tema 0: Transmisión de Datos Multimedia

Kommunikationssysteme [KS]

Common network/protocol functions. Common but already covered

QoS Guarantees. Motivation. . link-level level scheduling. Certain applications require minimum level of network performance: Ch 6 in Ross/Kurose

RSVP and the Integrated Services Architecture for the Internet

Quality of Service (QoS)

Multimedia networks. Additional references. Jargon. Analog to Digital (S5 4.3) KR: Kurose and Ross chapter 7 (KR3: 3 rd ed)

Overview of the Session Initiation Protocol

Lecture 14: Performance Architecture

DiffServ Architecture: Impact of scheduling on QoS

Multimedia Networking

TELE Switching Systems and Architecture. Assignment Week 10 Lecture Summary - Traffic Management (including scheduling)

Multimedia networking: outline

Multimedia Communication

Internet Telephony: Advanced Services. Overview

CS 457 Multimedia Applications. Fall 2014

Overview. Lecture 22 Queue Management and Quality of Service (QoS) Queuing Disciplines. Typical Internet Queuing. FIFO + Drop tail Problems

Transcription:

Multimedia networking: outline 9.1 multimedia networking applications 9.2 streaming stored video 9.3 voice-over-ip 9.4 protocols for real-time conversational applications: SIP Skip RTP, RTCP 9.5 network support for multimedia 9-1

SIP: Session Initiation Protocol [RFC 3261] long-term vision: all telephone calls, video conference calls take place over Internet people identified by names or e-mail addresses, rather than by phone numbers can reach callee (if callee so desires), no matter where callee roams, no matter what IP device callee is currently using 9-2

SIP services SIP provides mechanisms for call setup: 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 call management: add new media streams during call change encoding during call invite others transfer, hold calls 9-3

Example: setting up call to known IP address Alice s SIP invite message indicates her port number, IP address, encoding she prefers to receive (PCM µlaw) 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 9-4

Setting up a call (more) codec negotiation: suppose Bob doesn t have PCM µlaw encoder Bob will instead reply with 606 Not Acceptable Reply, listing his encoders. Alice can then send new INVITE message, advertising different encoder rejecting a call Bob can reject with replies busy, gone, payment required, forbidden media can be sent over RTP or some other protocol 9-5

Example of SIP message INVITE sip:bob@domain.com SIP/2.0 Via: SIP/2.0/UDP 167.180.112.24 From: sip:alice@hereway.com To: sip:bob@domain.com Call-ID: a2e3a@pigeon.hereway.com Content-Type: application/sdp Content-Length: 885 c=in IP4 167.180.112.24 m=audio 38060 RTP/AVP 0 Notes: HTTP message syntax sdp = session description protocol Call-ID is unique for every call Here we don t know Bob s IP address intermediate SIP servers needed Alice sends, receives SIP messages using SIP default port 506 Alice specifies in header that SIP client sends, receives SIP messages over UDP 9-6

Name translation, user location caller wants to call result can be based on: callee, but only has time of day (work, callee s name or e-mail home) address. caller (don t want boss to call you at home) need to get IP address of callee s current host: status of callee (calls sent to voicemail when callee user moves around is already talking to DHCP protocol someone) user has different IP devices (PC, smartphone, car device) 9-7

SIP registrar one function of SIP server: registrar when Bob starts SIP client, client sends SIP REGISTER message to Bob s registrar server register message: REGISTER sip:domain.com SIP/2.0 Via: SIP/2.0/UDP 193.64.210.89 From: sip:bob@domain.com To: sip:bob@domain.com Expires: 3600 9-8

SIP proxy another function of SIP server: proxy Alice sends invite message to her proxy server contains address sip:bob@domain.com proxy responsible for routing SIP messages to callee, possibly through multiple proxies Bob sends response back through same set of SIP proxies proxy returns Bob s SIP response message to Alice contains Bob s IP address SIP proxy analogous to local DNS server plus TCP setup 9-9

SIP example: jim@umass.edu calls keith@poly.edu 2. UMass proxy forwards request to Poly registrar server Poly SIP registrar 2 3 3. Poly server returns redirect response, indicating that it should try keith@eurecom.fr UMass SIP proxy 1. Jim sends INVITE message to UMass SIP proxy. 128.119.40.186 1 8 4. Umass proxy forwards request to Eurecom registrar server 4 7 6-8. SIP response returned to Jim 9 9. Data flows between clients 6 5 Eurecom SIP registrar 5. eurecom registrar forwards INVITE to 197.87.54.21, which is running keith s SIP client 197.87.54.21 9-10

Multimedia networking: outline 9.1 multimedia networking applications 9.2 streaming stored video 9.3 voice-over-ip 9.4 protocols for real-time conversational applications 9.5 network support for multimedia 9-11

Network support for multimedia 9-12

Dimensioning best effort networks approach: deploy enough link capacity so that congestion doesn t occur, multimedia traffic flows without delay or loss low complexity of network mechanisms (use current best effort network) high bandwidth costs challenges: network dimensioning: how much bandwidth is enough? estimating network traffic demand: needed to determine how much bandwidth is enough (for that much traffic) 9-13

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 versus regular service) granularity: differential service among multiple classes, not among individual connections history: ToS bits 0111 9-14

Multiple classes of service: scenario H1 R1 R2 H3 H2 R1 output interface queue 1.5 Mbps link H4 9-15

Scenario 1: mixed HTTP and VoIP example: 1Mbps VoIP, HTTP share 1.5 Mbps link. HTTP bursts can congest router, cause audio loss want to give priority to audio over HTTP R1 R2 Principle 1 packet marking needed for router to distinguish between different classes; and new router policy to treat packets accordingly 9-16

Principles for QOS guarantees (more) what if applications misbehave (VoIP sends higher than declared rate) policing: force source adherence to bandwidth allocations marking, policing at network edge 1 Mbps phone R1 R2 1.5 Mbps link packet marking and policing Principle 2 provide protection (isolation) for one class from others 9-17

Principles for QOS guarantees (more) allocating fixed (non-sharable) bandwidth to flow: inefficient use of bandwidth if flows doesn t use its allocation 1 Mbps phone R1 1 Mbps logical link R2 1.5 Mbps link 0.5 Mbps logical link Principle 3 while providing isolation, it is desirable to use resources as efficiently as possible 9-18

Scheduling and policing mechanisms packet scheduling: choose next queued packet to send on outgoing link packet arrivals queue (waiting area) link (server) packet departures previously covered in Chapter 4: FCFS: first come first served simply multi-class priority round robin weighted fair queueing (WFQ) 9-19

Policing mechanisms goal: limit traffic to not exceed declared parameters Three common-used criteria: (long term) average rate: how many pkts can be sent per unit time (in the long run) crucial question: what is the interval length: 100 packets per sec or 6000 packets per min have same average! peak rate: e.g., 6000 pkts per min (ppm) avg.; 1500 ppm peak rate (max.) burst size: max number of pkts sent consecutively (with no intervening idle) 9-20

Policing mechanisms: implementation token bucket: limit input to specified burst size and average rate bucket can hold b tokens tokens generated at rate r token/sec unless bucket full over interval of length t: number of packets admitted less than or equal to (r t + b) 9-21

Policing and QoS guarantees token bucket, WFQ combine to provide guaranteed upper bound on delay, i.e., QoS guarantee! arriving traffic token rate, r bucket size, b WFQ per-flow rate, R arriving traffic D = b/r max 9-22

DiffServ, IntServ Two proposals to add QoS on the internet Skip details