hannam university http://netwk.hannam.ac.kr 1 chapter 28 real-time traffic over the internet

29
1 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr Chapter 28 Real-Time Traffic over the Internet

Upload: nicholas-baldwin

Post on 13-Jan-2016

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

1HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

Chapter 28

Real-TimeTrafficover theInternet

Page 2: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

2HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

CONTENTS

• CHARACTERISTICS• RTP• RTCP

Page 3: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

3HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

인터넷상의 실시간 트래픽인터넷상의 실시간 트래픽

실시간 멀티미디어 트래픽

Page 4: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

4HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

인터넷상의 실시간 트래픽인터넷상의 실시간 트래픽

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: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

5HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

인터넷상의 실시간 트래픽인터넷상의 실시간 트래픽

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: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

6HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

인터넷상의 실시간 트래픽인터넷상의 실시간 트래픽

비실시간 멀티미디어 트래픽

Page 7: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

7HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

인터넷상의 실시간 트래픽인터넷상의 실시간 트래픽

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: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

8HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

인터넷상의 실시간 트래픽인터넷상의 실시간 트래픽

실시간 멀티미디어 트래픽

Page 9: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

9HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

CHARACTERISTICSCHARACTERISTICS

28.128.1

Page 10: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

10HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

28.1 28.1 특징특징

시간적인 관계

Page 11: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

11HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

28.1 28.1 특징특징

지터 (jitter)서로 다른 지연시간으로 도착되어 새기는

시간적인 gap

Page 12: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

12HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

28.1 28.1 특징특징

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: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

13HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

28.1 28.1 특징특징

타임스탬프 (timestamp)지터 해결방법으로 재생시간을 나타내는 시간정보

이용

Page 14: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

14HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

28.1 28.1 특징특징

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: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

15HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

28.1 28.1 특징특징

재생 버퍼도착시간과 재생시간을 분리하기 위해 재생될

때까지 수신 데이터 저장

Page 16: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

16HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

28.1 28.1 특징특징

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

Page 17: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

17HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

28.1 28.1 특징특징

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: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

18HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

28.1 28.1 특징특징

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

Page 19: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

19HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

28.1 28.1 특징특징

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: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

20HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

28.1 28.1 특징특징

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

into one stream. into one stream.

Page 21: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

21HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

28.1 28.1 특징특징

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: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

22HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

28.1 28.1 특징특징

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: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

23HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

RTPRTP

28.228.2

Page 24: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

24HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

28.2 RTP28.2 RTP

Page 25: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

25HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

28.2 RTP28.2 RTP

RTP 패킷 헤더 형식

Page 26: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

26HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

28.2 RTP28.2 RTP

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

UDP port. UDP port.

Page 27: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

27HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

RTCPRTCP

28.328.3

Page 28: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

28HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

28.3 RTCP28.3 RTCP

RTCP 메시지 유형

Page 29: HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 28 Real-Time Traffic over the Internet

29HANNAM UNIVERSITYHttp://netwk.hannam.ac.kr

28.3 RTCP28.3 RTCP

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.