Professional Documents
Culture Documents
Multimedia
Networking
A note on the use of these ppt slides:
Were making these slides freely available to all (faculty, students, readers).
Theyre in PowerPoint form so you see the animations; and can add, modify,
and delete slides (including this one) and slide content to suit your needs.
They obviously represent a lot of work on our part. In return for use, we only
ask the following:
If you use these slides (e.g., in a class) that you mention their source
(after all, wed like people to use our book!)
If you post any slides on a www site, that you note that they are adapted
from (or perhaps identical to) our slides, and note our copyright of this
material.
Thanks and enjoy! JFK/KWR
All material copyright 1996-2012
J.F Kurose and K.W. Ross, All Rights Reserved
Computer
Networking: A
Top Down
Approach
6th edition
Jim Kurose, Keith
Ross
Addison-Wesley
March 2012
Multmedia Networking
7-1
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
Multmedia Networking
7-2
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
Multmedia Networking
7-3
Multimedia:
audio
quantization
error
audio signal amplitude
quantized
value of
analog value
analog
signal
time
sampling rate
(N sample/sec)
Multmedia Networking
7-4
Multimedia:
audio
example: 8,000
samples/sec, 256
quantized values:
64,000 bps
receiver converts bits
back to analog signal:
some quality
reduction
quantization
error
audio signal amplitude
quantized
value of
analog value
analog
signal
time
sampling rate
(N sample/sec)
Multmedia Networking
7-5
Multimedia:
video
video: sequence of
images displayed at
constant rate
e.g. 24 images/sec
digital image: array of
pixels
each pixel represented
by bits
coding: use redundancy
within and between
images to decrease #
bits used to encode
image
spatial (within image)
temporal (from one
image to next)
...
...
frame i
frame i+1
Multmedia Networking
7-6
Multimedia:
video
CBR: (constant bit rate):
...
...
frame i
frame i+1
Multmedia Networking
7-7
7-8
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
Multmedia Networking
7-9
Cumulative data
1. video
recorded
(e.g., 30
frames/sec
)
2. video
sent
network delay
(fixed in this
example)
3. video received,
played out at client
(30 frames/sec) time
variable
network
delay
client playout
delay
constant bit
rate video
playout at client
buffered
video
Cumulative data
constant bit
rate video
transmission
time
Client-side buffering,
playout
playout rate,
r
variable fill
rate, x(t)
video server
client application
buffer, size B
client
Client-side buffering,
playout
playout rate,
r
variable fill
rate, x(t)
video server
client application
buffer, size B
client
Client-side buffering,
playout
playout rate,
r
variable fill
rate, x(t)
video server
client application
buffer, size B
7-15
Streaming multimedia:
HTTP
send at maximum possible rate under TCP
variable
rate, x(t)
video
file
TCP send
buffer
TCP receive
buffer
application
playout buffer
Content distribution
networks
Content distribution
networks
netcinemas
authorative DNS
KingCDN.com
KingCDN
authoritative DNS
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
Voice-over-IP (VoIP)
VoIP characteristics
Delay jitter
variable
network
delay
(jitter)
client
reception
constant bit
rate playout
at client
buffered
data
Cumulative data
constant bit
rate
transmission
time
client playout
delay
lo s s
p a c k e ts
g e n e ra te d
p a c k e ts
r e c e iv e d
p la y o u t s c h e d u le
p' - r
p la y o u t s c h e d u le
p - r
tim e
r
p
p'
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 for multimedia
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
challenges:
network dimensioning: how much bandwidth is
enough?
estimating network traffic demand: needed to
determine how much bandwidth is enough
(for that much traffic)
Multmedia Networking 7-34
H2
R1
R1 output
interface
queue
H3
R2
H4
Principle 1
packet marking needed for router to distinguish
between different classes; and new router policy to
treat packets accordingly
Multmedia Networking 7-37
R1
R2
1.5 Mbps link
Principle 2
R1
R2
1.5 Mbps link
Principle 3
while providing isolation, it is desirable to u
resources as efficiently as possible
Multmedia Networking 7-39
packet
arrivals
queue
link
(waiting area) (server)
packet
departures
Scheduling policies:
priority
priority scheduling:
send highest
priority queued
packet
multiple classes,
with different
priorities
arrivals
departures
classify
low priority queue
(waiting area)
link
(server)
2
5
1 3
arrivals
packet
in
service
departures
2
5
1 3
arrivals
packet
in
service
departures
Policing mechanisms
goal: limit traffic to not exceed declared parameters
Three common-used criteria:
(long term) average rate: how many pkts can be sent per unit
time (in the long run)
crucial question: what is the interval length: 100 packets per sec or 6000
packets per min have same average!
peak rate: e.g., 6000 pkts per min (ppm) avg.; 1500 ppm peak
rate
(max.) burst size: max number of pkts sent consecutively (with
no intervening idle)
Policing mechanisms:
implementation
token bucket: limit input to specified burst
size and average rate
arriving
traffic
token rate, r
bucket size, b
per-flow
rate, R
WFQ
arriving
traffic
Multmedia Networking 7-46
Differentiated services
Per-connection QOS
guarantees
1 Mbps
phone
R1
R2
1.5 Mbps link
Principle 4
call admission: flow declares its needs, networ
block call (e.g., busy signal) if it cannot meet n
Multmedia Networking 7-48
resource reservation
call setup, signaling (RSVP)
traffic, QoS declaration
per-element admission control
request/
reply
QoS-sensitive scheduling
(e.g., WFQ)