Real Time Streaming Protocol

Real Time Streaming Protocol

The Real Time Streaming Protocol (RTSP), developed by the IETF and created in 1998 as RFC 2326, is a protocol for use in streaming media systems which allows a client to remotely control a streaming media server, issuing VCR-like commands such as "play" and "pause", and allowing time-based access to files on a server.

The sending of streaming data itself is not part of the RTSP protocol. Most RTSP servers use the standards-based RTP as the transport protocol for the actual audio/video data, acting somewhat as a metadata channel. The RTSP server from RealNetworks also features Real's proprietary RDT as the transport protocol.

Clients

* GStreamer
* Media Player Classic
* [http://www.mpeg4ip.net/ MPEG4IP]
* MPlayer
* QuickTime
* RealPlayer
* Skype
* VLC media player
* Winamp
* Windows Media Player
* Xine

RTSP commands

The protocol is similar in syntax and operation to HTTP but RTSP adds new requests. While HTTP is stateless, RTSP is a stateful protocol. A session ID is used to keep track of sessions when needed. This way, no permanent TCP connection is needed. RTSP messages are sent from client to server, although some exceptions exist where the server will send to the client. Below are the basic RTSP requests. A number of typical HTTP requests, like an OPTION request, are also frequently used. The default port is 554.

DESCRIBE

A DESCRIBE request includes an RTSP URL (rtsp://...), and the type of reply data that can be handled. The default port for the RTSP protocol is 554 for both UDP and TCP transports.

This reply includes the presentation description, typically in SDP format.Among other things, the presentation description lists the media streams controlled with the aggregate URL. In the typical case, there is one media stream for audio and one for video.

ETUP

A SETUP request specifies how a single media stream must be transported. This must be done before a PLAY request is sent.

The request contains the media stream URL and a transport specifier. This specifier typically includes a local port for receiving RTP data (audio or video), and another for RTCP data (meta information).

The server reply usually confirms the chosen parameters, and fills in the missing parts, such as the server's chosen ports.Each media stream must be configured using SETUP before an aggregate play request may be sent.

PLAY

A PLAY request will cause one or all media streams to be played. Play requests can be stacked by sending multiple PLAY requests.

The URL may be the aggregate URL (to play all media streams), or a single media stream URL (to play only that stream). A range can be specified. If no range is specified, the stream is played from the beginning and plays to the end, or, if the stream is paused, it is resumed at the point it was paused.

PAUSE

A PAUSE request temporarily halts one or all media streams, so it can later be resumed with a PLAY request.

The request contains an aggregate or media stream URL. When to pause can be specified with a range parameter. The range parameter can be left out to pause immediately.

RECORD

The RECORD request can be used to send a stream to the server for storage.

TEARDOWN

A TEARDOWN request is used to terminate the session. It stops all media streams and frees all session related data on the server.

erver implementations

* QuickTime Streaming Server: Apple's closed-source streaming server that ships with Mac OS X Server
* Darwin Streaming Server: Open-sourced version of Quicktime Streaming Server maintained by Apple
* pvServer: Formerly called PacketVideo Streaming Server, this is Alcatel-Lucent's streaming server product.
* Helix DNA Server: RealNetworks' streaming server. Comes in both open-source and proprietary flavors.
* Live555: Open source C++ server and client libraries used in well known clients like VLC and mplayer.
* VideoLAN: Open source media player and streaming server
* Windows Media Services: Microsoft's streaming server included with Windows Server.
* VX30: Streaming video server and embedded JAVA client from Maui X-Stream.

ee also

* Real-time Transport Protocol (RTP)
* Fusion RTSP solution for embedded systems, e.g. IPTV, internet TV and mobile internet devices.

External links

* [http://www.rtsp.org RTSP.org] , a central information repository about RTSP.
* RFC 2326, Real Time Streaming Protocol (RTSP).
* RFC 3550, RTP: A Transport Protocol for Real-Time Applications.
* [http://developer.apple.com/documentation/QuickTime/QTSS/Concepts/chapter_2_section_14.html Tunneling RTSP and RTP Over HTTP] A standard solution to help RTSP work through firewalls and web proxies
* [http://www.streamcoders.com/products/rtpavsource.html RTSP/RTP Filter for Directshow]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Real-Time Streaming Protocol — RTSP im TCP/IP‑Protokollstapel: Anwendung RTSP Transport UDP TCP Internet IP (IPv4, IPv6) Netzzugang Ethernet …   Deutsch Wikipedia

  • Real Time Streaming Protocol — Pile de protocoles 7.  Application 6.  Présentation 5.  Session 4.  Tran …   Wikipédia en Français

  • Real-time Transport Protocol — RTP (Real Time Transport Protocol) Familie: Netzwerkprotokoll Einsatzgebiet: Transport von Medien Streams Port: beliebiger freier, gerader Port größer 1024 RTP im TCP/IP‑Protokollstapel: Anwendung RTP Transport UDP …   Deutsch Wikipedia

  • Real Time Transport Protocol — RTP (Real Time Transport Protocol) Familie: Netzwerkprotokoll Einsatzgebiet: Transport von Medien Streams Port: beliebiger freier, gerader Port größer 1024 RTP im TCP/IP‑Protokollstapel: Anwendung RTP Transport UDP …   Deutsch Wikipedia

  • Real-time Transport Protocol — The Real time Transport Protocol (or RTP) defines a standardized packet format for delivering audio and video over the Internet. It was developed by the Audio Video Transport Working Group of the IETF and first published in 1996 as RFC 1889 which …   Wikipedia

  • Real-Time Control Protocol — Das RealTime Control Protocol (RTCP) dient der Aushandlung und Einhaltung von Quality of Service (QoS) Parametern durch den periodischen Austausch von Steuernachrichten zwischen Sender und Empfänger. Dazu erfolgt eine Rückmeldung der bisher… …   Deutsch Wikipedia

  • Real Time Control Protocol — Das RealTime Control Protocol (RTCP) dient der Aushandlung und Einhaltung von Quality of Service (QoS) Parametern durch den periodischen Austausch von Steuernachrichten zwischen Sender und Empfänger. Dazu erfolgt eine Rückmeldung der bisher… …   Deutsch Wikipedia

  • Real-Time Transport Protocol — RTP (Real Time Transport Protocol) Familie: Netzwerkprotokoll Einsatzgebiet: Transport von Medien Streams Port: beliebiger freier, gerader Port größer 1024 RTP im TCP/IP‑Protokollstapel: Anwendung RTP Transport …   Deutsch Wikipedia

  • Real time control protocol — Real time Transport Control Protocol (RTCP) is a sister protocol of the Real time Transport Protocol (RTP). It is defined in RFC 3550 (which supersedes RFC 1889).RTCP provides out of band control information for an RTP flow. It partners RTP in… …   Wikipedia

  • Real-time Transport Protocol — Saltar a navegación, búsqueda RTP son las siglas de Real time Transport Protocol (Protocolo de Transporte de Tiempo real). Es un protocolo de nivel de sesión utilizado para la transmisión de información en tiempo real, como por ejemplo audio y… …   Wikipedia Español

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”