All Topics  
Real Time Streaming Protocol

 

   Email Print
   Bookmark   Link






 

Real Time Streaming Protocol



 
 
The Real Time Streaming Protocol (RTSP), developed by the IETF
Internet Engineering Task Force

The Internet Engineering Task Force develops and promotes Internet standards, cooperating closely with the World Wide Web Consortium and International Organization for Standardization/International Electrotechnical Commission standard bodies and dealing in particular with standards of the TCP/IP and Internet protocol suite....
 and created in 1998 as RFC 2326, is a protocol
Communications protocol

In the field of telecommunications, a communications protocol is the set of standard rules for data representation, Signalling , authentication and Error detection and correction required to send information over a communications channel....
 for use in streaming media
Streaming media

Streaming media is multimedia that is constantly received by, and normally presented to, an End-user while it is being delivered by a streaming provider ....
 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.






Discussion
Ask a question about 'Real Time Streaming Protocol'
Start a new discussion about 'Real Time Streaming Protocol'
Answer questions from other users
Full Discussion Forum



Encyclopedia


The Real Time Streaming Protocol (RTSP), developed by the IETF
Internet Engineering Task Force

The Internet Engineering Task Force develops and promotes Internet standards, cooperating closely with the World Wide Web Consortium and International Organization for Standardization/International Electrotechnical Commission standard bodies and dealing in particular with standards of the TCP/IP and Internet protocol suite....
 and created in 1998 as RFC 2326, is a protocol
Communications protocol

In the field of telecommunications, a communications protocol is the set of standard rules for data representation, Signalling , authentication and Error detection and correction required to send information over a communications channel....
 for use in streaming media
Streaming media

Streaming media is multimedia that is constantly received by, and normally presented to, an End-user while it is being delivered by a streaming provider ....
 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
Real-time Transport Protocol

The Real-time Transport Protocol 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, and superseded by RFC 3550 in 2003....
 as the transport protocol for the actual audio/video data, acting somewhat as a metadata channel. The RTSP server from RealNetworks
RealNetworks

RealNetworks is a provider of Internet mass media delivery software and services based in Seattle, Washington, Washington, United States. The company is best known for the creation of RealAudio, a compressed audio format, RealVideo, a compressed video format and RealPlayer, a media player....
 also features RealNetworks
RealNetworks

RealNetworks is a provider of Internet mass media delivery software and services based in Seattle, Washington, Washington, United States. The company is best known for the creation of RealAudio, a compressed audio format, RealVideo, a compressed video format and RealPlayer, a media player....
' proprietary RDT
RDT stream transport

Real Data Transport is a proprietary transport protocol for the actual audio/video data, developed by RealNetworks in the 1990s.Commonly used in companion with a control protocol for streaming media like the IETF's based Real Time Streaming Protocol protocol....
 as the transport protocol.

Clients

  • GStreamer
    GStreamer

    GStreamer is a Pipeline based multimedia framework written in the C with the type system based on GObject. GStreamer allows a programmer to create a variety of media-handling components, including simple Audio frequency playback, audio and video...
  • Media Player Classic
    Media Player Classic

    Media Player Classic is a compact media player for Microsoft Windows. The application mimics the look and feel of the old, light-weight Windows Media Player 6.4 but integrates most options and features found in modern media players....
  • MPlayer
    MPlayer

    MPlayer is a free software and open source media player . The program is available for all major operating systems, including Linux and other Unix-like systems, Microsoft Windows and Mac OS X....
  • QuickTime
    QuickTime

    QuickTime is a multimedia framework developed by Apple Inc., capable of handling various formats of digital video, media clips, sound, text, animation, music, and QuickTime VRs....
  • RealPlayer
    RealPlayer

    RealPlayer is a Proprietary software cross-platform media player by RealNetworks that plays a number of multimedia formats including MP3, MPEG-4, QuickTime, Windows Media, and multiple versions of Proprietary format RealAudio and RealVideo formats....
  • Skype
    Skype

    Skype is software that allows users to make voice over Internet Protocol. Calls to other users of the service and to free-of-charge numbers are free, while calls to other landlines and mobile phones can be made for a fee....
  • VLC media player
    VLC media player

    VLC media player is an open source, free software media player written by the VideoLAN project.VLC is a portable multimedia player, encoder, and streamer supporting many audio and video codecs and file formats as well as DVDs, Video CD, and various streaming media Communications protocol....
  • Winamp
    Winamp

    Winamp is a proprietary software media player written by Nullsoft, now a subsidiary of Time Warner. It is skin nable, multi-format freeware/shareware....
  • Windows Media Player
    Windows Media Player

    Windows Media Player is a digital media media player and media library application developed by Microsoft that is used for playing sound reproduction, video and viewing s on personal computers running the Microsoft Windows operating system, as well as on Pocket PC and Windows Mobile-based devices....
  • Xine
    Xine

    xine is a multimedia playback engine for Unix-like operating systems released under the GNU General Public License. xine is built around a shared library that supports different frontend player applications....
  • MythTV
    MythTV

    MythTV is a free software Linux application which turns a computer with the necessary hardware into a Computer_network Streaming_media digital video recorder, a digital multimedia home entertainment system, or HTPC....
     via Freebox


