Multimedia Networking

Similar documents
Classes of multimedia Applications

internet technologies and standards

Digital Audio and Video Data

Multimedia Communications Voice over IP

Voice-Over-IP. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme

Lecture 33. Streaming Media. Streaming Media. Real-Time. Streaming Stored Multimedia. Streaming Stored Multimedia

Streaming Stored Audio & Video

Unit 23. RTP, VoIP. Shyam Parekh

Internet Services & Protocols Multimedia Applications, Voice over IP

EDA095 Audio and Video Streaming

Computer Networks. Voice over IP (VoIP) Professor Richard Harris School of Engineering and Advanced Technology (SEAT)

Session Initiation Protocol (SIP) The Emerging System in IP Telephony

Internet Services & Protocols Multimedia Applications, Voice over IP

IP-Telephony Real-Time & Multimedia Protocols

Multimedia Networking. Yao Wang Polytechnic University, Brooklyn, NY11201

Multimedia Networking. Yao Wang Polytechnic University, Brooklyn, NY11201

Advanced Networking Voice over IP: RTP/RTCP The transport layer

Mixer/Translator VOIP/SIP. Translator. Mixer

Voice over IP: RTP/RTCP The transport layer

Internet Working 15th lecture (last but one) Chair of Communication Systems Department of Applied Sciences University of Freiburg 2005

point to point and point to multi point calls over IP

technology standards and protocol for ip telephony solutions

TSIN02 - Internetworking

RTP / RTCP. Announcements. Today s Lecture. RTP Info RTP (RFC 3550) I. Final Exam study guide online. Signup for project demos

(Refer Slide Time: 01:46)

Mul$media Networking. #3 Mul$media Networking Semester Ganjil PTIIK Universitas Brawijaya. #3 Requirements of Mul$media Networking

Final for ECE374 05/06/13 Solution!!

Basic principles of Voice over IP

Encapsulating Voice in IP Packets

VIDEOCONFERENCING. Video class

VoIP QoS. Version 1.0. September 4, AdvancedVoIP.com. Phone:

QOS Requirements and Service Level Agreements. LECTURE 4 Lecturer: Associate Professor A.S. Eremenko

Voice over IP. Presentation Outline. Objectives

Voice over IP. Demonstration 1: VoIP Protocols. Network Environment

Sources: Chapter 6 from. Computer Networking: A Top-Down Approach Featuring the Internet, by Kurose and Ross

6. Streaming Architectures 7. Multimedia Content Production and Management 8. Commercial Streaming Systems: An Overview 9. Web Radio and Web TV

Special Module on Media Processing and Communication

TECHNICAL CHALLENGES OF VoIP BYPASS

The use of IP networks, namely the LAN and WAN, to carry voice. Voice was originally carried over circuit switched networks

VoIP Analysis Fundamentals with Wireshark. Phill Shade (Forensic Engineer Merlion s Keep Consulting)

IP (RTP, RTCP, SIP, RSTP)

B12 Troubleshooting & Analyzing VoIP

VoIP in Mika Nupponen. S Postgraduate Course in Radio Communications 06/04/2004 1

White paper. SIP An introduction

VoIP with SIP. Session Initiation Protocol RFC-3261/RFC

Audio and Video for the Internet

Transfer and Control Protocols H.261. Standards of ITU

Review: Lecture 1 - Internet History

3.2: Transfer and Control Protocols Multimedia Operating Systems. The H.x Protocols Chapter 4: Multimedia Systems

Comparison of Voice over IP with circuit switching techniques

Introduction VOIP in an Network VOIP 3

Voice over IP (VoIP) Overview. Introduction. David Feiner ACN Introduction VoIP & QoS H.323 SIP Comparison of H.323 and SIP Examples

Applications that Benefit from IPv6

Chapter 10 Session Initiation Protocol. Prof. Yuh-Shyan Chen Department of Computer Science and Information Engineering National Taipei University

HELSINKI UNIVERSITY OF TECHNOLOGY NETWORKING LABORATORY. Assignment 2: sipspy Jegadish.D 1

SIP Trunking and Voice over IP

Multimedia Applications. Streaming Stored Multimedia. Classification of Applications

A Comparative Study of Signalling Protocols Used In VoIP

Internet Security. Internet Security Voice over IP. Introduction. ETSF10 Internet Protocols ETSF10 Internet Protocols 2011

Application Note How To Determine Bandwidth Requirements

Project Code: SPBX. Project Advisor : Aftab Alam. Project Team: Umair Ashraf (Team Lead) Imran Bashir Khadija Akram

Applied Networks & Security

Indepth Voice over IP and SIP Networking Course

7 Streaming Architectures

Multimedia Networking and Network Security

Voice over IP (VoIP) Part 2

Broadband Networks. Prof. Dr. Abhay Karandikar. Electrical Engineering Department. Indian Institute of Technology, Bombay. Lecture - 29.

Media Gateway Controller RTP

Chapter 7: Multimedia Networking. Chapter 7: Multimedia Networking. Contents: Multimedia, QoS, CDN, P2P. Multimedia. Multimedia Networking Map

Chapter 2 Voice over Internet Protocol

