Professional Documents
Culture Documents
Fig: 1 RTMP protocol is used between Flash Media server and Flash
RTMP (default) - This plain protocol work on the
client for streaming media top of TCP.The Adobe Flash Player uses the
RTMP protocol over port 80.
The RTMP is like a translator making sure server and
RTMP (Tunnel) - It encapsulates the RTMP data
clients understand each other and work together. RTMP
as valid HTTP, and by default communicates is
servers communicate with RTMP clients such as the
done on port 80. While RTMPT requires higher
Flash player, giving complete support for streaming
bandwidths due to the addition of HTTP
media over the Internet. It works on a variety of levels.
headers, the protocol can be used in
It’s the backbone of Flash-based streaming video and
environments where security measures would
an essential part of streaming media. [4]
block RTMP.
RTMP (secure) – This protocol uses a secure SSL The handshake can be divided into four stages. Initially
connection using HTTPs both server and client are initialized and the protocol
RTMP (Encrypted) - RTMP with encryption is a version is sent during this stage. After the uninitialized
new encrypted protocol for securing the stream state both server and client sent the version of RTMP to
data between server and client. It is lightweight each other and are now in the version state. After the
then SSL. version state both client and server send
RTMP (Tunnel encrypted) –It is an enhance acknowledgment to each other and thus handshake has
version which encrypt the communication been done and can exchange messages.
channel over HTTP. The key benefits over SSL
B. Chunking
(RTMPS) are performance, ease of
implementation, and limited impact on server Chunking allows large messages to be broken into
capacity. multiple small messages. In addition it also allows small
RTMP (Real-time media flow control) – this is messages to be sent over less overhead. Each chunk
based on the user datagram protocol. It supports carries message of one type of one stream. While
sending data from one flash player to another transmitting each chunk must be sent in full before the
directly without sending it to the server; however next at the receiving end chunks are assembled into
a server side connection will always be required message based on the chunk id. The figure below
to establish a connection between end user. shows RTMP chunk format.
X. CONCLUSION
In this report we introduced in details how the RTMP
protocol works, what are its different classifications,
how its message format look like and what are the
functions of some of its important command messages.
In addition to that we also described some of the basic
difference between RTMP and HTTP. Our analyses show
that RTMP is currently the most efficient protocol for
delivering videos on the internet among competing
technologies of media delivery. In addition to that
RTMP offers several advantages over regular HTTP
video download. RTMP can do live streaming - people
can watch your video while it is being recorded, RTMP
provide much more enhance functionality for streaming
and on demand media, furthermore video delivered
over RTMP are much more secure than videos delivered
over regular HTTP.