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



Similar documents
Internet Services & Protocols Multimedia Applications, Voice over IP

Internet Services & Protocols Multimedia Applications, Voice over IP

internet technologies and standards

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

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

Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme

Digital Audio and Video Data

Classes of multimedia Applications

An Introduction to VoIP Protocols

Encapsulating Voice in IP Packets

Unit 23. RTP, VoIP. Shyam Parekh

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

Applied Networks & Security

Voice over IP (VoIP) for Telephony. Advantages of VoIP Migration for SMBs BLACK BOX blackbox.com

TECHNICAL CHALLENGES OF VoIP BYPASS

Voice over IP: RTP/RTCP The transport layer

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

Multimedia Networking. Yao Wang Polytechnic University, Brooklyn, NY11201

Basic principles of Voice over IP

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

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

Requirements of Voice in an IP Internetwork

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

point to point and point to multi point calls over IP

802.11: Mobility Within Same Subnet

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

Multimedia Communications Voice over IP

Voice over IP. Presentation Outline. Objectives

Grandstream Networks, Inc.

Online course syllabus. MAB: Voice over IP

Clearing the Way for VoIP

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

Internet Technology Voice over IP

Voice Over IP. Priscilla Oppenheimer

IP-Telephony Real-Time & Multimedia Protocols

Configuration Guide. T.38 Protocol in AOS L1-29.1D September 2011

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

VoIP Bandwidth Considerations - design decisions

A Comparative Study of Signalling Protocols Used In VoIP

VoIP Bandwidth Calculation

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

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

EDA095 Audio and Video Streaming

NAT TCP SIP ALG Support

Comparison of Voice over IP with circuit switching techniques

Transfer and Control Protocols H.261. Standards of ITU

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

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

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

VIDEOCONFERENCING. Video class

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

Application Note. Onsight Mobile Collaboration Video Endpoint Interoperability v5.0

SIP Trunking and Voice over IP

Chapter 2 Voice over Internet Protocol

Introduction VOIP in an Network VOIP 3

How to make free phone calls and influence people by the grugq

NAT and Firewall Traversal with STUN / TURN / ICE

Distributed Systems. 2. Application Layer

RTP Performance Enhancing Proxy

Network administrators must be aware that delay exists, and then design their network to bring end-to-end delay within acceptable limits.

VegaStream Information Note Considerations for a VoIP installation

Goal We want to know. Introduction. What is VoIP? Carrier Grade VoIP. What is Meant by Carrier-Grade? What is Meant by VoIP? Why VoIP?

MINIMUM NETWORK REQUIREMENTS 1. REQUIREMENTS SUMMARY... 1

technology standards and protocol for ip telephony solutions

Multimedia Networking and Network Security

DVoIP: DYNAMIC VOICE-OVER-IP TRANSFORMATIONS FOR QUALITY OF SERVICE IN BANDWIDTH CONSTRAINED ENVIRONMENTS

Evaluating Data Networks for Voice Readiness

nexvortex SIP Trunking Implementation & Planning Guide V1.5

B12 Troubleshooting & Analyzing VoIP

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

AT&T IP Flex Reach/ IP Toll Free Configuration Guide IC 3.0 with Interaction SIP Proxy

Troubleshooting VoIP and Streaming Video Problems

Skype network has three types of machines, all running the same software and treated equally:

An Analysis of Error Handling Techniques in Voice over IP

Combining Voice over IP with Policy-Based Quality of Service

(Refer Slide Time: 01:46)

Protocols. Packets. What's in an IP packet

Mixer/Translator VOIP/SIP. Translator. Mixer

VoIP over Wireless Opportunities and Challenges

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

White paper. SIP An introduction

SIP Trunking Manual Technical Support Web Site: (registration is required)

Provisioning and configuring the SIP Spider

Version 0.1 June Xerox WorkCentre 7120 Fax over Internet Protocol (FoIP)

How To. Instreamer to Exstreamer connection. Project Name: Document Type: Document Revision: Instreamer to Exstreamer connection. How To 1.

APTA TransiTech Conference Communications: Vendor Perspective (TT) Phoenix, Arizona, Tuesday, VoIP Solution (101)

Using the ClearSight Analyzer To Troubleshoot the Top Five VoIP Problems And Troubleshooting Streaming Video

Application Note How To Determine Bandwidth Requirements

White paper. Latency in live network video surveillance

Computer Networks. Examples of network applica3ons. Applica3on Layer

Audio and Video for the Internet

A Brief Overview of VoIP Security. By John McCarron. Voice of Internet Protocol is the next generation telecommunications method.

VoIP over P2P networks

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

An architecture for the delivery. of DVB services over IP networks Rennes, January 2007 INTRODUCTION DIGITAL VIDEO TRANSPORT

IP Ports and Protocols used by H.323 Devices

Transcription:

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

