Network Programming. Lecture outline. Lecture goals. multimedia applications: network audio and video ( continuous media )

Size: px
Start display at page:

Download "Network Programming. Lecture outline. Lecture goals. multimedia applications: network audio and video ( continuous media )"

Transcription

1 Network Programmng Multmeda and Qualty of Servce: What s t? multmeda applcatons: network audo and vdeo ( contnuous meda ) Dr. Thaer Hayajneh Computer Engneerng Department Multmeda Networkng QoS network provdes applcaton wth level of performance needed for applcaton to functon. 1 2 Lecture goals Prncples classfy multmeda applcatons dentfy network servces applcatons need makng the best of best effort servce Protocols and Archtectures specfc protocols for best-effort mechansms for provdng QoS archtectures for QoS Lecture outlne 1 multmeda networkng applcatons 2 streamng stored audo and vdeo 3 makng the best out of best effort servce 4 protocols for real-tme nteractve applcatons RTP,RTCP,SIP 5 provdng multple classes of servce 6 provdng QoS guarantees 3 4

2 MM Networkng Applcatons Classes of MM applcatons: 1) stored streamng 2) lve streamng 3) nteractve, real-tme Fundamental characterstcs: typcally delay senstve end-to-end delay delay jtter loss tolerant: nfrequent nt losses cause mnor gltches antthess of data, whch are loss ntolerant but Jtter s the varablty delay tolerant. of packet delays wthn the same packet stream Streamng Stored Multmeda Stored streamng: meda stored at source transmtted to clent streamng: clent playout begns before all data has arrved tmng constrant for stll-to-be transmtted data: n tme for playout 5 6 Streamng Stored Multmeda: What s t? Streamng Stored Multmeda: Interactvty 1. vdeo recorded 2. vdeo sent network delay 3. vdeo receved, played out at clent streamng: at ths tme, clent playng out early part of vdeo, whle server stll sendng later part of vdeo tme VCR-lke functonalty: clent can pause, rewnd, FF, push slder bar 10 sec ntal delay OK 1-2 sec untl command effect OK tmng constrant for stll-to-be transmtted data: n tme for playout 7 8

3 Streamng Lve Multmeda Real-Tme Interactve Multmeda Examples: Internet rado talk show lve sportng event Streamng (as wth streamng stored multmeda) playback buffer playback can lag tens of seconds after transmsson stll have tmng constrant Interactvty fast forward mpossble rewnd, pause possble! 9 applcatons: IP telephony, vdeo conference, dstrbuted nteractve worlds end-end delay requrements: audo: < 150 msec good, < 400 msec OK ncludes applcaton-level (packetzaton) and network delays hgher delays notceable, mpar nteractvty sesson ntalzaton how does callee advertse ts IP address, port number, encodng algorthms? 10 Multmeda Over Today s Internet How should the Internet evolve to better support multmeda? TCP/UDP/IP: best-effort effort servce no guarantees on delay, loss?????? But you sad multmeda apps requres QoS and level l of performance to be?? effectve!?? Today s Internet multmeda applcatons use applcaton-level technques to mtgate (as best possble) effects of delay, loss Hard Vs Soft guarantee? Integrated servces phlosophy: fundamental changes n Internet so that apps can reserve end-to-end bandwdth requres new, complex software n hosts & routers Lassez-fare no major changes more bandwdth when needed content dstrbuton, applcaton-layer multcast applcaton layer Dfferentated servces phlosophy: fewer changes to Internet nfrastructure, yet provde 1st and 2nd class servce What s your opnon? 11 12

4 A few words about audo compresson A few words about vdeo compresson analog sgnal sampled example: 8,000 at constant rate samples/sec, 256 telephone: 8,000 quantzed values --> samples/sec 64,000 bps CD musc: 44,100 recever converts bts samples/sec back to analog sgnal: each sample quantzed, some qualty reducton.e., rounded Example rates e.g., 2 8 =256 possble quantzed values CD: Mbps each quantzed value MP3: 96, 128, 160 kbps represented by bts Internet telephony: 8 bts for 256 values 5.3 kbps and up vdeo: sequence of mages dsplayed at constant rate e.g. 24 mages/sec dgtal mage: array of pxels each pxel represented by bts redundancy spatal (wthn mage) temporal (from one mage to next) Examples: MPEG 1 (CD-ROM) 1.5 Mbps MPEG2 (DVD) 3-6 Mbps MPEG4 (often used n Internet, < 1 Mbps) Research: layered (scalable) vdeo adapt layers to avalable bandwdth Lecture outlne Streamng Stored Multmeda 1 multmeda networkng applcatons 2 streamng stored audo and vdeo 3 makng the best out of best effort servce 4 protocols for real-tme nteractve applcatons RTP,RTCP,SIP 5 provdng multple classes of servce 6 provdng QoS guarantees applcaton-level streamng technques for makng the best out of best effort servce: clent-sde bufferng use of UDP versus TCP multple encodngs of multmeda Meda Player jtter removal decompresson error concealment graphcal user nterface w/ controls for nteractvty 15 16

5 Internet multmeda: smplest approach Internet multmeda: streamng approach audo or vdeo stored n fle fles transferred as HTTP object receved n entrety ty at clent then passed to player audo, vdeo not streamed: no, ppelnng, long delays untl playout! browser GETs metafle browser launches player, passng metafle player contacts server server streams audo/vdeo to player Streamng from a streamng server Streamng Multmeda: Clent Bufferng constant t bt rate vdeo transmsson varable network delay clent vdeo recepton buffe ered vd eo constant bt rate vdeo playout at clent allows for non-http protocol between server, meda player UDP or TCP for step (3), more shortly clent playout delay clent-sde bufferng, playout delay compensate for network-added delay, delay jtter tme 19 20

6 Streamng Multmeda: Clent Bufferng varable fll rate, x(t) buffered vdeo constant t dran rate, d clent-sde bufferng, playout delay compensate for network-added delay, delay jtter Streamng Multmeda: UDP or TCP? UDP server sends at rate approprate for clent (oblvous to network congeston!) often send rate = encodng rate = constant rate then, fll rate = constant rate - packet loss short playout delay (2-5 seconds) to remove network jtter error recover: tme permttng TCP send at maxmum possble rate under TCP fll rate fluctuates due to TCP congeston control larger playout delay: smooth TCP delvery rate HTTP/TCP passes more easly through frewalls Streamng Multmeda: clent rate(s) User Control of Streamng Meda: RTSP 1.5 Mbps encodng 28.8 Kbps encodng Q: how to handle dfferent clent receve rate capabltes? 28.8 Kbps dalup 100 Mbps Ethernet t A: server stores, transmts multple copes of vdeo, encoded at dfferent rates 23 HTTP does not target multmeda content no commands for fast forward, etc. RTSP: RFC 2326 clent-server applcaton layer protocol user control: rewnd, fast forward, pause, resume, repostonng, etc What t doesn t do: doesn t defne how audo/vdeo s encapsulated for streamng over network doesn t restrct how streamed meda s transported (UDP or TCP possble) doesn t specfy how meda player buffers audo/vdeo 24

7 RTSP: out of band control RTSP Example FTP uses an out-of- band control channel: fle transferred over one TCP connecton. control nfo (drectory changes, fle deleton, rename) sent over separate TCP connecton out-of-band, nband channels use dfferent port numbers RTSP messages also sent out-of-band: of RTSP control messages use dfferent port numbers than meda stream: out-of-band. port 554 meda stream s consdered n-band. Scenaro: metafle communcated to web browser browser launches player player sets up an RTSP control connecton, data connecton to streamng server Metafle Example RTSP Operaton <ttle>twster</ttle> <sesson> <group language=en lpsync> <swtch> <track type=audo e="pcmu/8000/1" src = "rtsp://audo.example.com/twster/audo.en/lof"> /t st / /l <track type=audo e="dvi4/16000/2" pt="90 DVI4/8000/1" src="rtsp://audo.example.com/twster/audo.en/hf"> / / /hf" </swtch> <track type="vdeo/jpeg" src="rtsp://vdeo.example.com/twster/vdeo"> </group> </sesson> 27 28

