mcgraw-hill©the mcgraw-hill companies, inc., 2000 chapter 28 real-time traffic over the internet

29
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

Upload: kelli-blanchard

Post on 16-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Chapter 28

Real-TimeTrafficover theInternet

Page 2: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

CONTENTS

• CHARACTERISTICS• RTP• RTCP

Page 3: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 28-1

Real-time multimedia traffic

Page 4: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

In real-time traffic, if we ignore In real-time traffic, if we ignore propagation delay, propagation delay,

the production, transmission, the production, transmission, and use of data takes and use of data takes

place at the same time. place at the same time.

Page 5: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Example 1Example 1

An example of non-real-time multimedia traffic is the downloading of a video from the Internet. The video has already been made; it’s a finished product. A client HTTP is used to download the video from an HTTP server and the user views the video at a later time. The production, transmission, and use all happen at different times. Figure 28.2 shows this situation

Page 6: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 28-2

Non-real time multimedia traffic

Page 7: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Example 2Example 2

Now let us consider an example of real-time multimedia traffic. Consider a video conference in which a camera is connected to a server that transmits video information as it is produced. Everything that happens at the server site can be displayed on the computer at the client site. This is both multimedia (video) and real-time traffic (production and use at the same time). Figure 28.3 shows the situation.

Page 8: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 28-3

Real-time multimedia traffic

Page 9: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

CHARACTERISTICSCHARACTERISTICS

28.128.1

Page 10: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 28-4

Time relationship

Page 11: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 28-5

Jitter

Page 12: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Jitter is introduced in real-time Jitter is introduced in real-time data by the data by the

delay between packets. delay between packets.

Page 13: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 28-6

Timestamp

Page 14: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

To prevent jitter, To prevent jitter, we can timestamp the we can timestamp the packets and separate packets and separate

the arrival time the arrival time from the playback time. from the playback time.

Page 15: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 28-7

Playback buffer

Page 16: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

A playback buffer is A playback buffer is required for real-time traffic.required for real-time traffic.

Page 17: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

A sequence number on A sequence number on each packet is each packet is

required for real-time traffic.required for real-time traffic.

Page 18: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Real-time traffic needs Real-time traffic needs the support of multicasting.the support of multicasting.

Page 19: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Translation means changing the Translation means changing the encoding of a payload to a lower encoding of a payload to a lower quality to match the bandwidth quality to match the bandwidth

of the receiving network. of the receiving network.

Page 20: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Mixing means combining Mixing means combining several streams of traffic several streams of traffic

into one stream. into one stream.

Page 21: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

TCP, with all its sophistication, TCP, with all its sophistication, is not suitable is not suitable

for real-time multimedia for real-time multimedia traffic because traffic because

we cannot allow we cannot allow retransmission of packets. retransmission of packets.

Page 22: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

UDP is more suitable than UDP is more suitable than TCP for real-time traffic. TCP for real-time traffic.

However, we need the services of However, we need the services of RTP, another transport layer RTP, another transport layer

protocol to make up the protocol to make up the deficiencies of UDP.deficiencies of UDP.

Page 23: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

RTPRTP

28.228.2

Page 24: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 28-8RTP

Page 25: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 28-9

RTP packet header format

Page 26: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

RTP uses RTP uses a temporary even-numbered a temporary even-numbered

UDP port. UDP port.

Page 27: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

RTCPRTCP

28.328.3

Page 28: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 28-10

RTCP message types

Page 29: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

RTCP uses an odd-numbered UDP RTCP uses an odd-numbered UDP port number that follows port number that follows the port number selected the port number selected

for RTP.for RTP.