5
Stream media via RTSP
The easiest way to extract a video or audio stream from the BC840-MC is to use the Real-
Time Streaming Protocol (RTSP). This chapter explains the role of the BC840-MC in RTSP
media sessions and describes how to open a media stream from the unit in a video player
plug-in.
In This Chapter
5.1
RTSP and RTP
The BC840-MC implements an RTSP server. A hardware or software decoder (the latter within
a viewing application, for example) is the RTSP client. Media sessions between client and
server are established and controlled with RTSP. Media stream delivery itself is handled by the
Real-Time Transport Protocol (RTP). The BC840-MC supports video and audio streaming via
UDP and TCP.
Use the following URL format to get a video stream into, for example, VLC or QuickTime.
rtsp:// <IP address of encoder>:<RTSP Port>/VideoInput/<x>/<y>/<z>
where:
<x> is the number of the Video Input
<y> is the media type of the required encoder
<z> is the encoder number
Note: The <RTSP Port> is optional. If not entered, port 554 is used by default.
Note: The encoder number index <z> in the URL only takes enabled encoders into account,
with the encoder mode set to the indicated media type <y> (RTSP is a streaming protocol
which takes care of stream control; it does not handle device configuration).
The stream in the following figure will be pulled from the unit with the IP address
172.22.250.131, using Video Input 1 and the first enabled H.264 encoder.
RTSP URL format
19