A Survey of Packet-Loss Recovery Techniques Colin Perkins, Orion Hodson and Vicky Hardman Department of Computer Science University College London (UCL)

Slides:



Advertisements
Similar presentations
Streaming Video over the Internet
Advertisements

Review of Topology and Access Techniques / Switching Concepts BSAD 141 Dave Novak Sources: Network+ Guide to Networks, Dean 2013.
Primitives for Achieving Reliability 3035/GZ01 Networked Systems Kyle Jamieson Department of Computer Science University College London.
STQ Workshop, Sophia-Antipolis, February 11 th, 2003 Packet loss concealment using audio morphing Franck Bouteille¹ Pascal Scalart² Balazs Kövesi² ¹ PRESCOM.
1 Wireless Sensor Networks Akyildiz/Vuran Administration Issues  Take home Mid-term Exam  Assign April 2, Due April 7  Individual work is required 
Yi Liang Department of Electrical Engineering Stanford University April 19, 2000 Loss Recovery and Adaptive Playout Control for Packet Voice Communications.
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 the Internet (the basics) CS 7270 Networked Applications & Services Lecture-2.
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli SIGCOMM 1996.
Error Detection and Correction
Chapter 6 Errors, Error Detection, and Error Control.
Transmission Errors Error Detection and Correction
Application layer (continued) Week 4 – Lecture 2.
A New Adaptive FEC Loss Control Algorithm for Voice Over IP Applications Chinmay Padhye, Kenneth Christensen and Wilfirdo Moreno Department of Computer.
CSCI 4550/8556 Computer Networks Comer, Chapter 7: Packets, Frames, And Error Detection.
CS525z Multimedia Networking Review. Analog to Digital What is the relationship between –Fidelity and Sample Size –Fidelity and Sample Rate.
1 Chapter Six - Errors, Error Detection, and Error Control Chapter Six.
Successful Multiparty Audio Communication over the Internet Vicky Hardman, M. Angela Sasse and Isidor Kouvelas Department of Computer Science University.
Chapter 6: Errors, Error Detection, and Error Control
Forward Error Correction Steven Marx CSC45712/04/2001.
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.
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Error Control.
Chapter 6 Errors, Error Detection, and Error Control
Resilient Multicast Support for Continuous-Media Applications X. Xu, A. Myers, H. Zhang and R. Yavatkar CMU and Intel Corp NOSSDAV, 1997.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transport Protocols Slide 1 Transport Protocols.
A Survey of Packet-Loss Recovery Techniques Colin Perkins, Orion Hodson and Vicky Hardman Department of Computer Science University College London (UCL)
Using Redundancy and Interleaving to Ameliorate the Effects of Packet Loss in a Video Stream Yali Zhu, Mark Claypool and Yanlin Liu Department of Computer.
20101 The Data Link Layer Chapter Design Issues Controls communication between 2 machines directly connected by “wire”-like link Services Provided.
Successful Multiparty Audio Communication over the Internet Vicky Hardman, M. Angela Sasse and Isidor Kouvelas Department of Computer Science University.
TCP: Software for Reliable Communication. Spring 2002Computer Networks Applications Internet: a Collection of Disparate Networks Different goals: Speed,
A Survey of Packet Loss Recovery Techniques for Streaming Audio Colin Perkins, Orion Hodson, and Vicky Hardman University College London IEEE Network.
Using Interleaving to Ameliorate the Effects of Packet Loss in a Video Stream Mark Claypool and Yali Zhu Computer Science Department Worcester Polytechnic.
Transmission Errors Error Detection and Correction
CS640: Introduction to Computer Networks
6: Multimedia Networking6a-1 Chapter 6: Multimedia Applications r Multimedia requirements r Streaming r Phone over IP r Recovering from Jitter and Loss.
Voice Over Packet Networks Getting the most from your voice codec Philippe Gournay VoiceAge Corp. 750 Lucerne Road, Suite 250 Montreal (Quebec) H3R 2H6.
Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot October 2010 October 2010 Ref: Computer Networking:
Computer Networks: Multimedia Applications Ivan Marsic Rutgers University Chapter 3 – Multimedia & Real-time Applications.
1 Dude, Where is My Packet?. NUS.SOC.CS5248 OOI WEI TSANG 2 Overview Characteristics of the Internet General techniques Error recovery for audio Effect.
1 Multimedia Communication Multimedia Systems(Module 5 Lesson 2) Summary: r Internet Phone Example m Making the Best use of Internet’s Best-Effort Service.
1 Lecture 17 – March 21, 2002 Content-delivery services. Multimedia services Reminder  next week individual meetings and project status report are due.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. 1 Communication Reliability Asst. Prof. Chaiporn Jaikaeo, Ph.D.
Voice over IP Why Challenges/solutions Voice codec and packet delay.
Computer Networks with Internet Technology William Stallings
DCCP, TFRC & Open Problems in Congestion Control for Media Applications Tom Phelan 13-Feb-2007 ICCRG.
Experiences with Multimedia Streaming over 2.5G and 3G Networks J. Chesterfield, R. Chakravorty, J. Crowcroft, P. Rodriguez, S. Banerjee Presented by Denny.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) 1 Error Recovery.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) 1 Error Recovery.
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
1 Chapter Six - Errors, Error Detection, and Error Control Chapter Six.
Data Communications & Computer Networks, Second Edition1 Chapter 6 Errors, Error Detection, and Error Control.
NUS.SOC.CS Roger Zimmermann (based on slides by Ooi Wei Tsang) 1 Error Recovery.
LOG Objectives  Describe some of the VoIP implementation challenges such as Delay/Latency, Jitter, Echo, and Packet Loss  Describe the voice encoding.
Scalable Video Coding and Transport Over Broad-band wireless networks Authors: D. Wu, Y. Hou, and Y.-Q. Zhang Source: Proceedings of the IEEE, Volume:
Methods of Handling Packet Loss for Multimedia Applications by Hansen Bow.
TCP-Cognizant Adaptive Forward Error Correction in Wireless Networks
Page 1 The department of Information & Communications Engineering Dong-uk, kim A Survey of Packet Loss Recovery Techniques for Streaming.
Video Multicast over the Internet Presented by: Liang-Yuh Wu Lung-Yuan Wu Hao-Hsiang Ku 12 / 6 / 2001 Bell Lab. And Georgia Institute of Technologies IEEE.
Minufiya University Faculty of Electronic Engineering Dep. of Electronic and Communication Eng. 4’th Year Information Theory and Coding Lecture on: Performance.
1 Transport Layer: Basics Outline Intro to transport UDP Congestion control basics.
RTP Functionalities for RTCWEB A combined view from the authors of draft-cbran-rtcweb-media-00 draft-cbran-rtcweb-media-00 draft-perkins-rtcweb-rtp-usage-02.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Experimental Study on Wireless Multicast Scalability using Merged Hybrid ARQ with Staggered Adaptive FEC S. Makharia, D. Raychaudhuri, M. Wu*, H. Liu*,
Networked Multimedia Basics. Network Characteristics.
Project Proposal Due Next Mon. Submit by
Error Recovery.
Wenyu Jiang Henning Schulzrinne Columbia University
Streaming Music with Media Specific FEC
Error recovery for Packet Audio and Video
Presentation transcript:

