Multimedia
Multimedia
Slides are adapted from the companion web site of the book, as
modified by Anirban Mahanti (and Carey Williamson).
Principles
❒ Classify multimedia applications
❒ Identify the network services the apps need
❒ Making the best of best effort service
❒ Mechanisms for providing QoS
❒ Multimedia is everywhere
2. video
sent
1. video 3. video received,
recorded network played out at client
delay
time
streaming: at this time, client
playing out early part of video,
while server still sending later
part of video
Examples:
❒ Internet radio talk show
❒ Live sporting event
Streaming
❒ playback buffer
❒ playback can lag tens of seconds after
transmission
❒ still have timing constraint
Interactivity
❒ fast forward impossible
❒ rewind, pause possible!
❒ applications: IP telephony,
video conference, distributed
interactive worlds
❒ end-end delay requirements:
❍ audio: < 150 msec good, < 400 msec OK
• includes application-layer (packetization) and network delays
• higher delays noticeable, impair interactivity
❒ session initialization
❍ how does callee advertise its IP address, port number, encoding
algorithms?
? ? ?
? ? ?
But you said multimedia apps requires ?
QoS and level of performance to be
? ? effective! ? ?
duplicate
duplicate
R1 creation/transmission R1
duplicate
R2 R2
R3 R4 R3 R4
(a) (b)
constant bit
rate video client video constant bit
Cumulative data
buffered
video
delay
constant
variable fill drain
rate, x(t) rate, d
buffered
video
❒ short playout delay (2-5 seconds) to compensate for network delay jitter
❒ error recover: time permitting
TCP
❒ send at maximum possible rate under TCP
❒ fill rate fluctuates due to TCP congestion control
❒ larger playout delay: smooth TCP delivery rate
❒ HTTP/TCP passes more easily through firewalls
R1 R2
1500 Kbps
10 Mbps
Talk to Sean Boyden if you want to know more CPSC 441: Multimedia Networking 23
Fairness of RealVideo Streams (2/2)
Scenario:
❒ metafile communicated to web browser
❒ browser launches player
❒ player sets up an RTSP control connection, data
connection to streaming server
S: RTSP/1.0 200 1 OK
Session 4231
S: 200 3 OK
CPSC 441: Multimedia Networking 30
Outline
❒ Multimedia Networking Applications
❒ Streaming stored audio and video
❍ Streaming Architectures
❍ Real Time Streaming Protocol
❍ Packet Loss Recovery
❒ Streaming stored audio and video
• “piggyback lower
quality stream”
• Example: send lower
resolution audio stream as
the redundant
information
•
Interleaving
❒ Re-sequence packets before transmission
❒ Better handling of “burst” losses
❒ Results in increased playout delay
Channel 1
Channel 2
Channel 3
Channel 1 1 1 1 1 1 1
Channel 2 2 2 2
A B
❒ Limitations of Skyscraper:
❍ Ad hoc segment size progress
❍ Does not work for low client data rates
CDN server
CDN server
in S. America CDN server
in Asia
in Europe
1 Origin server
routing requests
❒ CDN creates a “map”, indicating distances from
leaf ISPs and CDN nodes
❒ when query arrives at authoritative DNS server:
❍ server determines ISP from which query originates
❍ uses “map” to determine best CDN server
❒ CDN nodes create application-layer overlay
network
request/
reply
❍ QoS-sensitive
scheduling (e.g., WFQ)
bucket size, b
per-flow
rate, R
WFQ
D = b/R
max
Edge router:
per-flow traffic management r marking
scheduling
Set the DS field; value
determines type of service b ..
.
Core router:
buffering and scheduling based
on marking at edge
per-class traffic management
connectionless no network
(stateless) best effort signaling protocols
forwarding by IP + service = in initial IP
routers design