Coping with Best-Effort Service 2/23 sample application send a 160 byte UDP packet every 20ms packet carries a voice sample plus a header packet loss can send with TCP, but... extra delay due to retransmission and reordering may be unacceptable for a conversation rate may become too slow can use FEC send redundant information in each packet but if loss exceeds 10 to 20 percent, nothing you can do

Coping with Best-Effort Service 3/23 packet delay need delays less than 400ms consider any packets delayed excessively to be lost nothing else an application can do packet jitter variation in interpacket delays can be larger or smaller than the original delay between packets use buffering and then play out smoothly

Removing Jitter

Removing Jitter 5/23 include a timestamp on each packet of voice data use buffering and delay playout play packets from the buffer at a certain rate want to prevent draining the buffer too early want to prevent delaying the packets too much: 400 ms maximum, but less is better

Fixed Playout Delay 6/23 play packet i at t i + q i t i : time the packet was generated small q: better real-time interaction large q: fewer missed playouts

7/23 Voice-Over-IP Removing Jitter Packet Loss Skype Protocols Adaptive Playout Delay goal: minimize playout delay, infrequent missed playouts for start of talk spurt, play packet i at p i = t i + d i + Kv i d i = estimate of delay (EWMA) v i = estimate of delay variation (EWMA) K = constant, e.g. K = 4 for other packets, p j = t j + p i t i use the same offset from t as beginning of talk spurt application may denote start of talk spurt because playout delay is adaptive, silent periods may be compressed or elongated

Recovering from Packet Loss

Forward Error Correction (FEC) 9/23 FEC with Redundant Data for every group of n packets, create a redundant packet: exclusive-or of the n original packets send n + 1 packets, increasing bandwidth by 1/n receiver can reconstruct the stream with any n packets must wait for n packets before playout trade-offs larger n: less bandwidth smaller n: shorter playout delay, smaller chance of two packets out of n being lost simple version of FEC: see RFC 2733

Forward Error Correction (FEC) 10/23 FEC With Lower Quality Data add lower-resolution audio to each packet substitute lower quality when needed: Free Phone, RAT many other more complex kinds of FEC available

Interleaving 11/23 interleave smaller (5 ms) pieces among packets if a packet is lost, still have most of the stream no redundancy overhead, but added playout delay

Error Concealment 12/23 alternatives replay the last packet interpolation usually good enough to fool the human ear for small loss rates and small amounts of lost data

VoIP with Skype

Skype 14/23 voice and video codecs at various rates 3 kbps to 1 Mbps video voice sampled at 16,000 samples/s instead of 8,000 transport sent via UDP unless blocked by firewall control packets over TCP FEC for loss recovery adapts encoding and FEC based on network conditions

Skype P2P 15/23 superpeers and ordinary peers super peers keep an index mapping Skype username to IP address and ports likely using a DHT both caller and callee may have NAT superpeer arranges for a non-nated super-peer to act as relay caller sends data to callee through relay, and vice versa multiparty communication everyone sends audio packets to person who started the call this person combines all audio into a single stream, sends combined stream to everyone else for video, everone sends packets to a relay, which sends out unaltered streams to everyone else need higher uploading bandwidth

Real-Time Streaming Protocols

RTP: Real-Time Protocol 17/23 specifies packet structure for audio and video streams payload identification sequence number timestamp used for interoperability between multimedia applications runs on top of UDP RFC 1889

RTP Header 18/23 payload type (7 bits): type of encoding, e.g. PCM, GSM, JPEG, MPEG audio, MPEG video sequence number (16 bits): detect packet loss and order packets timestamp (32 bits): sampling time of first byte SSRC (32 bits): source of RTP stream - allows multiple sources per session

SIP: Session Initiation Protocol 19/23 vision all telephone and video conference calls take place over the Internet people are identified by names and email addresses rather than by phone numbers you can reach the person you are calling wherever she is on the Internet call setup start and end call agree on media type and encoding map name and email to IP address call management add new streams during call change encoding during call invite other users to call transfer and hold calls

SIP Call Setup 20/23 example assumes Alice knows Bob s IP address Alice provides port number, IP address, preferred encoding Bob responds with new port number, IP address, preferred encoding SIP messages can use TCP or UDP, default port 5060

SIP Extras 21/23 encoding negotiation may not have requested encoder may prefer a different one respond with 606 Not Acceptable and list encoders sender can send a new invitation with new encoder can reject a call busy, gone, it payment required, forbidden media can use RTP or any other protocol syntax is similar to HTTP

Name Translation and User Location 22/23 need to map user name or email address to IP address mobility changing IP addresses due to DHCP many different IP devices per user call forwarding SIP registrar: clients register to provide current location and IP address (similar to instant messaging) SIP proxy: find callee on behalf of caller (similar to DNS server)

Session Initiation Example 23/23