A Survey of Packet-Loss Recovery Techniques Colin Perkins, Orion Hodson and Vicky Hardman Department of Computer Science University College London (UCL) London, UK IEEE Network Magazine Sep/Oct, 1998

Overview Development of IP Multicast “Light-weight session” – Scale to 1000’s of participants How to handle packet loss? (MLC: why doesn’t retransmission work?) – Repair techniques beyond retransmission

Overview This paper: – Loss characteristics of Mbone (MLC – dated, but not dissimilar from some P2P networks and ad-hoc wireless networks) – Techniques to repair loss in a ‘light-weight’ manner Concentrate on audio – Recommendations Other papers: – Fully-reliable (every bit must arrive), but not real-time – Real-time, but do not include receiver based approaches

Outline Overview Multicast Channel Characteristics Sender Based Repair Receiver Based Repair Recommendations

IP Multicast Channel Characteristics Group address – Client receives on address – Sender sends to address, without knowledge of clients Loosely coupled connections – “Extension” to UDP – Not two-way – Makes it scalable – Allows clients to do local repair Multicast router shares with unicast traffic – Can have high loss – Often MBone router 2 nd rate

MBone Loss Characteristics Some receivers near 0% loss rates Most receivers in the 2-5% loss range Some see 20-50% loss Characteristics differ, so need local decisions

