Multimedia Applications. Srinidhi Varadarajan

Relevanta dokument
Datasäkerhet och integritet

Virtuella kretskopplade nät Virtual circuit networks. Virtuella kretskopplade nät. Virtuella kretskopplade nät. Virtuella kretskopplade nät

Punkt-till-punkt-access. HDLC (High-level Data Link Control) PPP (Point-to-Point Protocol)

Michael Q. Jones & Matt B. Pedersen University of Nevada Las Vegas

Isolda Purchase - EDI

Beijer Electronics AB 2000, MA00336A,

Styrteknik: Binära tal, talsystem och koder D3:1

Alias 1.0 Rollbaserad inloggning

Support Manual HoistLocatel Electronic Locks

Resultat av den utökade första planeringsövningen inför RRC september 2005

Övning 5 ETS052 Datorkommuniktion Routing och Networking

Adding active and blended learning to an introductory mechanics course

Viktig information för transmittrar med option /A1 Gold-Plated Diaphragm

Chapter 2: Random Variables

Preschool Kindergarten

Eternal Employment Financial Feasibility Study

Förändrade förväntningar

Föreläsning 4 IS1300 Inbyggda system

MPEG-4 innehåller bl.a:

2.1 Installation of driver using Internet Installation of driver from disk... 3

electiaprotect GSM SEQURITY SYSTEM Vesta EZ Home Application SMART SECURITY SYSTEMS! SVENSKA ios Android

CHANGE WITH THE BRAIN IN MIND. Frukostseminarium 11 oktober 2018

Användarhandbok. MHL to HDMI Adapter IM750

CARS: Context Aware Rate Selection for Vehicular Networks

INSTALLATION INSTRUCTIONS

A study of the performance

Problem som kan uppkomma vid registrering av ansökan

Swedish adaptation of ISO TC 211 Quality principles. Erik Stenborg

WhatsApp finns för dessa plattformar:

Per-Anders Nilsson SaabTech Systems Oktober 2001

Boiler with heatpump / Värmepumpsberedare

Plats för projektsymbol. Nätverket för svensk Internet- Infrastruktur

Webbregistrering pa kurs och termin

Information technology Open Document Format for Office Applications (OpenDocument) v1.0 (ISO/IEC 26300:2006, IDT) SWEDISH STANDARDS INSTITUTE

Kundfokus Kunden och kundens behov är centrala i alla våra projekt

12.6 Heat equation, Wave equation

Övning 3 ETS052 Datorkommuniktion IP, TCP och

Materialplanering och styrning på grundnivå. 7,5 högskolepoäng

- den bredaste guiden om Mallorca på svenska! -

Övning 4 EITF25 & EITF Protokoll. October 29, 2016

För att justera TX finns det ett tool med namnet MMDVMCal. t.ex. /home/pi/applications/mmdvmcal/mmdvmcal /dev/ttyacm0

Thesis Production Time plan, preparation and Word templates

Service och bemötande. Torbjörn Johansson, GAF Pär Magnusson, Öjestrand GC

Voice over IP / SIP. Switching Costs SIP. Motivation for VoIP. Internet Telephony as PBX replacement. Internet Telephony Modes.

Brandväggar och portöppningar. Manual

OFTP2: Secure transfer over the Internet

Vässa kraven och förbättra samarbetet med hjälp av Behaviour Driven Development Anna Fallqvist Eriksson

Sammanfattning. Revisionsfråga Har kommunstyrelsen och tekniska nämnden en tillfredställande intern kontroll av att upphandlade ramavtal följs.

Stålstandardiseringen i Europa

Accomodations at Anfasteröd Gårdsvik, Ljungskile

Support for Artist Residencies

PORTSECURITY IN SÖLVESBORG

SkillGuide. Bruksanvisning. Svenska

Module 6: Integrals and applications

Wi-Fi travel router for ipad and mobile devices

Webbreg öppen: 26/ /

Immigration Studying. Studying - University. Stating that you want to enroll. Stating that you want to apply for a course.

Writing with context. Att skriva med sammanhang

Om oss DET PERFEKTA KOMPLEMENTET THE PERFECT COMPLETION 04 EN BINZ ÄR PRECIS SÅ BRA SOM DU FÖRVÄNTAR DIG A BINZ IS JUST AS GOOD AS YOU THINK 05

Försöket med trängselskatt i siffror

Kvalitetskontroller inom immunhematologi Vad är good enough? Erfarenheter från Sverige

Schenker Privpak AB Telefon VAT Nr. SE Schenker ABs ansvarsbestämmelser, identiska med Box 905 Faxnr Säte: Borås

Kursutvärderare: IT-kansliet/Christina Waller. General opinions: 1. What is your general feeling about the course? Antal svar: 17 Medelvärde: 2.

