Media: Voice and Video in your SIP Environment Jitendra Shekhawat.

Slides:



Advertisements
Similar presentations
Chapter 6: Multimedia Networking
Advertisements

29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 25 Multimedia.
User Control of Streaming Media: RTSP
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time, Interactive Multimedia: Internet.
Voice Over Internet- Issues Dr. Abhay Karandikar Department of Electrical Engineering Indian Institute of Technology, Bombay. Dr. Abhay Karandikar Department.
Voice over the Internet (the basics) CS 7270 Networked Applications & Services Lecture-2.
Real-time traffic Dr. Abdulaziz Almulhem. Almulhem©20012 Agenda RT traffic characteristic RT traffic profiles RT traffic requirements RT Architecture.
1 CSE 401N Multimedia Networking Lecture Multimedia, Quality of Service: What is it? Multimedia applications: network audio and video network provides.
CS158B Project By Shing Chau Jerry Ko Ying Li
Multimedia Applications r Multimedia requirements r Streaming r Phone over IP r Recovering from Jitter and Loss r RTP r Diff-serv, Int-serv, RSVP.
CSc 461/561 CSc 461/561 Multimedia Systems Part C: 1. RTP/RTCP.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
CS335 Principles of Multimedia Systems Multimedia Over IP Networks -- II Hao Jiang Computer Science Department Boston College Nov. 8, 2007.
K. Salah 1 Chapter 28 VoIP or IP Telephony. K. Salah 2 VoIP Architecture and Protocols Uses one of the two multimedia protocols SIP (Session Initiation.
RTP/RTCP – Real Time Transport Protocol/ Real Time Control Protocol Presented by Manoj Sivakumar.
RTP/RTCP(RFC 1889) Real-time transport protocol (RTP) is the de facto standard media transport protocol in the Internet Media transport: audio, vedio,
1 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public IP Telephony Introduction to VoIP Cisco Networking Academy Program.
CS640: Introduction to Computer Networks
CS 218 F 2003 Nov 3 lecture:  Streaming video/audio  Adaptive encoding (eg, layered encoding)  TCP friendliness References: r J. Padhye, V.Firoiu, D.
CIS679: RTP and RTCP r Review of Last Lecture r Streaming from Web Server r RTP and RTCP.
Multimedia and QoS#1#1 Multimedia Applications. Multimedia and QoS#2#2 Multimedia Applications r Multimedia requirements r Streaming r Recovering from.
Ch 7. Multimedia Networking Myungchul Kim
Computer Networks: Multimedia Applications Ivan Marsic Rutgers University Chapter 3 – Multimedia & Real-time Applications.
1 VoIP – Voice over Internet Protocol Patrick Hügenell, Andreas Vetter – TIM01AGR – 2003 VoIP Voice over IP.
Nortel Confidential Information 1 Video Sample Production Summary Leigh Thorpe Nortel Paris, 7-11 May 2007.
Introduction to Quality of Service. Engineering Internet QoS2  What is QoS?  Why QoS?  Large Bandwidth vs QoS?  Networking Trends Leading to QoS 
IT 424 Networks2 IT 424 Networks2 Ack.: Slides are adapted from the slides of the book: “Computer Networking” – J. Kurose, K. Ross Chapter 4: Multimedia.
1 How Streaming Media Works Bilguun Ginjbaatar IT 665 Nov 14, 2006.
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 Λουκάς Ελευθέριος.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
IP Multicast A convention to identify a multicast address Each node must translate between an IP multicast address and a list of networks that contain.
1 Lecture 17 – March 21, 2002 Content-delivery services. Multimedia services Reminder  next week individual meetings and project status report are due.
Voice over IP Why Challenges/solutions Voice codec and packet delay.
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
Real Time Protocol (RTP) 김 준
Making the Best of the Best-Effort Service (2) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.
Streaming Media Control n The protocol components of the streaming n RTP/RTCP n RVSP n Real-Time Streaming Protocol (RTSP)
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 28 Multimedia.
Chapter 28. Network Management Chapter 29. Multimedia
Part 2: Making the Best of Best-Effort
Voice over IP B 林與絜.
LOG Objectives  Describe some of the VoIP implementation challenges such as Delay/Latency, Jitter, Echo, and Packet Loss  Describe the voice encoding.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 20 – Multimedia Session Protocols Klara Nahrstedt Spring 2012.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
Ch 6. Multimedia Networking Myungchul Kim
CSE5803 Advanced Internet Protocols and Applications (14) Introduction Developed in recent years, for low cost phone calls (long distance in particular).
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
Ch 6. Multimedia Networking Myungchul Kim
3GPP2 Evolution Workshop Multimedia Codecs and Protocols 3GPP2 TSG-C SWG1.2.
Multimedia Streaming I. Fatimah Alzahrani. Introduction We can divide audio and video services into three broad categories: streaming stored audio/video,
1 Internet Telephony: Architecture and Protocols an IETF Perspective Authors:Henning Schulzrinne, Jonathan Rosenberg. Presenter: Sambhrama Mundkur.
Introduction to Quality of Service Klara Nahrstedt CS 538.
3/10/2016 Subject Name: Computer Networks - II Subject Code: 10CS64 Prepared By: Madhuleena Das Department: Computer Science & Engineering Date :
Multimedia Communication Systems Techniques, Standards, and Networks Chapter 6 Multimedia Communication Across Networks.
Tutorial 12 Solutions.
7: Multimedia Networking7-1 protocols for real-time interactive applications RTP, RTCP, SIP.
Networked Multimedia Basics. Network Characteristics.
Cisco Networking Academy Program
Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Klara Nahrstedt Spring 2012
Networking Applications
Chapter 25 Multimedia TCP/IP Protocol Suite
Cisco Networking Academy Program
Networking Applications
Cisco Networking Academy Program
RTP and RTSP Realtime Transport Protocol
Presentation transcript:

Media: Voice and Video in your SIP Environment Jitendra Shekhawat

Agenda Common Audio and Video Codecs Media/Codec Negotiations Tuning Your Network for Voice and Video QoS issues, metrics and user quality expectations Objective: Introduction of Media in the SIP environment.

SIP RTP SIP RTP IP Audio/Video Telephony Network IP RTP SIP SIP Soft Phone SIP Desk Phone PC – Client Applications Video Mail Video Portal Live content streaming Broadband Users Multimedia Server SIP Video Endpoints SIP Proxy Server SIP RTSP Streaming Server CNN, ESPN, Bloomberg, live feed RTP Call Control: SIP Media: RTP Video: H263, H264, MPEG4 Audio: G711, G723, G729, G726, AMR-NB, etc. RTSP

SIP Call Example

Audio Video Codecs and Payload Types RFC 3551 Some codecs

Media Transport RTP –Real Time Transport Protocol –media packet transport –One stream per direction between endpoints RTCP –RTP Control Protocol –Provides quality information –Generate reports to the network

RTP Packet RTP Datagram IP Header 20 bytes UDP Header 8 bytes RTP Header 12 bytes RTP Payload N bytes Version 2 bits Padding 1 bit Extensio n 1 bit CSRC count 4 bits Marker 1 bit Payload Type 7 bits Sequence Number 2 bytes Time stamp 4 bytes Source Identifier 4 bytes

RTCP Packet Receiver of RTP stream sends periodic updates to the originator Packet count Byte count Packet loss Timestamps to assess round-trip delay Jitter

RTP Packet Payload size Example: g.711, 20 ms frames: bps X 20 msec / 8 = 160 byte payload Payload size = Function of: codec speed, frame-size Frequency packets sent codec speed X frame size bits/byte 8 X 1000 msec / sec

Media Stream (RTP) Bandwidth: Packet size := Header + Payload Header := Ethernet + (IP + UDP + RTP) = 38 + ( ) = bytes Payload := depends on codec Example: g.711, 20 ms frames (50 packets/s) 160 byte payload + ( ) byte header IP bandwidth: 200 byte/packet = 80,000 bps  160 kbps for 2 way Ethernet bandwidth: 238 byte/packet = 95,2000 bps  kbps for 2 way Ethernet: Preamble (8) + Ethernet Header (14) + Ethernet CRC (4) + Inter-frame gap (12) = 38

Codec Bandwidths CoderBitrateEncoded bandwidth G kbps Hz G or 6.3 kbps Hz G.729A (20ms Packet)8 kbps Hz AMR4.75 to 12.2 kbps Hz AMR-WBVariable: 6.6 up to (non- continuous) 50 to 7000 Hz AMR-WB+Variable: 6-36 kbps (mono) or kbps (stereo) 50 Hz – 7.2 kHz up to 50 Hz – 19.2 kHz iLBC13.33 kbps for 30 ms, kbps for 20ms Hz

Codec Bandwidths CoderIP Bandwidth / RTP stream G.711 (30 ms Packet)74.6 kbps G.711 (20ms Packet)80 kbps G.711 (10 ms Packet)96 kbps G (30ms Packet)15.7 kbps G.729A (20ms Packet)24 kbps AMR (20 ms) kbps AMR-WB (20ms)22.4 – 39.6 kbps AMR-WB+ (20ms)22 – 52 kbps iLBC (20ms or 30ms)31.2 kbps or 24 kbps

Video streams Frame Sequence I-frames (Key frames)P-frames (predicted frames)

Video Formats (IP vs. 3G) High resolution for IP networks –More bandwidth available –SIP Video Phones are generally CIF size (352 × 288 pixels) –Recommended: CIF, 15 or 30fps, up to 384kbps Low resolution for 3G networks –Total bandwidth limited to 64kbps –Generally video + audio is approx 52kbps (12.2kbps AMR + 40kbps H263) –3G Mobile phones are generally QCIF size (176 × 144 pixels) CIF QCIF 4 3

Performance Issues Propagation Delay Time required to travel end to end across the network Transport Delay Time required to traverse network equipment Packetization Delay Time to digitize, build frames and undo at destination Jitter Delay Fixed delay by receiver to hold 1 or more packets to damp variations in arrival times Packet Loss Packet size impacts sound quality

Jitter Delay Calculated on inter-arrival time of successive packets –Average inter-arrival time –Standard deviation Goal inter-arrival time = inter-arrival time on emitted packets 3 phenomena effecting jitter –Packet loss (threshold 5%) –Silence suppression –Out of sequence packets Can be configured on most VoIP equipment

Packet Fragmentation Audio RTP packets –Not generally fragmented since packet size is less than MTU Video RTP packets –A large frame is fragmented into a series of packets for transmission over network –I-Frame fragmentation Receiver must receive all fragments to properly reconstruct frame

Packet Loss Audio –Packet Loss Concealment (PLC) Mask effect of lost or discarded packets Replay previous packet or use previous packets to estimate missing data Key method for improving voice quality –Packet Loss Recovery (PLR) –Packet Redundancy Increased bandwidth Video –I-Frame If a fragment is lost, subsequent P-Frames will not be sufficient to reconstruct image at receiver Video conversion tools available to generate files more suitable for real-time transmission

G.107 to MOS mapping

Codec Bandwidth and Voice Quality Comparison CodecPayload Bit RateVoice Quality G KbpsExcellent (MOS 4.2) G Kbps / 5.3 KbpsGood (MOS 3.9) Fair (MOS 3.7) G.7298 KbpsGood (MOS 4.0) G.726 or G /24/32/40 Kbps 2/3.2/4/4.2 iLBC13.33/15.2 kbpsGood (MOS 4.0) AMR-WB+6-36 kbpsGood (MOS near 4.0)

Network Issues?

Network Issues – Now What Determine the source of delay –Codec’s? –Too many hops? –Not enough bandwidth? Define means to reduce delay –Provision smaller packet sizes –Reduce hop count –Change routing protocols used Keep monitoring –Find problems first –Objectively identify issues

IP Header

Traffic Shaping DiffServ RSVP MPLS

Conclusion Reliability –Can calls be made when needed? –Will call setup time match current environment? –Will calls be disconnected? Quality –Is the voice quality of the calls the same? –Can the users tell the difference? Cost –What are the cost benefits of VoIP? –What equipment will be needed?

Wrap-up Q & A / Quiz

Frame Sizes FormatDimension (H x W, pixels) >1 bits/pixel Sub-QCIF (SQCIF)128 x 96 Quarter-CIF (QCIF)176 x 144 CIF (Common Intermediate Format) 352 x 288 4CIF (4 x CIF)704 x CIF (16 x CIF)1408 x 1152