Specifications
VideoStreamingAPI
ThisdocumentiscopyrightprotectedandisthepropertyofAxisCommunicationsABandmaynotbecopied,reproducedordistributedinanywaywithout
thepriorwrittenconsentofAxisCommunicationsAB.
3.2.8.1RTSPPAUSEOnLiveStream
IfPAUSEisrequestedduringlivestreamingthedatatransmissionwillstopimmediately.IfPLAYlaterisrequestedthelivesteam
startsonthelatestsampledframe.Thatmeansthattheclientwilllosethevideoduringthetimethatthestreamhasbeenpaused.
TheclientisnotiedintheRangeheaderwhichintervalthatwillbestreamed.
3.2.9RTSPTEARDOWN
TheTEARDOWNrequestisusedtoclosethedatadeliveryfromtheAxisproduct.
Example9:
Request:
TEARDOWNrtsp://myserver/axis-media/media.amp
?videocodec=h264&resolution=640x480RTSP/1.0
CSeq:6
User-Agent:AxisAMC
Session:12345678
Response:
RTSP/1.0200OK
CSeq:6
Session:12345678
Date:Wed,16Jul200812:49:01GMT
3.2.10RTSPSET_PARAMETER
TheSET_PARAMETERcommandisusedtochangesessionparameters,currentlyonlyI-framerequestissupported.Thecommand
setstheRenew-Streamparametertoyes.
Note
Renew-Streammustbesentinthebody.ThecorrespondingRenew-Streamparameterinsomermware4.xxproducts
hadtobesentintheheader.Seeexample2below.
Example10:
UseofSET_PARAMETERinrmware5.xxproducts.Renew-Streamissentinthebody.
Request:
SET_PARAMETERrtsp://myserver/axis-media/media.ampRTSP/1.0
CSeq:7
Session:12345678
Content-Type:text/parameters
Content-Length:19
Renew-Stream:yes
Response:
RTSP/1.0200OK
CSeq:7
Session:12345678
Date:Wed,16Jul200813:01:25GMT
Example11:
InsomeolderAxisproducts,I-frameswererequestedusingRenewStream:yesintheheader.TondoutwhetherRenew-Stream
shouldbesentintheheaderorthebody,thefollowingmethodisrecommended.
21