8 RTSP Exchange Example C: SETUP rtsp://audo.example.com/twster/audo RTSP/1.0 Transport: rtp/udp; compresson; port=3056; mode=play S: RTSP/ OK Sesson 4231 C: PLAY rtsp://audo.example.com/twster/audo.en/lof RTSP/1.0 Sesson: 4231 Range: npt=0- C: PAUSE rtsp://audo.example.com/twster/audo.en/lof RTSP/1.0 Sesson: 4231 Range: npt=37 C: TEARDOWN rtsp://audo.example.com/twster/audo.en/lof RTSP/1.0 Sesson: 4231 Lecture outlne 1 multmeda networkng applcatons 2 streamng stored audo and vdeo 3 makng the best out of best effort servce 4 protocols for real-tme nteractve applcatons RTP,RTCP,SIP 5 provdng multple classes of servce 6 provdng QoS guarantees S: OK Real-tme nteractve applcatons Interactve Multmeda: Internet Phone PC-2-PC phone Skype PC-2-phone Dalpad Net2phone Skype vdeoconference n wth webcams Skype Polycom Gong to now look at a PC-2-PC Internet phone example n detal 31 Introduce Internet Phone by way of an example speaker s audo: alternatng talk spurts, slent perods. 64 kbps durng talk spurt pkts generated only durng talk spurts 20 msec chunks at 8 Kbytes/sec: 160 bytes data applcaton-layer header added to each chunk. chunk+header encapsulated nto UDP segment. applcaton sends UDP segment nto socket every 20 msec durng talkspurt 32

9 Internet Phone: Packet Loss and Delay network loss: IP datagram lost due to network congeston (router buffer overflow) delay loss: IP datagram arrves too late for playout at recever delays: processng, queueng n network; end- system (sender, recever) delays typcal maxmum tolerable delay: 400 ms loss tolerance: dependng d on voce encodng, losses concealed, packet loss rates between 1% and 10% can be tolerated. 33 Delay Jtter constant t bt rate transmsson varable network delay (jtter) clent playout delay clent recepton buffe ered dat ta constant bt rate playout at clent consder end-to-end delays of two consecutve packets: dfference can be more or less than 20 msec (transmsson tme dfference) tme 34 Internet Phone: Fxed Playout Delay recever attempts to playout each chunk exactly q msecs after chunk was generated. chunk has tme stamp t: play out chunk at t+q. chunk arrves after t+q: data arrves too late for playout, data lost tradeoff n choosng q: large q: less packet loss small q: better nteractve t experence Fxed Playout Delay sender generates packets every 20 msec durng talk spurt. frst packet receved at tme r frst playout schedule: begns at p second playout schedule: begns at p packets packets generated packets receved loss playout schedule p' - r playout schedule p - r tme 35 r p p' 36

