RTP over HTTP Overview

A triplet of communication protocols have been setup to allow streaming of nearly any type of content to one or multiple recipients.

These protocols are:

RTSP describes a TCP-based streaming mod. RTSP is mandated to manage the streaming session. This is the protocol that allows to PLAY, PAUSE, STOP : just what you generally expect from a remote control. Stream descriptions exchanged using RTSP are done using stream description language called SDP (session description protocol).

Although RTSP name contains " streaming ", it is not RTSP that "streams" the data to the customer. RTP is the protocol used to transport the multimedia stream to the client. Because multimedia is inherently real-time and in real-time systems after-time is no more the time, RTP is build upon UDP.

Using UDP, RTP send a packet to the network but cannot warrant that the packet will reach its destination, so RTP adds information in front of the content it encapsulates so that the recipient can check whereas a packet have been lost or have been transmitted in the wrong order. The multimedia content transported by a RTP packet is called the payload.

Some payloads format are well known and as such have been allocated a legacy (static) payload identifier. This includes audio payloads such as G.721, G.722, GSM or video payloads such as JPEG or H.261. These legacy formats doesn’t require a complex description in SDP. Other A/V formats fall into the case of dynamic payload identifier and require a more complex description in the SDP packet.

The last protocol, RTCP is used to monitor the session. It is mainly used to feed the streaming server with reception statistics from the client. The server may then decide to use these statistics (such as the numbers of lost packets, the delay from reception, …) to adapt its strategy.

The diagram below shows an overview of the relations between protocols:

RTSP session control is interleaved with RTP data packets and RTCP control packets.

Tunneling RTSP and RTP via HTTP can be used to pass a firewall located between the camera/video server and the client.

 

QuickTime supports streaming over RTP and HTTP. The main advantages of streaming over RTP are:

The main advantages of streaming over HTTP are:

 

RTSP, the Real-Time Streaming Protocol, is a client-server multimedia protocol. This protocol can control the stream data delivered over IP networks and allows to PLAY, PAUSE, STOP : just what you generally expect from a remote control. RTSP is a protocol of application layer. Some RTSP servers use RTP RTP as the transport protocol for the actual audio/video data.

RTSP properties

 

RTSP is intentionally similar in structure and syntax to HTTP 1.1, epsecially on delivering streaming data. However, it differs in a number of important aspects from HTTP:

雖然大多數實時媒体采用RTP作為傳輸協議,但RTSP并不綁定定RTP。 重用HTTP的功能至少在??方面有好?:安全和代理。由于要求非常接近,因此在?存、代理和授?上 采用HTTP功能是有价值的。