Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
the Internet
Composer: Li Shengchen
Table of Contents
ABSTRACT.................................................................................... .........................1
PREFACE............................................................................................. ..................2
SECTION A. STREAMING MULTIMEDIA..........................................................................2
SECTION B. PROTOCOLS........................................................................................3
RTP PROTOCOL....................................................................................... ............3
RTCP PROTOCOL..................................................................................... ............3
RTSP PROTOCOL..................................................................................... ............4
APPLICATIONS............................................................................. .........................4
Abstract
Preface
Today, people can’t leave the Internet for a moment. People can do almost
everything on the Internet: chatting with friends, sharing video slips, and even
watching Television program. However, have you thought about that, why can we
enjoy the multimedia on the Internet and how can the Internet tackle the
multimedia? Based on the simple understanding of the Internet protocol and
reference technology about that, we will have a quick look at the one of the most
popular technology: Streaming multimedia.
B ROADCAST
M ULTICAST U NICAST
In the normal life, the electromagnetic wave can find the way by
itself to the destination. However, in the network, the signal can’t find the way by
itself. They need the router to indicate a route. This involves router schemes. The
most common scheme used in streaming multimedia is multicast, which means
that several destinations can receive the same data from one resource. The
scheme board cast (all the hosts in a network will receive the same signal) is
rarely used and the scheme unicast (one source and one destination) is applied
sometimes.
When we pursue a quicker rate of streaming multimedia, we can improve the
quality of service in two ways: one is using advanced protocol to get higher
transporting rate another way is compression the size of data presenting the
same amount of message. This essay will introduce some common used
transportation protocols and wildly used compression formats of stream
multimedia.
In Section B, we are going to introduce several protocols about streaming
multimedia, they are originally designed for multicast scheme, but they will work
fine in unicast scheme.
In Section C, we are going to introduce several compression formats of
streaming multimedia.
Section B.Protocols
RTP Protocol
4- 9
Bits 0-1 2 3 8 16-31
7 -15
V Sequence
0 P X CC M PT
er. Number
32 Timestamp
64 SSRC identifier
96+(CC×32)
+
Data
(X×((EHL+1)×32)
)
The RTP package has a minimize length of 8 bytes (64 bits), which contains the
following parts:
a) Sequence Number: Used for detecting the loss of packages by receivers.
b) Time Stamp: Used for timing. If the package can’t arrive in time, the
package would be discarded.
c) SSRC: The uniformly identifier of destination.
d) CSRC: The uniformly identifier of distribution.
e) The part Ver, P, X, CC, M, and PT are control messages of RTP header.
RTCP Protocol
RTCP is known as the twins of RTP Protocol. As we mentioned before, the RTP
Protocol doesn’t provide the control of flow and congestion. But we can easily see
that for a piece of video, we can’t wait for a long period of time or see some
frame in wrong order or see some frame a second time. That is bound to cause
some confusion. Thus, the RTCP is coming to tackle this problem. Then, we know
that the RTCP just as TCP have functions of flow control and congestion control.
This guarantees that the radio we have received from the Internet is just the
same as the original one.
Like FTP, Port 21 for control message and Port 20 for transporting. The RTCP
uses a dynamic port as well, which is odd port higher than the one RTP used. The
RTCP however, unlike the RTP, which can only carry one sort of message from the
source to the destination, carries several kinds of messages including following:
a) Send report: To report the state of RTP transportation. It also includes an
absolute time stamp in order to indicate the send time exactly. The
absolute time stamp takes the mid night of January 1st 1900 as the starting
point and count the time with second.
b) Receiver report: This is used to inform all the clients on the network with the
quality of the service.
d) Bye message: As its name suggests, it is used to cut off a stream and announced
that this resource has left the network.
RTSP Protocol
Applications