Axis Communications Version 3 Stereo Receiver User Manual


 
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.
Send a request with Require and RenewStream:yes in the header.
Request:
SET_PARAMETER rtsp://myserver/axis-media/media.amp RTSP/1.0
CSeq: 7
Session: 12345678
Require: com.axis.parameters-in-header
RenewStream: yes
If the request is successful (response 200 OK), the stream is renewed. Else, the Axis product responds with 551 Option not
supported (below) and RenewStream should be sent in the body.
Response:
RTSP/1.0 551 Option not supported
CSeq: 7
Session: 12345678
Unsupported: com.axis.parameters-in-header
Date: Wed, 16 Jul 2008 13:01:24 GMT
Send a second request with RenewStream:yes in the body.
Request:
SET_PARAMETER rtsp://myserver/axis-media/media.amp RTSP/1.0
CSeq: 8
Session: 12345678
Content-Type: text/parameters
Content-Length: 19
Renew-Stream: yes
Successful response.
Response:
RTSP/1.0 200 OK
CSeq: 8
Session: 12345678
Date: Wed, 16 Jul 2008 13:01:25 GMT
3.3 RTSP Over HTTP
RTSP can be tunnelled over HTTP. This might prove necessary in order to pass rewalls etc. To tunnel RTSP over HTTP, two sessions
are set up; one GET (for command replies and stream data) and one POST (for commands). RTSP commands sent on the POST
connection are base64 encoded, but the replies on the GET connection are in plain text. To bind the two sessions together the
Axis product needs a unique ID (conveyed in the x-sessioncookie header). The GET and POST requests are accepted on both the
HTTP port (default 80) and the RTSP server port (default 554).
Note
For further information information see http://developer.apple.com/quicktime/iceoe/dispatch028.html
Syntax:
http://<servername>/axis-media/media.amp
Supported methods are GET and POST.
22