Mbone Jitter Characteristics High jitter – If too late, will be discarded and look like loss (e.g. I-policy) Interactive applications need low latency – Influences repair scheme

Media Repair Taxonomy Media Repair Sender Based Receiver Based

Sender Based Repair Taxonomy Work from right to left Unit of audio data vs. a packet – Unit may be composed of several packets – Or one packet may have several units of audio data

Forward Error Correction (FEC) Add extra data to stream Use extra data to recover lost packets Two classes: – Media independent (not multimedia specific) – Media dependent (knowledge of audio or video)

Media Independent FEC Given k data packets Generate n-k check packets Transmit n packets Schemes originally for bits (like checksums in packet headers) – Applied to packets – So, for example i’th bit of check packet, checks i’th bit of each associated packet

FEC Coding e.g., XOR operation across all packets Transmit 1 parity packet every n data packets If 1 loss in n packets, can fully recover e.g., Reed-Solomon treat as polynomial, add k packets redundancy  If k-1 loss in n packets, can fully recover

Media Independent FEC Advantages and Disadvantages Advantages – Media independent Audio, video, different compression schemes – Computation is small and easy to implement Disadvantages – Add delay (must wait for all n packets) – Add to bitrate (causing more loss?) – Add decoder complexity

Sender Based Repair Taxonomy

Media Specific FEC Multiple copies of data “Quality” of secondary frames?

Media Specific FEC Secondary Frame Send packet energy and zero crossing rate – 2 numbers, so small – Coarse, but effective for small loss Better than interpolating across missing packets Low bit-rate encoded version of primary – Lower number of sample bits audio sample, say Full-version of secondary – Effective if primary is small (low bandwidth)

Media Specific FEC Discussion Typical overhead 20-30% for low-quality Media specific FEC can repair various amounts by trading off quality of repair – Contrast with media independent FEC has fixed number of bits for certain amount of full repair Can have adaptive FEC – When speech changes and cannot interpolate – Add when increase in loss – Delay more than 1 packet when bursty loss

Media Specific FEC Advantages and Disadvantages Advantages – Low latency Only wait for one additional packet to repair Or multiple if adapted to bursty losses – Can have less bandwidth than independent FEC Disadvantages – Computation may be more difficult to implement – Still adds to bitrate – Adds decoder complexity – Typically lower quality (vs. other methods of repair)

Sender Based Repair Taxonomy

Interleaving Doesn’t really repair, rather mitigates effects of loss Many audio tools send 1 phoneme (40 ms of sound), so most of phoneme intact

Interleaving Advantages and Disadvantages Advantages – Most audio compression schemes can do interleaving without additional complexity – No extra bitrate added Disadvantages – Delay of interleaving factor in packets Even when not repairing! – Gains to quality can be modest

Sender Based Repair Taxonomy

Retransmission If delays less than 250 ms, can do retransmission – Effective for LAN or fast Internet connection – But wide-area wireless & inter-continetnal connection can be 200ms + Scalable Reliable Multicast (SRM) – Hosts time-out based on distance from sender To avoid implosion – Mcast repair request (and repair) to all – All hosts can reply (timers based on distance stop implosion)