CUSTOMER READERSHIP HARRODS MAGAZINE CUSTOMER OVERVIEW. 63% of Harrods Magazine readers are mostly interested in reading about beauty

Module 1: Functions, Limits, Continuity

Discovery FSQ, IAA Utgåva/Edition 11. SE Habo. Klass 2 IAA FSQ-I 26W. 4 mm c c mm N L

PFC and EMI filtering

LARS. Ett e-bokningssystem för skoldatorer.

Quick-guide to Min ansökan

Ett hållbart boende A sustainable living. Mikael Hassel. Handledare/ Supervisor. Examiner. Katarina Lundeberg/Fredric Benesch

Alternativet är iwindows registret som ni hittar under regedit och Windows XP 32 bit.

Isometries of the plane

Geo installationsguide

Measuring child participation in immunization registries: two national surveys, 2001

Nya driftförutsättningar för Svensk kärnkraft. Kjell Ringdahl EON Kärnkraft Sverige AB

The Swedish National Patient Overview (NPO)


Utvärdering SFI, ht -13

Neighborhood discovery overhead in dual rate ad hoc networks

Hur fattar samhället beslut när forskarna är oeniga?

Urban Runoff in Denser Environments. Tom Richman, ASLA, AICP

802.11b Wireless router w. 4 port switch. StarTech ID: BR411BWDC

Kurskod: TAIU06 MATEMATISK STATISTIK Provkod: TENA 15 August 2016, 8:00-12:00. English Version

What Is Hyper-Threading and How Does It Improve Performance

2.45GHz CF Card Reader User Manual. Version /09/15

Annonsformat desktop. Startsida / områdesstartsidor. Artikel/nyhets-sidor. 1. Toppbanner, format 1050x180 pxl. Format 1060x180 px + 250x240 pxl.

Skattejurist för en dag på Deloitte i Malmö! 26 april 2016

Rastercell. Digital Rastrering. AM & FM Raster. Rastercell. AM & FM Raster. Sasan Gooran (VT 2007) Rastrering. Rastercell. Konventionellt, AM

Affärsmodellernas förändring inom handeln

Självkörande bilar. Alvin Karlsson TE14A 9/3-2015

Lösenordsportalen Hosted by UNIT4 For instructions in English, see further down in this document

Authentication Context QC Statement. Stefan Santesson, 3xA Security AB

Mönster. Ulf Cederling Växjö University Slide 1

Windlass Control Panel v1.0.1

PORTSECURITY IN SÖLVESBORG

Application Note SW

Dokumentnamn Order and safety regulations for Hässleholms Kretsloppscenter. Godkänd/ansvarig Gunilla Holmberg. Kretsloppscenter

Transkript:

Multimedia Applications Srinidhi Varadarajan

Multimedia Applications Multimedia requirements Streaming Phone over IP Recovering from Jitter and Loss RTP Diff-serv, Int-serv, RSVP 2

Application Classes Typically sensitive to delay, but can tolerate packet loss (would cause minor glitches that can be concealed) Data contains audio and video content ( continuous media ), three classes of applications: Streaming Unidirectional Real-Time Interactive Real-Time 3

Application Classes (more) Streaming Clients request audio/video files from servers and pipeline reception over the network and display Interactive: user can control operation (similar to VCR: pause, resume, fast forward, rewind, etc.) Delay: from client request until display start can be 1 to 10 seconds Example: RealAudio/RealVideo 4

Application Classes (more) Unidirectional Real-Time: similar to existing TV and radio stations, but delivery on the network Non-interactive, just listen/view Example, online course broadcast Interactive Real-Time : Phone conversation or video conference More stringent delay requirement than Streaming and Unidirectional because of interactive real-time nature Video: < 150 msec acceptable Audio: < 150 msec good, <400 msec acceptable 5

Challenges TCP/UDP/IP suite provides best-effort, no guarantees on expectation or variance of packet delay Streaming applications delay of 5 to 10 seconds is typical and has been acceptable, but performance deteriorates if links are congested (transoceanic) Real-Time Interactive requirements on delay and its jitter have been satisfied by over-provisioning (providing plenty of bandwidth), what will happen when the load increases?... 6

Challenges (more) Most router implementations use only First-Come-First-Serve (FCFS) packet processing and transmission scheduling To mitigate impact of best-effort protocols, we can: Use UDP to avoid TCP and its slow-start phase Buffer content at client and control playback to remedy jitter Adapt compression level to available bandwidth 7

Solution Approaches in IP Networks Just add more bandwidth and enhance caching capabilities (over-provisioning)! Two Camps Need major change of the protocols (Integrated Services): Incorporate resource reservation (bandwidth, processing, buffering), and new scheduling policies Set up service level agreements with applications, monitor and enforce the agreements, charge accordingly Need moderate changes ( Differentiated Services ): Use two traffic classes for all packets and differentiate service accordingly Charge based on class of packets Network capacity is provided to ensure first class packets incur no significant delay at routers 8