VOICE over IP H.323 Advanced Computer Network SS2005 Presenter : Vu Thi Anh Nguyet

Network Simulation Traffic, Paths and Impairment

Transport and Network Layer

Application Note. Onsight Connect Network Requirements V6.1

2.1 Introduction. 2.2 Voice over IP (VoIP)

ADVANTAGES OF AV OVER IP. EMCORE Corporation

This document explains how to enable the SIP option and adjust the levels for the connected radio(s) using the below network example:

SIP, Session Initiation Protocol used in VoIP

Internet Technology Voice over IP

Nortel Technology Standards and Protocol for IP Telephony Solutions

Online course syllabus. MAB: Voice over IP

SIP Conferencing. Audio/video tools + protocols for A/V over IP Conference announcement and control protocols. Audio + video (+ sometimes slides)

Grandstream Networks, Inc.

IP Ports and Protocols used by H.323 Devices

Introduction to VoIP. 陳 懷 恩 博 士 副 教 授 兼 所 長 國 立 宜 蘭 大 學 資 訊 工 程 研 究 所 TEL: # 255

Implementing VoIP support in a VSAT network based on SoftSwitch integration

IxLoad: Testing Microsoft IPTV

IPTV and its transportation...

Setting up a reflector-reflector interconnection using Alkit Reflex RTP reflector/mixer

SIP Signaling and QoS for VoIP over IPv6 DVB-RCS Satellite Networks M. Ali, L. Liang, Z. Sun (Member IEEE) and H. Cruickshank (Member IEEE)

Lost Packets Recovery during Video Broadcasting Over Data Network

An Introduction to VoIP Protocols

NAT TCP SIP ALG Support

Enhancements to Collaborative Media Streaming with IETF Protocols

Quality Estimation for Streamed VoIP Services

Performance of Various Codecs Related to Jitter Buffer Variation in VoIP Using SIP

Chapter 3 ATM and Multimedia Traffic

Voice over IP. Raj Jain. The Ohio State University Columbus, OH Raj Jain

VoIP. Overview. Jakob Aleksander Libak Introduction Pros and cons Protocols Services Conclusion

Transcription:

Multimedia Networking Raj Jain Washington University in Saint Louis Saint Louis, MO 63130 Jain@wustl.edu Audio/Video recordings of this lecture are available on-line at: http://www.cse.wustl.edu/~jain/cse473-11/ 7-1

Overview Multimedia Networking Applications Real-Time Streaming Protocol (RTSP) Real-Time Transport Protocol (RTP) Session Initiation Protocol (SIP) Note: This class lecture is based on Chapter 7 of the textbook (Kurose and Ross) and the figures provided by the authors. 7-2

Multimedia Networking Applications Streaming Stored Audio and Video Stored Media: Fast rewind, pause, fast forward Streaming: simultaneous play out and download Continuous play out: Delay jitter smoothed by playout buffer Streaming Live Audio and Video: IPTV and Internet Radio No fast-forward High data rate to large number of users multicast or P2P, delay jitter controlled by caching, Real-Time Interactive Audio and Video: Internet Telephone, Video Conferencing Delay<400 ms. 7-3

Best Effort Service Multimedia on Internet TCP not used due to retransmission delays Limited packet loss tolerated Packet jitter smoothed by buffering Hard Guarantee: Min Throughput, Max Delay, Max delay jitter Soft Guarantee: Quality of service with a high probability Protocol for Bandwidth Reservation and Traffic Description Scheduling to honor bandwidth reservation High Bandwidth Content Distribution Networks: Akamai 7-4

Audio Compression Standards 4kHz audio Audio sampled at 8000 samples per second 256 levels per sample 8 bits/sample 64 kbps Pulse Code Modulation (PCM) CD's use 44.1 ksamples/s, 16 b/sample 705.6 kbps (mono) or 1.411 Mbps (Stereo) GSM Cell phones: 13 kbps G.711: 64 kbps G.729: 8 kbps G.723.3: 6.4 and 5.3 kbps MPEG 1 Layer 3 (MP3): 96 kbps, 128 kbps, or 160 kbps 7-5

Video Compression Standards Moving Pictures Expert Group (MPEG) MPEG 1: CD quality video (1.5 Mbps) MPEG 2: DVD quality Video 3-6 Mbps MPEG 4: Low-rate high-quality video (.divx or.mp4) H.261 7-6

Web Server vs. Streaming Server Web Servers sends the whole file as one object Streaming Server sends at a constant rate 7-7

Real-Time Streaming Protocol (RTSP) Protocol to control streaming media Allows start, stop, pause, fast forward, rewinding a stream Data and control channels All commands are sent on control channel (Port 544) Specified as a URL in web pages: rtsp://www.cse.wustl.edu/~jain/cse473-09/ftp/i_7mmn0.rm 7-8

RTSP Operation 7-9

RTSP Exchange Example C: SETUP rtsp://audio.example.com/twister/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/twister/audio.en/lofi RTSP/1.0 Session: 4231 Range: npt=0- C: PAUSE rtsp://audio.example.com/twister/audio.en/lofi RTSP/1.0 Session: 4231 Range: npt=37 C: TEARDOWN rtsp://audio.example.com/twister/audio.en/lofi RTSP/1.0 Session: 4231 S: 200 3 OK 7-10

