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.
3.2.8.1 RTSP PAUSE On Live Stream
If PAUSE is requested during live streaming the data transmission will stop immediately. If PLAY later is requested the live steam
starts on the latest sampled frame. That means that the client will lose the video during the time that the stream has been paused.
The client is notied in the Range header which interval that will be streamed.
3.2.9 RTSP TEARDOWN
The TEARDOWN request is used to close the data delivery from the Axis product.
Example 9:
Request:
TEARDOWN rtsp://myserver/axis-media/media.amp
?videocodec=h264&resolution=640x480 RTSP/1.0
CSeq: 6
User-Agent: Axis AMC
Session: 12345678
Response:
RTSP/1.0 200 OK
CSeq: 6
Session: 12345678
Date: Wed, 16 Jul 2008 12:49:01 GMT
3.2.10 RTSP SET_PARAMETER
The SET_PARAMETER command is used to change session parameters, currently only I-frame request is supported. The command
sets the Renew-Stream parameter to yes.
Note
Renew-Stream must be sent in the body. The corresponding Renew-Stream parameter in some rmware 4.xx products
had to be sent in the header. See example 2 below.
Example 10:
Use of SET_PARAMETER in rmware 5.xx products. Renew-Stream is sent in the body.
Request:
SET_PARAMETER rtsp://myserver/axis-media/media.amp RTSP/1.0
CSeq: 7
Session: 12345678
Content-Type: text/parameters
Content-Length: 19
Renew-Stream: yes
Response:
RTSP/1.0 200 OK
CSeq: 7
Session: 12345678
Date: Wed, 16 Jul 2008 13:01:25 GMT
Example 11:
In some older Axis products, I-frames were requested using RenewStream:yes in the header. To nd out whether Renew-Stream
should be sent in the header or the body, the following method is recommended.
21