Streaming Important and growing application due to reduction of storage costs, increase in high speed net access from homes, enhancements to caching and introduction of QoS in IP networks Audio/Video file is segmented and sent over either TCP or UDP. public segmentation protocol: Real-Time Protocol (RTP) 9

Streaming User interactive control is provided public protocol Real Time Streaming Protocol (RTSP) Helper Application: displays content, which is typically requested via a Web browser; e.g. RealPlayer; typical functions: Decompression Jitter removal Error correction: use redundant packets to be used for reconstruction of original stream GUI for user control 10

Streaming From Web Servers Audio: in files sent as HTTP objects Video (interleaved audio and images in one file, or two separate files and client synchronizes the display) sent as HTTP object(s) A simple architecture is to have the Browser request the object(s) and after their reception pass them to the player for display - No pipelining 11

Streaming From Web Server (more) Alternative: set up connection between server and player, then download Web browser requests and receives a Meta File (a file describing the object) instead of receiving the file itself; Browser launches the appropriate Player and passes it the Meta File; Player sets up a TCP connection with Web Server and downloads the file 12

Meta file requests 13

Using a Streaming Server This gets us around HTTP, allows a choice of UDP vs. TCP and the application layer protocol can be better tailored to Streaming; many enhancements options are possible (see next slide) 14

Options When Using a Streaming Server Use UDP, and Server sends at a rate (Compression and Transmission) appropriate for client; to reduce jitter, Player buffers initially for 2-5 seconds, then starts display Use TCP, and sender sends at maximum possible rate under TCP; retransmit when error is encountered; Player uses a much large buffer to smooth delivery rate of TCP 15

Real Time Streaming Protocol (RTSP) For user to control display: rewind, fast forward, pause, resume, etc Out-of-band protocol (uses two connections, one for control messages (Port 554) and for media stream) RFC 2326 permits use of either TCP or UDP for the control messages connection, sometimes called the RTSP Channel As before, meta file is communicated to web browser which then launches the Player; Player sets up an RTSP connection for control messages in addition to the connection for the streaming media 16

Meta File Example <title>twister</title> <session> <group language=en lipsync> <switch> <track type=audio e="pcmu/8000/1" src = "rtsp://audio.example.com/twister/audio.en/lofi"> <track type=audio e="dvi4/16000/2" pt="90 DVI4/8000/1" src="rtsp://audio.example.com/twister/audio.en/hifi"> </switch> <track type="video/jpeg" src="rtsp://video.example.com/twister/video"> </group> </session> 17

RTSP Operation 18

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 19

Real-Time (Phone) Over IP s Best-Effort Internet phone applications generate packets during talk spurts Bit rate is 8 KBytes, and every 20 msec, the sender forms a packet of 160 Bytes + a header to be discussed below The coded voice information is encapsulated into a UDP packet and sent out; some packets may be lost; up to 20 % loss is tolerable; using TCP eliminates loss but at a considerable cost: variance in delay; FEC is sometimes used to fix errors and make up losses 20

Real-Time (Phone) Over IP s Best-Effort End-to-end delays above 400 msec cannot be tolerated; packets that are that delayed are ignored at the receiver Delay jitter is handled by using timestamps, sequence numbers, and delaying playout at receivers either a fixed or a variable amount With fixed playout delay, the delay should be as small as possible without missing too many packets; delay cannot exceed 400 msec 21

Internet Phone with Fixed Playout Delay 22

Adaptive Playout Delay Objective is to use a value for p-r that tracks the network delay performance as it varies during a phone call The playout delay is computed for each talk spurt based on observed average delay and observed deviation from this average delay Estimated average delay and deviation of average delay are computed in a manner similar to estimates of RTT and deviation in TCP The beginning of a talk spurt is identified from examining the timestamps in successive and/or sequence numbers of chunks 23

Recovery From Packet Loss Loss is in a broader sense: packet never arrives or arrives later than its scheduled playout time Since retransmission is inappropriate for Real Time applications, FEC or Interleaving are used to reduce loss impact. FEC is Forward Error Correction Simplest FEC scheme adds a redundant chunk made up of exclusive OR of a group of n chunks; redundancy is 1/n; can reconstruct if at most one lost chunk; playout time schedule assumes a loss per group 24

Recovery From Packet Loss Mixed quality streams are used to include redundant duplicates of chunks; upon loss a lower quality redundant chunk is available. With one redundant chunk per chunk can recover from single losses 25

Piggybacking Lower Quality Stream 26

Interleaving Has no redundancy, but can cause delay in playout beyond Real Time requirements Divide 20 msec of audio data into smaller units of 5 msec each and interleave Upon loss, have a set of partially filled chunks 27