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.
The response returns a session identier that should be used together with the stream control commands (for example PLAY,
PAUSE and TEARDOWN). If the session header includes the timeout parameter, the session will close after the timeout time unless
explicitly kept alive. Session can be kept alive by sending RTSP requests to the Axis product containing the session identier (for
example OPTIONS, see 3.2.5 RTSP OPTIONS) within the timeout time or by using RTCP messages. Reconguration of transport
parameters is not supported.
Example 4:
The response to the rst SETUP request returns the session identier (Session) which is used in subsequent requests. The parameter
trackID should be read from DESCRIBE and used in SETUP.
Request:
SETUP rtsp://myserver/axis-media/media.amp/
trackID=1?videocodec=h264&resolution=640x480 RTSP/1.0
CSeq: 2
User-Agent: Axis AMC
Transport: RTP/AVP;unicast;client_port=20000-20001
Response:
RTSP/1.0 200 OK
CSeq: 2
Session: 12345678; timeout=60
Transport: RTP/AVP;unicast;client_port=20000-20001;
server_port=50000-50001;ssrc=B0BA7855;mode="PLAY"
Date: Wed, 16 Jul 2008 12:48:47 GMT
Example 5:
Request:
SETUP rtsp:///myserver//axis-media/media.amp/
trackID=2?videocodec=h264&resolution=640x480 RTSP/1.0
CSeq: 3
User-Agent: Axis AMC
Transport: RTP/AVP;unicast;client_port=20002-20003
Session: 12345678
Response:
RTSP/1.0 200 OK
CSeq: 3
Session: 12345678; timeout=60
Transport: RTP/AVP;unicast;client_port=20002-20003;
server_port=50002-50003;ssrc=D7EB59C0;mode="PLAY"
Date: Wed, 16 Jul 2008 12:48:48 GMT
3.2.7 RTSP PLAY
The PLAY request starts (or restarts if paused) the data delivery to the client.
Note
When playing Motion JPEG via RTSP there is a resolution limit of 2040x2040 pixels.
The response to the PLAY command contains the additional header elds:
19