VideoStreamingAPI
ThisdocumentiscopyrightprotectedandisthepropertyofAxisCommunicationsABandmaynotbecopied,reproducedordistributedinanywaywithout
thepriorwrittenconsentofAxisCommunicationsAB.
SendarequestwithRequireandRenewStream:yesintheheader.
Request:
SET_PARAMETERrtsp://myserver/axis-media/media.ampRTSP/1.0
CSeq:7
Session:12345678
Require:com.axis.parameters-in-header
RenewStream:yes
Iftherequestissuccessful(response200OK),thestreamisrenewed.Else,theAxisproductrespondswith551Optionnot
supported(below)andRenewStreamshouldbesentinthebody.
Response:
RTSP/1.0551Optionnotsupported
CSeq:7
Session:12345678
Unsupported:com.axis.parameters-in-header
Date:Wed,16Jul200813:01:24GMT
SendasecondrequestwithRenewStream:yesinthebody.
Request:
SET_PARAMETERrtsp://myserver/axis-media/media.ampRTSP/1.0
CSeq:8
Session:12345678
Content-Type:text/parameters
Content-Length:19
Renew-Stream:yes
Successfulresponse.
Response:
RTSP/1.0200OK
CSeq:8
Session:12345678
Date:Wed,16Jul200813:01:25GMT

3.3RTSPOverHTTP

RTSPcanbetunnelledoverHTTP.Thismightprovenecessaryinordertopassrewallsetc.TotunnelRTSPoverHTTP,twosessions
aresetup;oneGET(forcommandrepliesandstreamdata)andonePOST(forcommands).RTSPcommandssentonthePOST
connectionarebase64encoded,buttherepliesontheGETconnectionareinplaintext.Tobindthetwosessionstogetherthe
AxisproductneedsauniqueID(conveyedinthex-sessioncookieheader).TheGETandPOSTrequestsareacceptedonboththe
HTTPport(default80)andtheRTSPserverport(default554).
Note
Forfurtherinformationinformationseehttp://developer.apple.com/quicktime/iceoe/dispatch028.html
Syntax:
http://<servername>/axis-media/media.amp
SupportedmethodsareGETandPOST.
22