Beruflich Dokumente
Kultur Dokumente
Technical Description
Contents
1
Introduction
RTSP Support
2.1
DESCRIBE Request
2.2
SETUP Request
2.3
PLAY Request
2.4
TEARDOWN Request
2.5
SDP Support
3.1
3.1.1
3.1.2
Time Description
3.1.3
Media Description
Supported Codecs
5.1
5.2
Introduction
This document describes the workings of the video streaming client that is part of the TEMS
Investigation software.
RTSP Support
The Real Time Streaming Protocol (RTSP) is a network control protocol for controlling
streaming media servers in entertainment and communications systems. RTSP is used to
establish and control media sessions between endpoints. RTSP does not transport the
media itself; that is the task of another protocol called Realtime Transport Protocol (RTP).
Below are listed all RTSP requests supported by the TEMS Investigation video streaming
client.
2.1
DESCRIBE Request
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.
The reply includes the presentation description, which is typically in Session Description
Protocol (SDP) format (see chapter 3).
2.2
SETUP Request
A SETUP request specifies how a single media stream is to be transported. This must be
done before a PLAY request is sent. The request contains the media stream URL and a
transport specifier. The specifier typically includes a local port for receiving RTP data (audio
or video) and another local port for RTCP data (meta information). The server reply usually
confirms the chosen parameters and fills in the missing information, such as the servers
chosen ports.
2.3
PLAY Request
2.4
TEARDOWN Request
A TEARDOWN request is used to terminate the session. It stops all media streams and frees
all session related data on the server.
2.5
Depicted below is an example of how the TEMS Investigation streaming client communicates
with a streaming server using RTSP requests.
Streaming Server
Describe rtsp://x.x.x.x/VideoClip.3gp
Reply with SDP (Session Description Protocol) Info
Setup rtsp://x.x.x.x/VideoClip.3gp/VideoIdentifier
Reply
Setup rtsp://x.x.x.x/VideoClip.3gp/AudioIdentifier
Reply
Play rtsp://x.x.x.x/VideoClip.3gp
Reply
RTP data with video and audio
Teardown rtsp://x.x.x.x/VideoClip.3gp
Reply
SDP Support
3.1
The syntax of SDP is designed to be extensible to allow introduction of new media types and
formats. New attributes are therefore occasionally added to the standard. What SDP
commands are currently supported by the TEMS Investigation video streaming client
appears from the tables that follow.
An SDP session is described by a series of attribute/value pairs, one per line. Each attribute
name is a single character, followed by = and a value. Attribute names are unique only
within the associated syntactic construct, i.e. only within one of Session, Time, or Media.
3.1.1
Tag
Optional
Mandatory
v = protocol version
o = owner/session id
s = session name
u = URI of description
e = e-mail address
c = connection
b = bandwidth info
p = phone number
z = time zone
k = encryption key
3.1.1.1
Session Attributes
Attribute Name
Description
Range
3.1.2
Time Description
Tag
Optional
r = repeat time
3.1.3
Media Description
Tag
Optional
Mandatory
3.1.3.1
Mandatory
Media Attributes
Attribute Name
Description
control
Media identifier
framesize
Size of frame
fmtp
Format-specific parameters
height
Height of frame
width
Width of frame
Attribute Name
Description
rtpmap
CIF (Common Intermediate Format) is a standard video format used in video conferencing. It
defines the horizontal and vertical resolutions in pixels.
The following video formats are the ones currently supported by the TEMS Investigation
video streaming client:
Format
Resolution
352 288
176 144
128 96
320 240
Supported Codecs
5.1
The following audio codecs are currently supported by the TEMS Investigation video
streaming client:
AMR NB
AAC
5.2
The following video codecs are currently supported by the TEMS Investigation video
streaming client:
H.263
H.264
MPEG4