RTSP commands

The protocol is similar in syntax and operation to HTTP, but RTSP adds new requests. While HTTP is stateless
Stateless server

A stateless server is a server that treats each request as an independent transaction that is unrelated to any previous request....
, 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
Uniform Resource Locator

In Information technology, a Uniform Resource Locator is a type of Uniform Resource Identifier that specifies where an identified resource is available and the mechanism for retrieving it....
 (rtsp://...), and the type of reply data that can be handled. The default port for the RTSP protocol is 554 for both UDP
User Datagram Protocol

The User Datagram Protocol is one of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer applications can send messages, sometimes known as datagram, to other hosts on an Internet Protocol network without requiring prior communications to set up special transmission cha...
 and TCP
Transmission Control Protocol

The Transmission Control Protocol is one of the core protocols of the Internet Protocol Suite. TCP is so central that the entire suite is often referred to as "TCP/IP"....
 transports. This reply includes the presentation description, typically in SDP
Session Description Protocol

Session Description Protocol is a format for describing streaming media initialization parameters in an ASCII string. The IETF published the original specification as an Internet Standard in April 1998, and subsequently published a revised specification as an IETF Proposed Standard as RFC 4566 in July 2006....
 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 video


SETUP
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
Real-time Transport Protocol

The Real-time Transport Protocol 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, and superseded by RFC 3550 in 2003....
 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.


Server implementations

  • QuickTime Streaming Server
    QuickTime Streaming Server

    QuickTime Streaming Server is a Server or service Daemon built into Apple Inc. Mac OS X Server that delivers video and sound reproduction on request to users over a computer network, including the Internet....
    : Apple's closed-source streaming server that ships with Mac OS X Server
  • Darwin Streaming Server
    Darwin Streaming Server

    Darwin Streaming Server , is the first open sourced Real-time Transport Protocol/Real Time Streaming Protocol streaming server. It was released March 16, 1999 and is a fully featured Real Time Streaming Protocol/Real-time Transport Protocol media streaming server capable of streaming a variety of media types including H.264/MPEG-4 AVC, MPEG-...
    : Open-sourced version of Quicktime Streaming Server maintained by Apple
  • pvServer
    Pvserver

    pvServer is a 3GPP/2 standards compliant multimedia server that provides streaming and broadcast services to mobile devices. pvServer is developed by PacketVideo Network Solutions , a wholly owned company of Alcatel-Lucent....
    : Formerly called PacketVideo Streaming Server, this is Alcatel-Lucent's streaming server product.
  • Helix DNA Server: RealNetworks
    RealNetworks

    RealNetworks is a provider of Internet mass media delivery software and services based in Seattle, Washington, Washington, United States. The company is best known for the creation of RealAudio, a compressed audio format, RealVideo, a compressed video format and RealPlayer, a media player....
    ' streaming server. Comes in both open-source and proprietary flavors.
  • Live555: Open source C++
    C++

    C++ is a general-purpose programming language. It is regarded as a middle-level language, as it comprises a combination of both high-level programming language and low-level programming language language features....
     server and client libraries used in well known clients like VLC
    VLC

    VLC may refer to:* Valencia Airport , an airport in Spain* Variable-length code, in coding theory, where each symbol is encoded to a variable number of bits...
     and mplayer
    MPlayer

    MPlayer is a free software and open source media player . The program is available for all major operating systems, including Linux and other Unix-like systems, Microsoft Windows and Mac OS X....
    .
  • VideoLAN
    VideoLAN

    VideoLAN is a project that software development for playing video and other media formats. It originally developed two computer program for media streaming?VLC media player and VideoLAN Server ?but most of the features of VLS have been incorporated in to VLC, with the result renamed VLC media player....
    : Open source media player and streaming server
  • Windows Media Services
    Windows Media Services

    Windows Media Services is a Streaming media media server from Microsoft that allows an administrator to generate streaming media . Only Windows Media, JPEG, and MP3 formats are supported....
    : Microsoft's streaming server included with Windows Server
    Windows Server

    Windows Server is a brand name for server operating systems released by Microsoft Corporation. This name has been used for the following software releases:...
    .
  • VX30: Streaming video server and embedded JAVA client from Maui X-Stream.


See also

  • Real-time Transport Protocol
    Real-time Transport Protocol

    The Real-time Transport Protocol 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, and superseded by RFC 3550 in 2003....
     (RTP)
  • Fusion RTSP
    Fusion RTSP

    The Fusion Real-Time Streaming Protocol is the source code implementation of RFC 2326 for embedded devices.RTSP serves as both a control protocol and a jumping off point for negotiating transports, such as Real-time Transport Protocol, multicast and unicast, and negotiating codecs from servers independent of file format....
     solution for embedded systems, e.g. IPTV
    IPTV

    IPTV is a system where a digital television service is delivered using Internet Protocol over a network infrastructure, which may include delivery by a broadband connection....
    , internet TV and mobile internet devices.


External links

  • , a central information repository about RTSP.
  • RFC 2326, Real Time Streaming Protocol (RTSP).
  • RFC 3550, RTP: A Transport Protocol for Real-Time Applications.
  • A standard solution to help RTSP work through firewalls and web proxies