Video Streaming API
This document is copyright protected and is the property of Axis Communications AB and may not be copied, reproduced or distributed in any way without
the prior written consent of Axis Communications AB.
Request:
http://myserver/axis-cgi/mjpg/video.cgi?&streamprofile=myprofile
5.5 RTSP Request
Saved stream proles are also convenient when requesting video streams using RTSP. The value of a parameter saved in the stream
prole can be overridden in the RTSP request by specifying a new value after the streamprole argument.
Syntax:
COMMAND rtsp://<servername>/axis-media/media.amp
?<argument>=<value>[&<argument>=<value>...] RTSP/1.0
Headerfield1: val1<CRLF>
Headerfield2: val1<CRLF>
...
<CRLF>
[Body]
With the following arguments:
Argument Valid values Description
streamprofile=<string>
Name of stream prole
The nameof the streamprole. Supported
stream prole names are stored in the
StreamProfile.S#.Name
parameters.
Additional arguments
See page 23 for a complete list.
Example 6:
Stream proles in RTSP requests. The value of a parameter saved in the stream prole can be overridden by specifying a new
parameter value after streamprofile. Here, myprofile2 (dened above) is used but the resolution is changed to 640x480.
Request:
DESCRIBE rtsp://myserver/axis-media/media.amp?
streamprofile=myprofile2&resolution=640x480 RTSP/1.0
CSeq: 0
User-Agent: Axis AMC
Accept: application/sdp
31