10 Adaptve Playout Delay (1) Goal: mnmze playout delay, keepng late loss rate low Approach: adaptve playout delay adjustment: estmate network delay, adjust playout delay at begnnng of each talk spurt. slent perods compressed and elongated. chunks stll played out every 20 msec durng talk spurt. t tmestamp of the th packet r the tme packet s receved by recever p the tme packet s played at recever r t network delay for th packet d estmate of average network delay after recevng th packet Adaptve playout delay (2) also useful to estmate average devaton of delay, v : v 1 u) v u r t d ( 1 estmates d, v calculated for every receved packet (but used only at start of talk spurt for frst packet n talk spurt, playout tme s: p t d Kv where K s postve constant remanng packets n talkspurt are played out perodcally dynamc estmate of average delay at recever: d ( 1 u) d 1 u( r t ) where u s a fxed constant (e.g., u =.01) Adaptve Playout (3) Recovery from packet loss (1) Q: How does recever determne whether packet s frst n a talkspurt? f no loss, recever looks at successve tmestamps. dfference of successve stamps > 20 msec -- >talk spurt begns. wth loss possble, recever must look at both tme stamps and sequence numbers. dfference of successve stamps > 20 msec and sequence numbers wthout gaps --> talk spurt begns. Forward Error Correcton (FEC): smple scheme for every group of n chunks create redundant chunk by exclusve OR-ng n orgnal chunks send out n+1 chunks, ncreasng bandwdth by factor 1/n. can reconstruct orgnal n chunks f at most one lost chunk from n+1 chunks playout delay: enough tme to receve all n+1 packets tradeoff: ncrease n, less bandwdth waste ncrease n, longer playout delay ncrease n, hgher probablty that 2 or more chunks wll be lost 39 40

11 Recovery from packet loss (2) Recovery from packet loss (3) 2nd FEC scheme pggyback lower qualty stream send lower resoluton audo stream as redundant nformaton e.g., nomnal stream PCM at 64 kbps and redundant stream GSM at 13 kbps. whenever there s non-consecutve loss, recever can conceal the loss. can also append (n-1)st and (n-2)nd low-bt rate chunk 41 Interleavng chunks dvded nto smaller unts for example, four 5 msec unts per chunk packet contans small unts from dfferent chunks f packet lost, stll have most of every chunk no redundancy overhead, but ncreases playout delay 42 Content dstrbuton networks (CDNs) Content dstrbuton networks (CDNs) Content replcaton challengng to stream large fles (e.g., vdeo) from sngle orgn server n real tme soluton: replcate content at hundreds of servers throughout Internet content downloaded to CDN servers ahead of tme placng content close to user avods mparments (loss, delay) of sendng content over long paths CDN server typcally y n edge/access network CDN server n S. Amerca orgn server n North Amerca CDN dstrbuton node CDN server n Europe CDN server n Asa Content replcaton CDN (e.g., Akama) customer s the content provder (e.g., CNN) CDN replcates customers content n CDN servers. when provder updates content, CDN updates servers CDN server n S. Amerca orgn server n North Amerca CDN dstrbuton node CDN server n Europe CDN server n Asa 43 44

12 CDN example clent orgn server ( dstrbutes HTML replaces: wth / / t / th orgn server HTTP request for DNS query for CDN s authortatve DNS server HTTP request for CDN server near clent CDN company (cdn.com) com) dstrbutes gf fles uses ts authortatve DNS server to route redrect requests More about CDNs routng requests CDN creates a map, ndcatng dstances from leaf ISPs and CDN nodes when query arrves at authortatve DNS server: server determnes ISP from whch query orgnates uses map to determne best CDN server CDN nodes create applcaton-layer overlay network Summary: Internet Multmeda: bag of trcks use UDP to avod TCP congeston control (delays) for tme-senstve t traffc clent-sde adaptve playout delay: to compensate for delay server sde matches stream bandwdth to avalable clent-to-server path bandwdth chose among pre-encoded stream rates dynamc server encodng rate error recovery (on top of UDP) FEC, nterleavng, error concealment retransmssons, tme permttng CDN: brng content closer to clents Lecture outlne 1 multmeda networkng applcatons 2 streamng stored audo and vdeo 3 makng the best out of best effort servce 4 protocols for real-tme nteractve applcatons RTP, RTCP, SIP, H provdng multple classes of servce 6 provdng QoS guarantees 47 48

13 Real-Tme Protocol (RTP) RTP runs on top of UDP RTP specfes packet structure for packets carryng audo, vdeo data RFC 3550 RTP packet provdes payload type dentfcaton packet sequence numberng tme stampng RTP runs n end systems RTP packets encapsulated n UDP segments nteroperablty: f two Internet phone applcatons run RTP, then they may be able to work together RTP lbrares provde transport-layer nterface that extends UDP: port numbers, IP addresses payload type dentfcaton packet sequence numberng tme-stampng RTP Example consder sendng 64 kbps PCM-encoded d voce over RTP. applcaton collects encoded data n chunks, e.g., every 20 msec = 160 bytes n a chunk. audo chunk + RTP header form RTP packet, whch h s encapsulated n UDP segment RTP header ndcates type of audo encodng n each packet sender can change encodng durng conference. RTP header also contans sequence numbers, tmestamps. RTP and QoS RTP does not provde any mechansm to ensure tmely data delvery or other QoS guarantees. RTP encapsulaton s only seen at end systems (not) by ntermedate routers. routers provdng best-effort servce, makng no specal effort to ensure that RTP packets arrve at destnaton n tmely matter

14 RTP Header RTP Header (2) Payload Type (7 bts): Indcates type of encodng currently beng used. If sender changes encodng n mddle of conference, sender nforms recever va payload type feld. Payload type 0: PCM mu-law, 64 kbps Payload type 3, GSM, 13 kbps Payload type 7, LPC, 2.4 kbps Payload type 26, Moton JPEG Payload type 31. H.261 Payload type 33, MPEG2 vdeo Sequence Number (16 bts): Increments by one for each RTP packet sent, and may be used to detect t packet loss and to restore packet sequence. 53 Tmestamp feld (32 bytes long): samplng nstant of frst byte n ths RTP data packet for audo, tmestamp clock typcally ncrements by one for each samplng perod (for example, each 125 usecs for 8 KHz samplng clock) f applcaton generates chunks of 160 encoded samples, then tmestamp ncreases by 160 for each RTP packet when source s actve. Tmestamp clock contnues to ncrease at constant rate when source s nactve. SSRC feld (32 bts long): dentfes source of the RTP stream. Each stream n RTP sesson ss should have dstnct t SSRC. 54 Real-Tme Control Protocol (RTCP) RTCP - Contnued works n conjuncton wth RTP. each partcpant n RTP sesson perodcally transmts RTCP control packets to all other partcpants. each RTCP packet contans sender and/or recever reports report statstcs useful to applcaton: # packets sent, # packets lost, nterarrval jtter, etc. feedback can be used to control performance sender may modfy ts transmssons based on feedback 56 each RTP sesson: typcally a sngle multcast address; all RTP /RTCP packets belongng to sesson use multcast address. RTP, RTCP packets dstngushed from each other va dstnct port numbers. to lmt traffc, each partcpant reduces RTCP traffc as number of conference partcpants ncreases 57

15 RTCP Packets Synchronzaton of Streams Recever report packets: fracton of packets lost, last sequence number, average nterarrval jtter Sender report packets: SSRC of RTP stream, current tme, number of packets sent, number of bytes sent Source descrpton packets: e-mal address of sender, sender's name, SSRC of assocated RTP stream provde mappng between the SSRC and the user/host name RTCP can synchronze dfferent meda streams wthn a RTP sesson consder vdeoconferencng app for whch each sender generates one RTP stream for vdeo, one for audo. tmestamps n RTP packets ted to the vdeo, audo samplng clocks not ted to wall-clock tme each RTCP sender-report packet contans (for most recently generated packet n assocated RTP stream): tmestamp of RTP packet wall-clock tme for when packet was created. recevers uses assocaton to synchronze playout of audo, vdeo RTCP Bandwdth Scalng SIP: Sesson Intaton Protocol [RFC 3261] RTCP attempts to lmt ts traffc to 5% of sesson bandwdth. Example Suppose one sender, sendng vdeo at 2 Mbps. Then RTCP attempts to lmt ts traffc to 100 Kbps. RTCP gves 75% of rate to recevers; remanng 25% to sender 75 kbps s equally shared among recevers: wth R recevers, each recever gets to send RTCP traffc at 75/R kbps. sender gets to send RTCP traffc at 25 kbps. partcpant determnes RTCP packet transmsson perod by calculatng avg RTCP packet sze (across entre sesson) and dvdng by allocated rate SIP long-term vson: all telephone calls, vdeo conference calls take place over Internet people are dentfed by names or e-mal addresses, rather than by phone numbers you can reach callee, no matter where callee roams, no matter what IP devce callee s currently usng 60 61

16 SIP Servces Settng up a call, SIP provdes mechansms.. for caller to let callee know she wants to establsh a call so caller, callee can agree on meda type, encodng to end call determne current IP address of callee: maps mnemonc dentfer to current IP address call management: add new meda streams durng call change encodng durng call nvte others transfer, hold calls Alce Settng up a call to known IP address INVITE bob@ c=in IP m=audo RTP/AVP 0 port 5060 port 5060 port OK c=in IP m=audo RTP/AVP 3 GSM ACK port 5060 Law audo port Bob Bob's termnal rngs Alce s SIP nvte message ndcates her port number, IP address, encodng she prefers to receve (PCM ulaw) Bob s 200 OK message ndcates hs port number, IP address, preferred encodng (GSM) SIP messages can be sent over TCP or UDP; here sent over RTP/UDP. default SIP port number s tme tme 63 Settng up a call (more) Example of SIP message codec negotaton: suppose se Bob doesn esn t have PCM ulaw encoder. Bob wll nstead reply wth 606 Not Acceptable Reply, lstng hs encoders Alce can then send new INVITE message, advertsng dfferent encoder rejectng a call Bob can reject wth reples busy, gone, payment requred, forbdden meda can be sent over RTP or some other protocol 64 INVITE sp:bob@doman.com SIP/2.0 Va: SIP/2.0/UDP From: sp:alce@hereway.com To: sp:bob@doman.com Call-ID: a2e3a@pgeon.hereway.com Content-Type: applcaton/sdp p Content-Length: 885 c=in IP m=audo RTP/AVP 0 Notes: HTTP message syntax sdp = sesson descrpton protocol Call-ID s unque for every call. Here we don t know Bob s IP address. Intermedate SIP servers needed. Alce sends, receves SIP messages usng SIP default port 506 Alce specfes n Va: header that SIP clent sends, receves SIP messages over UDP 65

17 Name translaton and user locataon SIP Regstrar caller wants to call callee, but only has callee s name or e-mal address. need to get IP address of callee s current host: user moves around DHCP protocol user has dfferent IP devces (PC, PDA, car devce) result can be based on: tme of day (work, home) caller (don t want boss to call you at home) status of callee (calls sent to vocemal when callee s already talkng to someone) Servce provded by SIP servers: SIP regstrar server SIP proxy server when Bob starts SIP clent, clent sends SIP REGISTER message to Bob s regstrar server (smlar functon needed by Instant Messagng) Regster Message: REGISTER sp:doman.com SIP/2.0 Va: SIP/2.0/UDP From: sp:bob@doman.com To: sp:bob@doman.com Expres: SIP Proxy Alce sends nvte message to her proxy server contans address sp:bob@doman.com proxy responsble for routng SIP messages to callee possbly through multple proxes. callee sends response back through h the same set of proxes. proxy returns SIP response s message to Alce contans Bob s IP address proxy analogous to local DNS server 68 Example Caller jm@umass.edu wth places a call to keth@upenn.edu (1) Jm sends INVITE message to umass SIP proxy. (2) Proxy forwards request to upenn regstrar server. (3) upenn server returns redrect response, ndcatng that t should try keth@eurecom.fr SIP proxy umass.edu 2 3 SIP regstrar upenn.edu 4 SIP regstrar eurecom.fr SIP clent SIP clent (4) umass proxy sends INVITE to eurecom regstrar. (5) eurecom regstrar forwards INVITE to , whch s runnng keth s SIP clent. (6-8) SIP response sent back (9) meda sent drectly between clents. Note: also a SIP ack message, whch s not shown. 69

18 Comparson wth H.323 Lecture outlne H.323 s another sgnalng protocol for real-tme, nteractve H.323 s a complete, vertcally ntegrated sute of protocols for multmeda conferencng: sgnalng, regstraton, admsson control, transport, codecs SIP s a sngle component. Works wth RTP, but does not mandate t. Can be combned wth other protocols, servces H.323 comes from the ITU (telephony). SIP comes from IETF: Borrows much of ts concepts from HTTP SIP has Web flavor, whereas H.323 H323 has telephony flavor. SIP uses the KISS prncple: Keep t smple stupd. 1 multmeda networkng applcatons 2 streamng stored audo and vdeo 3 makng the best out of best effort servce 4 protocols for real-tme nteractve applcatons RTP, RTCP, SIP 5 provdng multple classes of servce 6 provdng QoS guarantees Provdng Multple Classes of Servce Multple classes of servce: scenaro thus far: makng the best of best effort servce one-sze fts all servce model alternatve: multple classes of servce partton traffc nto classes network treats dfferent classes of traffc dfferently (analogy: VIP servce vs regular servce) granularty: dfferental servce among multple 0111 classes, not among ndvdual connectons hstory: ToS bts H2 H1 R1 R1 output nterface queue 1.5 Mbps lnk R2 H4 H

19 Scenaro 1: mxed FTP and audo Example: 1Mbps IP phone, FTP share 1.5 Mbps lnk. bursts of FTP can congest router, cause audo loss want to gve prorty to audo over FTP R1 R2 Prncples for QOS Guarantees (more) what f applcatons msbehave (audo sends hgher than declared d rate) polcng: force source adherence to bandwdth allocatons markng and polcng at network edge: smlar to ATM UNI (User Network Interface) 1 Mbps phone R1 R2 Prncple 1 packet markng needed for router to dstngush between dfferent classes; and new router polcy to treat t packets accordngly Mbps lnk packet markng and polcng Prncple 2 provde protecton (solaton) for one class from others 75 Prncples for QOS Guarantees (more) Allocatng fxed (non-sharable) bandwdth to flow: neffcent use of bandwdth f flows doesn t use ts allocaton 1 Mbps phone Prncple 3 R1 1 Mbps logcal lnk 1.5 Mbps lnk 0.5 Mbps logcal lnk R2 Whle provdng solaton, t s desrable to use resources as effcently as possble 76 Schedulng And Polcng Mechansms schedulng: choose next packet to send on lnk FIFO (frst n frst out) schedulng: send n order of arrval to queue real-world example? dscard polcy: f packet arrves to full queue: who to dscard? Tal drop: drop arrvng packet prorty: drop/remove on prorty bass random: drop/remove randomly 77

20 Schedulng Polces: more Prorty schedulng: transmt hghest prorty queued packet multple classes, wth dfferent prortes class may depend on markng or other header nfo, e.g. IP source/dest, port numbers, etc.. Real world example? Schedulng Polces: stll more round robn schedulng: multple classes cyclcally scan class queues, servng one from each class (f avalable) real world example? Schedulng Polces: stll more Weghted Far Queung: generalzed Round Robn each class gets weghted amount of servce n each cycle real-world example? Polcng Mechansms Goal: lmt traffc to not exceed declared parameters Three common-used crtera: (Long term) Average Rate: how many pkts can be sent per unt tme (n the long run) crucal queston: what s the nterval length: 100 packets per sec or 6000 packets per mn have same average! Peak Rate: e.g., 6000 pkts per mn. (ppm) avg.; 1500 ppm peak rate (Max.) Burst Sze: max. number of pkts sent consecutvely (wth no ntervenng dle) 80 81

21 Polcng Mechansms Token Bucket: lmt nput to specfed Burst Sze and Average Rate. Polcng Mechansms (more) token bucket, WFQ combne to provde guaranteed upper bound on delay,.e., QoS guarantee! arrvng traffc token rate, r bucket can hold b tokens tokens generated at rate r token/sec unless bucket full over nterval of length t: number of packets admtted less than or equal to (r t + b). 82 bucket sze, b per-flow rate, R WFQ D = b/r max 83 IETF Dfferentated Servces want qualtatve servce classes behaves lke a wre relatve servce dstncton: Platnum, Gold, Slver scalablty: smple functons n network core, relatvely complex functons at edge routers (or hosts) sgnalng, mantanng per-flow router state dffcult wth large number of flows don t defne defne servce classes, provde functonal components to buld servce classes Dffserv Archtecture Edge router: per-flow traffc management markng r schedulng marks packets as n-profle and out-profle b. Core router: per class traffc management bufferng and schedulng based on markng at edge preference gven to n-profle packets 84 85

22 Edge-router Packet Markng profle: pre-negotated rate A, bucket sze B packet markng at edge based on per-flow profle User packets Rate A B Classfcaton and Condtonng Packet s marked n the Type of Servce (TOS) n IPv4, and Traffc Class n IPv6 6 bts used for Dfferentated Servce Code Pont (DSCP) and determne PHB that the packet wll receve 2 bts are currently unused Possble usage of markng: class-based markng: packets of dfferent classes marked dfferently ntra-class markng: conformng porton of flow marked dfferently than non-conformng one Classfcaton and Condtonng may be desrable to lmt traffc njecton rate of some class: user declares traffc profle (e.g., rate, burst sze) traffc metered, shaped f non-conformng Forwardng g( (PHB) PHB result n a dfferent observable (measurable) forwardng performance behavor PHB does not specfy what mechansms to use to ensure requred PHB performance behavor Examples: Class A gets x% of outgong lnk bandwdth over tme ntervals of a specfed length Class A packets leave frst before packets from class B 88 89

23 Forwardng g( (PHB) PHBs beng developed: Expedted Forwardng: pkt departure rate of a class equals or exceeds specfed rate logcal lnk wth a mnmum guaranteed rate Assured Forwardng: 4 classes of traffc each guaranteed mnmum amount of bandwdth each wth three drop preference parttons Chapter 7 outlne 7.1 multmeda networkng applcatons 7.2 streamng stored audo and vdeo 7.3 makng the best out of best effort servce 7.4 protocols for real-tme nteractve applcatons RTP, RTCP, SIP 7.5 provdng multple classes of servce 7.6 provdng QoS guarantees Chapter 7 outlne 7.1 Multmeda Networkng Applcatons 7.2 Streamng stored audo and vdeo 7.3 Real-tme Multmeda: Internet Phone study 7.4 Protocols for Real- Tme Interactve Applcatons RTP,RTCP,SIP 7.5 Dstrbutng Multmeda: content dstrbuton networks 7.6 Beyond Best Effort 7.7 Schedulng and Polcng Mechansms 7.8 Integrated Servces and Dfferentated Servces 7.9 RSVP 92 Prncples for QOS Guarantees (more) Basc fact of lfe: can not support traffc demands beyond lnk capacty 1 Mbps phone 1 Mbps phone Prncple 4 R1 1.5 Mbps lnk Call Admsson: flow declares ts needs, network may block call (e.g., busy sgnal) f t cannot meet needs R2 93

24 QoS guarantee scenaro Resource reservaton call setup, sgnalng (RSVP) traffc, QoS declaraton per-element admsson control QoS-senstve schedulng (e.g., WFQ) request/ reply IETF Integrated Servces archtecture for provdng QOS guarantees n IP networks for ndvdual applcaton sessons resource reservaton: routers mantan state nfo (a la VC) of allocated resources, QoS req s admt/deny new call setup requests: Queston: can newly arrvng flow be admtted wth performance guarantees whle not volated QoS guarantees made to already admtted flows? Call Admsson Arrvng sesson must : declare ts QOS requrement R-spec: defnes the QOS beng requested characterze traffc t wll send nto network T-spec: defnes traffc characterstcs sgnalng protocol: needed to carry R-spec and T- spec to routers (where reservaton s requred) RSVP Intserv QoS: Servce models [rfc2211, rfc 2212] Guaranteed servce: worst case traffc arrval: leaky-bucket-polced source smple (mathematcally provable) bound on delay [Parekh 1992, Cruz 1988] arrvng traffc token rate, r bucket sze, b per-flow rate, R WFQ Controlled load servce: "a qualty of servce closely approxmatng the QoS that same flow would receve from an unloaded network element." 96 D = b/r max 97

25 Sgnalng g n the Internet RSVP Desgn Goals connectonless (stateless) forwardng by IP routers best effort servce + = no network sgnalng protocols n ntal IP desgn New requrement: reserve resources along end-to-end path (end system, routers) for QoS for multmeda applcatons RSVP: Resource Reservaton Protocol [RFC 2205] allow users to communcate requrements to network n robust and effcent way..e., sgnalng! earler Internet Sgnalng protocol: ST-II [RFC 1819] 1. accommodate heterogeneous recevers (dfferent bandwdth along paths) 2. accommodate dfferent applcatons wth dfferent resource requrements 3. make multcast a frst class servce, wth adaptaton to multcast group membershp m 4. leverage exstng multcast/uncast routng, wth adaptaton to changes n underlyng uncast, multcast routes 5. control protocol overhead to grow (at worst) lnear n # recevers 6. modular desgn for heterogeneous underlyng technologes RSVP: does not specfy how resources are to be reserved rather: a mechansm for communcatng needs determne routes packets wll take that s the job of routng protocols sgnalng decoupled d from routng nteract wth forwardng of packets separaton of control (sgnalng) and data (forwardng) planes RSVP: overvew of operaton senders, recever jon a multcast group done outsde of RSVP senders need not jon group sender-to-network network sgnalng path message: make sender presence known to routers path teardown: delete sender s path state from routers recever-to-network sgnalng reservaton message: reserve resources from sender(s) to recever reservaton teardown: remove recever reservatons network-to-end-system t t sgnalng path error reservaton error

26 Chapter 7: Summary Prncples classfy multmeda applcatons dentfy network servces applcatons need makng the best of best effort servce Protocols and Archtectures specfc protocols for best-effort mechansms for provdng QoS archtectures for QoS multple classes of servce QoS guarantees, admsson control 102

Real-time interactive applications

Real-time interactive applications Real-tme nteractve applcatons PC-2-PC phone PC-2-phone Dalpad Net2phone vdeoconference Webcams Now we look at a PC-2-PC Internet phone example n detal Internet phone over best-effort (1) Best effort packet

More information

Digital Audio. Audio Examples. Multimedia and Quality of Service. Introduction to Multimedia Networking amd QoS. QoS

Digital Audio. Audio Examples. Multimedia and Quality of Service. Introduction to Multimedia Networking amd QoS. QoS Introducton to Multmeda Networkng amd QoS Classfy multmeda applcatons Identfy the network servces the apps need Makng the best of best effort servce Streamng Stored Multmeda vs. Interactve Applcatons Adaptve

More information

02/10/2008. Chapter 7 Multimedia Networking. Chapter 7 outline. Chapter 7: goals. MM Networking Applications. Streaming Stored Multimedia

02/10/2008. Chapter 7 Multimedia Networking. Chapter 7 outline. Chapter 7: goals. MM Networking Applications. Streaming Stored Multimedia Chapter 7 Multmeda Networkng Multmeda and Qualty of Servce: What s t? multmeda applcatons: network audo and vdeo ( contnuous meda ) A note on the use of these ppt sldes: We re makng these sldes freely

More information

Multimedia, Quality of Service. Chapter 7: Goals. About video compression. About audio compression. CSE 4213: Computer Networks II

Multimedia, Quality of Service. Chapter 7: Goals. About video compression. About audio compression. CSE 4213: Computer Networks II Multmeda, Qualty of Servce CSE 4213: Computer Networks II Suprakash Datta datta@cs.yorku.ca Multmeda applcatons: network audo and vdeo ( contnuous meda ) Offce: CSEB 3043 Phone: 416-736-2100 ext 77875

More information

Multimedia Networking

Multimedia Networking Multimedia Networking 1 Multimedia, Quality of Service (QoS): What is it? Multimedia applications: Network audio and video ( continuous media ) QoS Network provides application with level of performance

More information

Real-Time Control Protocol (RTCP)

Real-Time Control Protocol (RTCP) Real-Time Control Protocol (RTCP) works in conjunction with RTP each participant in RTP session periodically sends RTCP control packets to all other participants each RTCP packet contains sender and/or

More information

Mohammad Hossein Manshaei 1393

Mohammad Hossein Manshaei 1393 Mohammad Hossein Manshaei manshaei@gmail.com 1393 Voice and Video over IP Slides derived from those available on the Web site of the book Computer Networking, by Kurose and Ross, PEARSON 2 Multimedia networking:

More information

Quality of Service. Qos Mechanisms. EECS 122: Lecture 15

Quality of Service. Qos Mechanisms. EECS 122: Lecture 15 Quality of Service EECS 122: Lecture 15 Department of Electrical Engineering and Computer Sciences University of California Berkeley Qos Mechanisms Policing at the edge of the network controls the amount

More information

Multimedia networking: outline

Multimedia networking: outline Multimedia networking: outline 7.1 multimedia networking applications 7.2 streaming stored video 7.3 voice-over-ip 7.4 protocols for real-time conversational applications: RTP, SIP 7.5 network support

More information

Today. March 7, 2006 EECS122 Lecture 15 (AKP) 4. D(t) Scheduling Discipline. March 7, 2006 EECS122 Lecture 15 (AKP) 5

Today. March 7, 2006 EECS122 Lecture 15 (AKP) 4. D(t) Scheduling Discipline. March 7, 2006 EECS122 Lecture 15 (AKP) 5 Today Quality of Service EECS 122: Lecture 15 Department of Electrical Engineering and Computer Sciences University of California Berkeley End to End QoS Network Layer: Multiple routers Intserv Diffserv

More information

Lecture 9: Media over IP

Lecture 9: Media over IP Lecture 9: Media over IP These slides are adapted from the slides provided by the authors of the book (to the right), available from the publisher s website. Computer Networking: A Top Down Approach 5

More information

55:054 Communication Networks 12/11/2008

55:054 Communication Networks 12/11/2008 Chapter 7 Multimedia Networking Multimedia and Quality of Service: What is it? multimedia applications: network audio and video ( continuous media ) All material copyright 1996-2007 J.F Kurose and K.W.

More information

Goals and Approach Type of Resources Allocation Models Shared Non-shared Not in this Lecture In this Lecture

Goals and Approach Type of Resources Allocation Models Shared Non-shared Not in this Lecture In this Lecture Goals and Approach CS 194: Dstrbuted Systems Resource Allocaton Goal: acheve predcable performances Three steps: 1) Estmate applcaton s resource needs (not n ths lecture) 2) Admsson control 3) Resource

More information

Digital Asset Management 5. Streaming multimedia

Digital Asset Management 5. Streaming multimedia Digital Asset Management 5. Streaming multimedia 2015-10-29 Keys of Streaming Media Algorithms (**) Standards (*****) Complete End-to-End systems (***) Research Frontiers(*) Streaming... Progressive streaming

More information

Real-Time Guarantees. Traffic Characteristics. Flow Control

Real-Time Guarantees. Traffic Characteristics. Flow Control Real-Tme Guarantees Requrements on RT communcaton protocols: delay (response s) small jtter small throughput hgh error detecton at recever (and sender) small error detecton latency no thrashng under peak

More information

Video Streaming and Media Session Protocols

Video Streaming and Media Session Protocols Video Streaming and Media Session Protocols 1 Streaming Stored Multimedia Stored media streaming File containing digitized audio / video Stored at source Transmitted to client Streaming Client playout

More information

Multimedia networking: outline

Multimedia networking: outline Multimedia networking: outline 9.1 multimedia networking applications 9.2 streaming stored video 9.3 voice-over-ip 9.4 protocols for real-time conversational applications: SIP Skip RTP, RTCP 9.5 network

More information

Quality of Service (QoS)

Quality of Service (QoS) Quality of Service (QoS) A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and delete

More information

Scheduling and queue management. DigiComm II

Scheduling and queue management. DigiComm II Schedulng and queue management Tradtonal queung behavour n routers Data transfer: datagrams: ndvdual packets no recognton of flows connectonless: no sgnallng Forwardng: based on per-datagram forwardng

More information

Chapter 7 Multimedia Networking

Chapter 7 Multimedia Networking Chapter 7 Multimedia Networking A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify,

More information

Chapter 7 Multimedia Networking

Chapter 7 Multimedia Networking Chapter 7 Multimedia Networking A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify,

More information

Mohammad Hossein Manshaei 1393

Mohammad Hossein Manshaei 1393 Mohammad Hossein Manshaei manshaei@gmail.com 1393 Voice and Video over IP Slides derived from those available on the Web site of the book Computer Networking, by Kurose and Ross, PEARSON 2 Multimedia networking:

More information

Outline. QoS routing in ad-hoc networks. Real-time traffic support. Classification of QoS approaches. QoS design choices

Outline. QoS routing in ad-hoc networks. Real-time traffic support. Classification of QoS approaches. QoS design choices Outline QoS routing in ad-hoc networks QoS in ad-hoc networks Classifiction of QoS approaches Instantiation in IEEE 802.11 The MAC protocol (recap) DCF, PCF and QoS support IEEE 802.11e: EDCF, HCF Streaming

More information

Improving QOS in IP Networks. Principles for QOS Guarantees

Improving QOS in IP Networks. Principles for QOS Guarantees Improving QOS in IP Networks Thus far: making the best of best effort Future: next generation Internet with QoS guarantees RSVP: signaling for resource reservations Differentiated Services: differential

More information

Data Communications & Networks. Session 10 Main Theme Multimedia Networking. Dr. Jean-Claude Franchitti

Data Communications & Networks. Session 10 Main Theme Multimedia Networking. Dr. Jean-Claude Franchitti Data Communications & Networks Session 10 Main Theme Multimedia Networking Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences Adapted

More information

CSC 4900 Computer Networks: Multimedia Applications

CSC 4900 Computer Networks: Multimedia Applications CSC 4900 Computer Networks: Multimedia Applications Professor Henry Carter Fall 2017 Last Time What is a VPN? What technology/protocol suite is generally used to implement them? How much protection does

More information

Chapter 7 Multimedia Networking

Chapter 7 Multimedia Networking Chapter 7 Multimedia Networking Principles Classify multimedia applications Identify the network services and the requirements the apps need Making the best of best effort service Mechanisms for providing

More information

CS 268: Lecture 8 Router Support for Congestion Control

CS 268: Lecture 8 Router Support for Congestion Control CS 268: Lecture 8 Router Support for Congeston Control Ion Stoca Computer Scence Dvson Department of Electrcal Engneerng and Computer Scences Unversty of Calforna, Berkeley Berkeley, CA 9472-1776 Router

More information

Multimedia

Multimedia Multimedia Communications @CS.NCTU Lecture 11: Multimedia Networking Instructor: Kate Ching-Ju Lin ( 林靖茹 ) 2 Why Multimedia Networking Matters? Watching video over Internet Uploading user-generated content

More information

Multimedia Applications. Classification of Applications. Transport and Network Layer

Multimedia Applications. Classification of Applications. Transport and Network Layer Chapter 2: Representation of Multimedia Data Chapter 3: Multimedia Systems Communication Aspects and Services Multimedia Applications and Communication Protocols Quality of Service and Resource Management

More information

Efficient Distributed File System (EDFS)

Efficient Distributed File System (EDFS) Effcent Dstrbuted Fle System (EDFS) (Sem-Centralzed) Debessay(Debsh) Fesehaye, Rahul Malk & Klara Naherstedt Unversty of Illnos-Urbana Champagn Contents Problem Statement, Related Work, EDFS Desgn Rate

More information

Chapter 7 Multimedia Networking

Chapter 7 Multimedia Networking Chapter 7 Multimedia Networking Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross Addison-Wesley, July 2004. 7: Multimedia Networking 7-1 Multimedia,

More information

Simulation Based Analysis of FAST TCP using OMNET++

Simulation Based Analysis of FAST TCP using OMNET++ Smulaton Based Analyss of FAST TCP usng OMNET++ Umar ul Hassan 04030038@lums.edu.pk Md Term Report CS678 Topcs n Internet Research Sprng, 2006 Introducton Internet traffc s doublng roughly every 3 months

More information

Chapter 7 Multimedia Networking. Chapter 7 outline. Chapter 7: goals. Multimedia and Quality of Service: What is it? QoS

Chapter 7 Multimedia Networking. Chapter 7 outline. Chapter 7: goals. Multimedia and Quality of Service: What is it? QoS Chapter 7 Multimedia Networking Multimedia and Quality of Service: What is it? multimedia applications: network audio and video ( continuous media ) A note on the use of these ppt slides: We re making

More information

Chapter 9. Multimedia Networking. Computer Networking: A Top Down Approach

Chapter 9. Multimedia Networking. Computer Networking: A Top Down Approach Chapter 9 Multimedia Networking A note on the use of these Powerpoint slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see the animations;

More information

Chapter 9. Multimedia Networking. Computer Networking: A Top Down Approach

Chapter 9. Multimedia Networking. Computer Networking: A Top Down Approach Chapter 9 Multimedia Networking A note on the use of these Powerpoint slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see the animations;

More information

Multimedia networking: outline

Multimedia networking: outline Multimedia networking: outline 7.1 multimedia networking applications 7.2 streaming stored video 7.3 voice-over-ip 7.4 protocols for real-time conversational applications 7.5 network support for multimedia

More information

MULTIMEDIA I CSC 249 APRIL 26, Multimedia Classes of Applications Services Evolution of protocols

MULTIMEDIA I CSC 249 APRIL 26, Multimedia Classes of Applications Services Evolution of protocols MULTIMEDIA I CSC 249 APRIL 26, 2018 Multimedia Classes of Applications Services Evolution of protocols Streaming from web server Content distribution networks VoIP Real time streaming protocol 1 video

More information

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097 Chair for Network Architectures and Services Prof. Carle Department for Computer Science TU München Chair for Network Architectures and Services Prof. Carle Department for Computer Science TU München Master

More information

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097 Chair for Network Architectures and Services Prof. Carle Department for Computer Science TU München Master Course Computer Networks IN2097 Prof. Dr.-Ing. Georg Carle Christian Grothoff, Ph.D. Chair for

More information

Chapter 7 Multimedia Networking

Chapter 7 Multimedia Networking Chapter 7 Multimedia Networking A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify,

More information

Video Proxy System for a Large-scale VOD System (DINA)

Video Proxy System for a Large-scale VOD System (DINA) Vdeo Proxy System for a Large-scale VOD System (DINA) KWUN-CHUNG CHAN #, KWOK-WAI CHEUNG *# #Department of Informaton Engneerng *Centre of Innovaton and Technology The Chnese Unversty of Hong Kong SHATIN,

More information

RAP. Speed/RAP/CODA. Real-time Systems. Modeling the sensor networks. Real-time Systems. Modeling the sensor networks. Real-time systems:

RAP. Speed/RAP/CODA. Real-time Systems. Modeling the sensor networks. Real-time Systems. Modeling the sensor networks. Real-time systems: Speed/RAP/CODA Presented by Octav Chpara Real-tme Systems Many wreless sensor network applcatons requre real-tme support Survellance and trackng Border patrol Fre fghtng Real-tme systems: Hard real-tme:

More information

Computer Networks. Wenzhong Li. Nanjing University

Computer Networks. Wenzhong Li. Nanjing University Computer Networks Wenzhong Li Nanjing University 1 Chapter 5. End-to-End Protocols Transport Services and Mechanisms User Datagram Protocol (UDP) Transmission Control Protocol (TCP) TCP Congestion Control

More information

Chapter 7 Multimedia Networking

Chapter 7 Multimedia Networking Chapter 7 Multimedia Networking A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see the animations;

More information

Internet Traffic Managers

Internet Traffic Managers Internet Traffc Managers Ibrahm Matta matta@cs.bu.edu www.cs.bu.edu/faculty/matta Computer Scence Department Boston Unversty Boston, MA 225 Jont work wth members of the WING group: Azer Bestavros, John

More information

Service/company landscape include 1-1

Service/company landscape include 1-1 Service/company landscape include 1-1 Applications (3) File transfer Remote login (telnet, rlogin, ssh) World Wide Web (WWW) Instant Messaging (Internet chat, text messaging on cellular phones) Peer-to-Peer

More information

Real-Time Protocol (RTP)

Real-Time Protocol (RTP) Real-Time Protocol (RTP) Provides standard packet format for real-time application Typically runs over UDP Specifies header fields below Payload Type: 7 bits, providing 128 possible different types of

More information

Multimedia Networking

Multimedia Networking 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-09/

More information

ITTC Communication Networks The University of Kansas EECS 780 Multimedia and Session Control

ITTC Communication Networks The University of Kansas EECS 780 Multimedia and Session Control Communication Networks The University of Kansas EECS 780 Multimedia and Session Control James P.G. Sterbenz Department of Electrical Engineering & Computer Science Information Technology & Telecommunications

More information

CS640: Introduction to Computer Networks. Application Classes. Application Classes (more) 11/20/2007

CS640: Introduction to Computer Networks. Application Classes. Application Classes (more) 11/20/2007 CS640: Introduction to Computer Networks Aditya Akella Lecture 21 - Multimedia Networking Application Classes Typically sensitive to delay, but can tolerate packet loss (would cause minor glitches that

More information

Multimedia Networking

Multimedia Networking Multimedia Networking #2 Multimedia Networking Semester Ganjil 2012 PTIIK Universitas Brawijaya #2 Multimedia Applications 1 Schedule of Class Meeting 1. Introduction 2. Applications of MN 3. Requirements

More information

Solutions for Real-Time Communication over Best-Effort Networks

Solutions for Real-Time Communication over Best-Effort Networks Solutons for Real-Tme Communcaton over Best-Effort Networks Anca Hangan, Ramona Marfevc, Gheorghe Sebestyen Techncal Unversty of Cluj-Napoca, Computer Scence Department {Anca.Hangan, Ramona.Marfevc, Gheorghe.Sebestyen}@cs.utcluj.ro

More information

Streaming (Multi)media

Streaming (Multi)media Streaming (Multi)media Overview POTS, IN SIP, H.323 Circuit Switched Networks Packet Switched Networks 1 POTS, IN SIP, H.323 Circuit Switched Networks Packet Switched Networks Circuit Switching Connection-oriented

More information

kccvoip.com basic voip training NAT/PAT extract 2008

kccvoip.com basic voip training NAT/PAT extract 2008 kccvop.com basc vop tranng NAT/PAT extract 28 As we have seen n the prevous sldes, SIP and H2 both use addressng nsde ther packets to rely nformaton. Thnk of an envelope where we place the addresses of

More information

Multimedia Networking

Multimedia Networking CMPT765/408 08-1 Multimedia Networking 1 Overview Multimedia Networking The note is mainly based on Chapter 7, Computer Networking, A Top-Down Approach Featuring the Internet (4th edition), by J.F. Kurose

More information

Chapter 7 + ATM/VC networks (3, 4, 5): Multimedia networking, QoS, Congestion control Course on Computer Communication and Networks, CTH/GU

Chapter 7 + ATM/VC networks (3, 4, 5): Multimedia networking, QoS, Congestion control Course on Computer Communication and Networks, CTH/GU Chapter 7 + ATM/VC networks (3, 4, 5): Multimedia networking, QoS, Congestion control Course on Computer Communication and Networks, CTH/GU The slides are adaptation of the slides made available by the

More information

Multimedia Networking. Protocols for Real-Time Interactive Applications

Multimedia Networking. Protocols for Real-Time Interactive Applications Multimedia Networking Protocols for Real-Time Interactive Applications Real Time Protocol Real Time Control Protocol Session Initiation Protocol H.323 Real-Time Protocol (RTP) RTP is companion protocol

More information

Quantifying Performance Models

Quantifying Performance Models Quantfyng Performance Models Prof. Danel A. Menascé Department of Computer Scence George Mason Unversty www.cs.gmu.edu/faculty/menasce.html 1 Copyrght Notce Most of the fgures n ths set of sldes come from

More information

Advanced Computer Networks

Advanced Computer Networks Char of Network Archtectures and Servces Department of Informatcs Techncal Unversty of Munch Note: Durng the attendance check a stcker contanng a unque QR code wll be put on ths exam. Ths QR code contans

More information

Transit Networking in ATM/B-ISDN based on Service Category

Transit Networking in ATM/B-ISDN based on Service Category Transt Networkng n ATM/B-ISDN based on Servce Category Young-Tak Km Dept. of Informaton and Communcaton Engneerng, College of Engneerng, YeungNam Unv. E-mal : ytkm@ynucc.yeungnam.ac.kr ABSTRACT The ATM

More information

Virtual Memory. Background. No. 10. Virtual Memory: concept. Logical Memory Space (review) Demand Paging(1) Virtual Memory

Virtual Memory. Background. No. 10. Virtual Memory: concept. Logical Memory Space (review) Demand Paging(1) Virtual Memory Background EECS. Operatng System Fundamentals No. Vrtual Memory Prof. Hu Jang Department of Electrcal Engneerng and Computer Scence, York Unversty Memory-management methods normally requres the entre process

More information

Load-Balanced Anycast Routing

Load-Balanced Anycast Routing Load-Balanced Anycast Routng Chng-Yu Ln, Jung-Hua Lo, and Sy-Yen Kuo Department of Electrcal Engneerng atonal Tawan Unversty, Tape, Tawan sykuo@cc.ee.ntu.edu.tw Abstract For fault-tolerance and load-balance

More information

State of the Art in Differentiated

State of the Art in Differentiated Outlne Dfferentated Servces on the Internet Explct Allocaton of Best Effort Packet Delvery Servce, D. Clark and W. Fang A Two bt Dfferentated Servces Archtecture for the Internet, K. Nchols, V. Jacobson,

More information

Mohammad Hossein Manshaei 1393

Mohammad Hossein Manshaei 1393 Mohammad Hossein Manshaei manshaei@gmail.com 1393 Voice and Video over IP Slides derived from those available on the Web site of the book Computer Networking, by Kurose and Ross, PEARSON 2 multimedia applications:

More information

ELEC 377 Operating Systems. Week 6 Class 3

ELEC 377 Operating Systems. Week 6 Class 3 ELEC 377 Operatng Systems Week 6 Class 3 Last Class Memory Management Memory Pagng Pagng Structure ELEC 377 Operatng Systems Today Pagng Szes Vrtual Memory Concept Demand Pagng ELEC 377 Operatng Systems

More information

Why Congestion Control. Congestion Control and Active Queue Management. TCP Congestion Control Behavior. Generic TCP CC Behavior: Additive Increase

Why Congestion Control. Congestion Control and Active Queue Management. TCP Congestion Control Behavior. Generic TCP CC Behavior: Additive Increase Congeston Control and Actve Queue Management Congeston Control, Effcency and Farness Analyss of TCP Congeston Control A smple TCP throughput formula RED and Actve Queue Management How RED works Flud model

More information

Content distribution networks

Content distribution networks Content distribution networks v challenge: how to stream content (selected from millions of videos) to hundreds of thousands of simultaneous users? v option 2: store/serve multiple copies of videos at

More information

Gateway Algorithm for Fair Bandwidth Sharing

Gateway Algorithm for Fair Bandwidth Sharing Algorm for Far Bandwd Sharng We Y, Rupnder Makkar, Ioanns Lambadars Department of System and Computer Engneerng Carleton Unversty 5 Colonel By Dr., Ottawa, ON KS 5B6, Canada {wy, rup, oanns}@sce.carleton.ca

More information

Video streaming over the Internet is becoming very popular and

Video streaming over the Internet is becoming very popular and Streamng MPEG-4 AudoVsual Objects Usng TCP-Frendly Rate Control and Unequal Error Protecton Toufk Ahmed 1, Ahmed Mehaoua 1 and Vncent Lecure 2 1 2 CNRS-PRSM LabUnversty of Versalles CRAN lab CNRS UMR 739

More information

Sample Solution. Advanced Computer Networks P 1 P 2 P 3 P 4 P 5. Module: IN2097 Date: Examiner: Prof. Dr.-Ing. Georg Carle Exam: Final exam

Sample Solution. Advanced Computer Networks P 1 P 2 P 3 P 4 P 5. Module: IN2097 Date: Examiner: Prof. Dr.-Ing. Georg Carle Exam: Final exam Char of Network Archtectures and Servces Department of Informatcs Techncal Unversty of Munch Note: Durng the attendance check a stcker contanng a unque QR code wll be put on ths exam. Ths QR code contans

More information

Latency and Loss Requirements! Receiver-side Buffering! Dealing with Loss! Loss Recovery!

Latency and Loss Requirements! Receiver-side Buffering! Dealing with Loss! Loss Recovery! Cumulative data! Latency and Loss Requirements! Fundamental characteristics of multimedia applications:! Typically delay sensitive!! live audio < 150 msec end-to-end delay is not perceptible!! 150-400

More information

Bandwidth Allocation for Service Level Agreement Aware Ethernet Passive Optical Networks

Bandwidth Allocation for Service Level Agreement Aware Ethernet Passive Optical Networks Bandwdth Allocaton for Servce Level Agreement Aware Ethernet Passve Optcal Networks Dawd Nowak Performance Engneerng Laboratory School of Electronc Engneerng Dubln Cty Unversty Emal: nowakd@eengdcue Phlp

More information

Topic 4b: QoS Principles. Chapter 9 Multimedia Networking. Computer Networking: A Top Down Approach

Topic 4b: QoS Principles. Chapter 9 Multimedia Networking. Computer Networking: A Top Down Approach Topic 4b: QoS Principles Chapter 9 Computer Networking: A Top Down Approach 7 th edition Jim Kurose, Keith Ross Pearson/Addison Wesley April 2016 9-1 Providing multiple classes of service thus far: making

More information

Multimedia in the Internet

Multimedia in the Internet Protocols for multimedia in the Internet Andrea Bianco Telecommunication Network Group firstname.lastname@polito.it http://www.telematica.polito.it/ > 4 4 3 < 2 Applications and protocol stack DNS Telnet

More information

Network-Driven Layered Multicast with IPv6

Network-Driven Layered Multicast with IPv6 Network-Drven Layered Multcast wth IPv6 Ho-pong Sze and Soung C. Lew Department of Informaton Engneerng, The Chnese Unversty of Hong Kong, Shatn, N.T., Hong Kong {hpsze8, soung}@e.cuhk.edu.hk Abstract.

More information

A New Token Allocation Algorithm for TCP Traffic in Diffserv Network

A New Token Allocation Algorithm for TCP Traffic in Diffserv Network A New Token Allocaton Algorthm for TCP Traffc n Dffserv Network A New Token Allocaton Algorthm for TCP Traffc n Dffserv Network S. Sudha and N. Ammasagounden Natonal Insttute of Technology, Truchrappall,

More information

Chapter 7 + ATM/VC networks (3, 4, 5): control Course on Computer Communication and Networks, CTH/GU

Chapter 7 + ATM/VC networks (3, 4, 5): control Course on Computer Communication and Networks, CTH/GU Chapter 7 + ATM/VC networks (3, 4, 5): Multimedia networking, QoS, Congestion control Course on Computer Communication and Networks, CTH/GU The slides are adaptation of the slides made available by the

More information

Fast Retransmission of Real-Time Traffic in HIPERLAN/2 Systems

Fast Retransmission of Real-Time Traffic in HIPERLAN/2 Systems Fast Retransmsson of Real-Tme Traffc n HIPERLAN/ Systems José A Afonso and Joaqum E Neves Department of Industral Electroncs Unversty of Mnho, Campus de Azurém 4800-058 Gumarães, Portugal {joseafonso,

More information

Week 7: Traffic Models and QoS

Week 7: Traffic Models and QoS Week 7: Traffic Models and QoS Acknowledgement: Some slides are adapted from Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition, J.F Kurose and K.W. Ross All Rights Reserved,

More information

SLAM Summer School 2006 Practical 2: SLAM using Monocular Vision

SLAM Summer School 2006 Practical 2: SLAM using Monocular Vision SLAM Summer School 2006 Practcal 2: SLAM usng Monocular Vson Javer Cvera, Unversty of Zaragoza Andrew J. Davson, Imperal College London J.M.M Montel, Unversty of Zaragoza. josemar@unzar.es, jcvera@unzar.es,

More information

Pricing Network Resources for Adaptive Applications in a Differentiated Services Network

Pricing Network Resources for Adaptive Applications in a Differentiated Services Network IEEE INFOCOM Prcng Network Resources for Adaptve Applcatons n a Dfferentated Servces Network Xn Wang and Hennng Schulzrnne Columba Unversty Emal: {xnwang, schulzrnne}@cs.columba.edu Abstract The Dfferentated

More information

Multimedia Applications: Streaming. Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011

Multimedia Applications: Streaming. Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011 Multimedia Applications: Streaming Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011 Outline What is Streaming Technology? Issues in Video Streaming over the Internet Bandwidth

More information

Chapter 7: Multimedia Networking

Chapter 7: Multimedia Networking Chapter 7: Multimedia Networking Multimedia and Quality of Service: What is it multimedia : network audio and video ( continuous media ) A note on the use of these ppt slides: We re making these slides

More information

Internet Services & Protocols. Quality of Service Architecture

Internet Services & Protocols. Quality of Service Architecture Department of Computer Science Institute for System Architecture, Chair for Computer Networks Internet Services & Protocols Quality of Service Architecture Dr.-Ing. Stephan Groß Room: INF 3099 E-Mail:

More information

High Performance DiffServ Mechanism for Routers and Switches: Packet Arrival Rate Based Queue Management for Class Based Scheduling

High Performance DiffServ Mechanism for Routers and Switches: Packet Arrival Rate Based Queue Management for Class Based Scheduling Hgh Performance DffServ Mechansm for Routers and Swtches: Packet Arrval Rate Based Queue Management for Class Based Schedulng Bartek Wydrowsk and Moshe Zukerman ARC Specal Research Centre for Ultra-Broadband

More information

VRT012 User s guide V0.1. Address: Žirmūnų g. 27, Vilnius LT-09105, Phone: (370-5) , Fax: (370-5) ,

VRT012 User s guide V0.1. Address: Žirmūnų g. 27, Vilnius LT-09105, Phone: (370-5) , Fax: (370-5) , VRT012 User s gude V0.1 Thank you for purchasng our product. We hope ths user-frendly devce wll be helpful n realsng your deas and brngng comfort to your lfe. Please take few mnutes to read ths manual

More information

Wightman. Mobility. Quick Reference Guide THIS SPACE INTENTIONALLY LEFT BLANK

Wightman. Mobility. Quick Reference Guide THIS SPACE INTENTIONALLY LEFT BLANK Wghtman Moblty Quck Reference Gude THIS SPACE INTENTIONALLY LEFT BLANK WIGHTMAN MOBILITY BASICS How to Set Up Your Vocemal 1. On your phone s dal screen, press and hold 1 to access your vocemal. If your

More information

Telematics 2 & Performance Evaluation

Telematics 2 & Performance Evaluation Telematics 2 & Performance Evaluation Chapter 1 Multimedia 1 Multimedia, Quality of Service: What is it? Multimedia applications: network audio and video ( continuous media ) QoS Network provides application

More information

A mathematical programming approach to the analysis, design and scheduling of offshore oilfields

A mathematical programming approach to the analysis, design and scheduling of offshore oilfields 17 th European Symposum on Computer Aded Process Engneerng ESCAPE17 V. Plesu and P.S. Agach (Edtors) 2007 Elsever B.V. All rghts reserved. 1 A mathematcal programmng approach to the analyss, desgn and

More information

Master Kurs Rechnernetze Computer Networks IN2097

Master Kurs Rechnernetze Computer Networks IN2097 Chair for Network Architectures and Services Institute for Informatics TU München Prof. Carle, Dr. Fuhrmann Master Kurs Rechnernetze Computer Networks IN2097 Prof. Dr.-Ing. Georg Carle Dr. Thomas Fuhrmann

More information

SRB: Shared Running Buffers in Proxy to Exploit Memory Locality of Multiple Streaming Media Sessions

SRB: Shared Running Buffers in Proxy to Exploit Memory Locality of Multiple Streaming Media Sessions SRB: Shared Runnng Buffers n Proxy to Explot Memory Localty of Multple Streamng Meda Sessons Songqng Chen,BoShen, Yong Yan, Sujoy Basu, and Xaodong Zhang Department of Computer Scence Moble and Meda System

More information

Mul$media Networking. #10 QoS Semester Ganjil 2012 PTIIK Universitas Brawijaya

Mul$media Networking. #10 QoS Semester Ganjil 2012 PTIIK Universitas Brawijaya Mul$media Networking #10 QoS Semester Ganjil 2012 PTIIK Universitas Brawijaya Schedule of Class Mee$ng 1. Introduc$on 2. Applica$ons of MN 3. Requirements of MN 4. Coding and Compression 5. RTP 6. IP Mul$cast

More information

A Binarization Algorithm specialized on Document Images and Photos

A Binarization Algorithm specialized on Document Images and Photos A Bnarzaton Algorthm specalzed on Document mages and Photos Ergna Kavalleratou Dept. of nformaton and Communcaton Systems Engneerng Unversty of the Aegean kavalleratou@aegean.gr Abstract n ths paper, a

More information

Chapter 5 Link Layer. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012

Chapter 5 Link Layer. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Chapter 5 Link Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Slides adopted from original ones provided by the textbook authors. Link layer,

More information

Multimedia Networking. Network Support for Multimedia Applications

Multimedia Networking. Network Support for Multimedia Applications Multimedia Networking Network Support for Multimedia Applications Protocols for Real Time Interactive Applications Differentiated Services (DiffServ) Per Connection Quality of Services Guarantees (IntServ)

More information

Wishing you all a Total Quality New Year!

Wishing you all a Total Quality New Year! Total Qualty Management and Sx Sgma Post Graduate Program 214-15 Sesson 4 Vnay Kumar Kalakband Assstant Professor Operatons & Systems Area 1 Wshng you all a Total Qualty New Year! Hope you acheve Sx sgma

More information

Channel 0. Channel 1 Channel 2. Channel 3 Channel 4. Channel 5 Channel 6 Channel 7

Channel 0. Channel 1 Channel 2. Channel 3 Channel 4. Channel 5 Channel 6 Channel 7 Optmzed Regonal Cachng for On-Demand Data Delvery Derek L. Eager Mchael C. Ferrs Mary K. Vernon Unversty of Saskatchewan Unversty of Wsconsn Madson Saskatoon, SK Canada S7N 5A9 Madson, WI 5376 eager@cs.usask.ca

More information

IP Camera Configuration Software Instruction Manual

IP Camera Configuration Software Instruction Manual IP Camera 9483 - Confguraton Software Instructon Manual VBD 612-4 (10.14) Dear Customer, Wth your purchase of ths IP Camera, you have chosen a qualty product manufactured by RADEMACHER. Thank you for the

More information

Design of the Application-Level Protocol for Synchronized Multimedia Sessions

Design of the Application-Level Protocol for Synchronized Multimedia Sessions Desgn of the Applcaton-Level Protocol for Synchronzed Multmeda Sessons Chun-Chuan Yang Multmeda and Communcatons Laboratory Department of Computer Scence and Informaton Engneerng Natonal Ch Nan Unversty,

More information