Retransmission Discussion In typical multicast session, can have every packet usually lost by some receiver – Will always retransmit at least once – FEC may save bandwidth Typically, crossover point to FEC based on loss rate Some participants may not be interactive – Use retransmission – Others use FEC

Retransmission Advantages and Disadvantages Advantages – Well understood – Only add additional data ‘as needed’ Disadvantages – Potentially large delay Not usually suitable for interactive applications – Large jitter (different for different receivers) – Implosion (setting timers difficult)

Media Repair Taxonomy Do not require assistance of Sender – Receiver recovers as best it can Often called Error Concealment Can work well for small loss ( up to 15%), small packets (4-40 ms) Not substitute for sender-based – Rather use both – Receiver based can conceal what is left Media Repair Sender Based Receiver Based

Taxonomy of Error Concealment When packet is lost, replace with fill-in

Splicing Splice together stream on either side – Do not preserve timing Advantages – Easy – Works ok for short packets of 4-16 ms Disadvantages – Poor quality for losses above 3% – Can interfere with delay buffering

Silence Substitution Fill gap left by lost packet with silence – Preserve timing Advantages – Still Easy – Works well for low loss (< 2%) – Works ok for short packets of 4-16 ms Disadvantages – Poor quality for higher losses (3%+) – Ineffective with 40 ms packets (typical)

Noise Substitution Human psych says can repair if sound, not silence (phonemic restoration) – Replace lost packet with “white noise” Like static on radio – Still preserve timing Similar to silence substitution Sender can send “comfort noise” so receiver gets white-noise volume right

Repetition Replace missing packet with previous packet Can “fade” if multiple repeats over time – Decrease signal amplitude to 0 Still pretty easy, but can work better than nothing A step towards interpolation techniques (next)

Noise Substitution and Repetition Advantages – Easy to implement – Works well for small loss (up to 5%) Disadvantages – Still doesn’t work well for larger losses – Does not work well for larger packets

Taxonomy of Error Concealment When packet is lost, reproduce packet based on surrounding packets.

Interpolation Based Repair Waveform substitution – Use waveform repetition from both sides of loss – Works better than repetition (that uses one side) Pitch waveform replication – Use repetition during unvoiced speech and use additional pitch length during voiced speech – Performs marginally better than waveform Time scale modifications – “Stretch” audio signal across gap – Generate new waveform that smoothly blends across loss – Computationally heavier, but performs marginally better than others

OriginalLoss Repetition Wave Substitution (Boundaries better) (Both bad at C)

Taxonomy of Error Concealment Use knowledge of audio compression to derive codec parameters, using knowledge of code to regenerate

Regeneration Based Repair Interpolation of transmitted state – State-based decoding can then interpret what state codec should be in – Reduces boundary-effects – Typically high processing Model-Based recovery – Regenerate ‘speech’ to fit with speech on either side – Very complicated, often language dependent

Summary of Receiver Based Repair Quality increase decreases at high complexity Repetition is at ‘knee’ in curve “Knee”

Groupwork Consider: – Interactive voice from Asia to U.S. – Multicast video of taped lecture – Multicast replicated database update – Interactive voice across city Choose a repair technique and justify: – Interleaving – Retransmission – Media Specific FEC – Media Independent FEC

Recommendations: Non-Interactive Applications Latency less important Bitrate a concern (mcast has varied capacities)  Can use interleaving  Use repetition for concealment Retransmission does not scale – Ok for unicast Media independent FEC may be ok

Recommendations: Interactive Applications Want to minimize delay  Interleaving delay is too large  Retransmission delay can be large  Media independent FEC usually large (Or computationally expensive) Can use media specific FEC – Delay is low – Approximate repair is ok – Can be tuned (via quality and repair placement) to suit network and user