Multimedia with Best Effort Service High Compression Low Rate Low loss 1% to 20% loss can be concealed Forward Error Correction (FEC) can be used to overcome loss. End-to-end delay limited to 400 ms Jitter overcome by play out buffer Large jitter Packets arrive too late same as Lost Each chunk comes with a sequence number and timestamp Play out delay can be adaptively adjusted according to measured delay variation 7-11

Playout Buffers Cumulative data constant bit rate video transmission variable network delay client video reception buffered video constant bit rate video playout at client client playout delay Playout delay compensates for network delay, delay jitter Delay > Playout Delay Packet late Same as a lost packet time 7-12

t i =Sending time r i = Receiving time Adaptive Playout Delay Measured delay sample = r i -t i d i = Average network delay d i = (1-a)d i-1 +a(r i -t i ) v i = Variation of the delay v i = (1-a)v i-1 +a r i -t i -d i p i = Playout time p i = t i + d i + Kv i Here K is a constant, say 4. 7-13

Recovering From Packet Loss Forward Error Correction Send n+1 packets in place of n packets Send a lower-resolution stream in addition Play out the old syllable Busty Loss Interleave audio/video frames 7-14

Content Distribution Networks Authoritative DNS server resolves the server address according to the requester's IP address Edge Server Edge Server Edge Server Edge Server 7-15

Real-Time Transport Protocol (RTP) Common sublayer between applications and UDP Provides sequence numbers, timestamps, and other facilities Supports both unicast and multicast 7-16

RTP Packet Format 8b 16b 32b 32b SSRC = Synchronization Source = Stream # Payload Coding Rate Type 0 PCM mu-law 64 kbps 3 GSM 13 kbps 7 LPC 2.4 kbps 26 Motion JPEG 31 H.261 33 MPEG2 video 7-17

RTP Control Protocol (RTCP) Used to send report about reception quality back to sender Also used by sender to report stream information Can be used to adjust the transmission speed, quality, or for diagnosis SSRC Fraction of packets lost Last sequence number received Inter-arrival jitter Receiver report rate is adjusted inversely to number of receivers Sender report rate is adjusted inversely to number of senders Total RTCP traffic < 5% of media datarate 7-18

Session Initiation Protocol (SIP) Application level signaling protocol for voice and video conferencing over Internet Allows creating, modifying, terminating sessions with one or more participants Carries session descriptions (media types) for user capabilities negotiation Supports user location, call setup, call transfers Supports mobility by proxying and redirection 7-19

SIP (Cont) SIP (Cont) SIP Uniform Resource Identifiers (URIs): Similar to email URLs sip:jain@cis.ohio-state.edu sip:+1-614-292-3989:123@osu.edu?subject=lecture SIP can use UDP or TCP SIP messages are sent to SIP servers: Registrar: Clients register and tell their location to it Location: Given name, returns possible addresses for a user. Like Directory service or DNS. Redirect: Returns current address to requesters Proxy: Intermediary. Acts like a server to internal client and like a client to external server 7-20

Locating using SIP Allows locating a callee at different locations Callee registers different locations with Registrar SIP Messages: Ack, Bye, Invite, Register, Redirection,... X Redirect Server Jain@cis Jain@acm Invite Jain@cis Moved to Jain@acm Invite Jain@acm Ack Jain@acm 7-21

SIP Proxy SIP Invite SIP Trying SIP 180 Ringing SIP 200 OK SIP Ack SIP Invite SIP 180 Ringing SIP 200 OK SIP Ack Conversation using RTP SIP Bye SIP OK 7-22 SIP Bye SIP OK

H.323 Protocols Multimedia over LANs, V1 (June 96), V2(Feb 98) Provides component descriptions, signaling procedures, call control, system control, audio/video codecs, data protocols Video H.261 H.263 Audio Control and Management G.711, G.722, H.225.0 H.225.0 H.245 G.723.1, G.728, RAS Signaling Control G.729 RTP X.224 Class 0 UDP TCP Network (IP) Datalink (IEEE 802.3) RTCP Data T.124 T.125 T.123 7-23

Summary 1. Multimedia applications require bounded delay, delay jitter, and minimum throughput 2. Three Approaches: Service guarantees, Simple priority type service, Increase Capacity 3. RTSP allows streaming controls like pause, forward, 4. RTP allows sequencing and timestamping 5. SIP allows parameter negotiation and location 7-24

Review Exercises Read Pages 597-646 (Sections 7.1 to 7.4) of the textbook. Review Exercises R1-R12 Problems P2-P4,P9, P11, P16, P19 7-25

Homework 7 8 7 Packets 6 5 4 Packets Generated Packets Received 3 2 1 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Consider the packet generation and reception sequence shown below. The first packet is generated at t=1 and is received at t=8. A. If Playout delay is zero and playout begins at t=8, which of the packets will not arrive in time? B. What is the minimum playout delay at the receiver that result in all of the first eight packets arriving in time for their playout? Time 7-26